Arduino FM Radio project with a Nokia 5110 display and TEA5767 module.

Arduino FM Radio project with a Nokia 5110 display and TEA5767 module.


Dear friends welcome to another Arduino project
video! In this video, we are going to build an improved
version of the Arduino FM radio project. There is a lot to cover so let’s get started! Hello, guys, I am Nick and welcome to educ8s.tv
a channel that is all about DIY electronics projects. In this channel, I share everything about
the projects I build to help you develop similar projects or inspire you to start making things
because it is easy, fun and creative. Subscribe to the channel now if you do not
want to miss any future video. A few months back I built my first FM radio
project on a breadboard using the TEA5767 FM radio module. The project works great, but it has some issues. You can watch that project video by clicking
on the card here. As you can see I have built a new, improved
version of the FM radio project, which resolves the issues we had in the previous version
of the project. The sound quality the project now offers is
much better, and it has some new features as well. But first, let’s hear it play a YouTube
safe song I am broadcasting using this small FM transmitter……. The sound quality is very good in my opinion
if we take into consideration that we are using a very inexpensive speaker and amplifier. I replaced the LM386 amplifier module with
the PAM8403, and I noticed a huge improvement in the sound quality. The amplifier module offers an embedded potentiometer
to control the sound output, so we need one part less. I also replaced the potentiometer I was using
to change the frequency of the Radio receiver with a rotary encoder. This way, the frequency the radio receiver
is set is stable, and we also gain a button. I am using the rotary encoder button to turn
the backlight of the display on or off. Another feature I added is that if we leave
the Radio Receiver at the same frequency for more than 5 minutes, it will automatically
save that frequency to the Arduino EEPROM memory. So, the next time we power up the project,
the radio will automatically tune in to the frequency we were listening before. Cool isn’t it? In addition to that, I changed the way the
information is displayed on the Nokia 5110 LCD. I have loaded a custom Art Deco style font
to display the frequency, and I removed some information from it because I wanted it to
look clean. I will publish video soon to show you how
to load any font you like to the Nokia 5110 display; it is so cool! Now let’s see the parts needed in order
to build this project. The parts needed are the following:
• An Arduino Nano • A TEA5767 FM Radio module
• A Nokia 5110 LCD display • A rotary encoder
• A PAM8403 Amplifier module with an embedded potentiometer
• A small 3W speaker • A breadboard
• Some wires The total cost of the project is around 20$. You can find links to all the parts I am using
in the description of the video below. Before attempting to build this project, be
sure to watch the video of the first FM radio project. It will help you better understand this, more
advanced project. Now, all we have to do is to connect all the
parts together according to this schematic diagram. You can find a link to the schematic diagram
in the description of the video below. The amplifier module has two audio inputs
and two audio outputs. We connect the sound output of the FM radio
module to the amplifier module and the output of the amplifier module to the speakers. In this project, I am using only one speaker,
so I am going to connect only the right channel of the sound output of the radio module to
the right input of the amplifier module. Lastly, the right channel output of the amplifier
module is connected to the speaker. Of course, don’t forget to connect the amplifier
module to power via these pins here. Now that we have connected all the parts let’s
power up the project to see how it works. As you can see, the project welcomes us with
a splash screen for three seconds and then reads from the EEPROM memory the saved frequency
we were using before. The project works fine, the frequency knob
changes the frequency, this potentiometer increases or decreases the volume of the sound
and if we press the button of the rotary encoder, we can enable or disable the backlight of
the display. Let’s now go to the computer to take a quick
look at the software side of the project.As you can see we are using a lot of libraries
in this project. As always you can find links to all the required
libraries in the description below. The code is more complex than most of the
projects we have built so far so I won’t try to explain it in a short video. I tried to make it a simple as possible with
easy to read and to understand functions. The basic idea is this: If the rotary encoder
shaft has changed position and has stayed in the same position for more than 1 second
we need to set that frequency to the FM Radio module. The FM radio module needs around 1 second
to tune in to the new frequency so we can’t change the frequency on each rotary encoder
change because this way, the frequency change will be very slow. When the new frequency is set to the module,
we count how many seconds have passed since the frequency was set. If the time exceeds the 5-minute mark, we
save that frequency to the EEPROM memory. You can find the code of this project in a
link in the description below. Now that the electronics are ready I can complete
this project by 3d printing an enclosure for it and moving the electronics to a small prototyping
board. I have already designed an Art Deco enclosure
for it based on an old Radio. I have already uploaded the files to Thingiverse
so that you can start 3D printing it at once if you wish. I am going to 3D print this enclosure using
wood filament and publish a new video when everything is ready. I would love to hear your opinion about this
FM Radio project. Do you like the improvements I made to it? Also, do you like the enclosure I designed
for it? Please post your comments and ideas in the
comments section below. Also make sure to like this video if you guys
enjoyed it, give me some thumbs up. I really appreciate the support. I spend a lot of time creating these videos
for you guys, to help with your projects. I share everything I know and learn with you. I need any support I can get, it helps me
keep going. If this is your first time here, I would love
to have you subscribed. In this channel, I post videos about DIY projects
twice a month. I love making things, and I believe that anyone
can make things, anyone can become a maker. That’s why I created this channel, to share
my knowledge with the community and learn from the community. I hope you will join us. I will see you in the next video! [ Translating these subtitles? Add your name here! ]