Tea5767 module pdf




















With this potentiometer, we are going to select the frequency. Now we need to connect the Volume potentiometer to able to control the volume. I used an audio cable. I plugged in one end of the cable to the audio output of the module. Next, I cut the other end to find 4 wires inside the cable. The module outputs stereo sound, but we are going to use only one audio channel this time. So, I connect only two of the wires.

One of them is GND, and the other one is the audio signal which needs to be amplified. The audio signal wire goes to the input pin of the volume potentiometer. The middle pin of the potentiometer is the audio signal that comes out. To amplify the audio signal, I use this module which uses the LM amplifier chip. The audio signal goes to this pin, the ground pin from the audio cable goes to this pin. Now, all we have to do is to provide power to the module.

So we connect this pin the positive rail of the breadboard and this pin to the negative rail of the breadboard.

The only thing that we have to do now is to connect a small speaker to the output of the module like this. With this small potentiometer, we can control the amplification of the signal. Now, all we have to do is connect the Nokia display. Please watch my detailed video on how to use the Nokia display to see how to connect it, or follow the schematic. If we now power up the project, we can see that a splash screen is displayed for 3 seconds that and after that, we can hear sound from the speaker.

The sound quality is not the best with this speaker and this audio amplifier. If I use another commercial speaker with an embedded amplifier, the sound quality is perfect. Check it out. So, the output signal from the module is perfect, but the amplifier and the speaker I used reduce the sound quality, so I need to search for better quality ones.

In this project, we use two libraries. The code works like this. At first, we initialize the radio module and the display, and we display a splash screen for three seconds. I designed this splash screen in Photoshop. Watch the video tutorial I have attached if you want to know how to upload your graphics to a Nokia display. Next, in the loop function, we read the value from the potentiometer that controls the frequency every few milliseconds. We get the analog value from the potentiometer, and we map it to a frequency value.

Since we read an analog value this value is not constant; it goes up or down slightly even if we do not turn the potentiometer. So to achieve a stable frequency, we only tune the radio to a different frequency if the frequency has changed considerably. So, if there is a significant shift in the frequency, we tune the radio module to that frequency, we get the signal strength, and we print it on the screen, we print the stereo icon if needed and lastly, we print the selected frequency.

That is how the code works, it is simple but works ok. As always you can find the code of the project attached to this step. As you can see in about half an hour, we can build an FM Radio on a breadboard. How cool is that! You can make your own digital fm radio for your desk with LCD display and speakers, check this project here.

Question 1 year ago on Introduction. I made it but it doesn't go in if Radio. Can someone help? Question 1 year ago. I made it. Frequency,Signal level.. But there is not any sound. I tried to using 3 modules. Please help. Answer 1 year ago. First check - check socket - only one is for head phones Second check - check headphones in another audio source its near impossible that you got 3 broken modules.

Suggested Reading. Step 3: Code. Upload the following code to Arduino. After running the code, you will see the following image in the serial output. Liked What you see? Get updates and learn from the best. More To Explore. Mohammad Damirchi.



0コメント

  • 1000 / 1000