ArduRadio AlarmClock

4,230

47

9

About: Passionate about electronics and Arduino

This is the evolution of the " DIY Alarm Clock " (https://www.instructables.com/id/DIY-Alarm-Clock) with the addition of the radio (TEA 5767)

Navigating the Web I found a beautiful project of an FM radio with Arduino (https://www.instructables.com/id/Make-an-Arduino-FM-Radio-using-TEA5767/#CLPEZERIX0PVJW6), and since I like music I decided to update my "Alarm Clock".

Step 1: COMPONENTS

  • Arduino Uno or Arduino Standalone
  • Philips hue TEA 5767 FM Module for Arduino
  • STMicroelectronics TDA7297 amplifier Dual-Channel AC/DC 12V
  • Real Time Clock (RTC)
  • Display LCD 20 x04 with module I2C
  • Linear Regulator (7805)
  • diode 1N4007
  • Button switch 6
  • LED
  • Resistor 220 ohm
  • Jack Stereo female
  • wires
  • 1 electrical junction boxes 120 x 80 x 50 mm
  • 2 electrical junction boxes 100 x 100 x 50 mm

Step 2: TEA 5767

The "TEA 5767" card, purchased for a few € on Aliexpress, carries out most of the work, is connected to Arduino to pin A4, A5 (protocol I2c) and a Stereo TDA 7297 amplifier.

The TEA 5767 is very small and I had to do a lot of effort to fit a card with a thousand holes

Step 3: Scheme

I took a lot of inspiration from the project "erik12892" but I also made several changes.

In addition to the P1, P2, P3, P4 buttons on the Alarm Clock, I have added 2 more than I need:

• P5 to change stored stations, I have only entered 4, but you can increase, it by changing the code a bit

• P6 since the TEA 5767 card consumes very little current, has been used to turn the radio on or off via Arduino, in order to use an auxiliary input (mp3, phone, etc.)

To change the radio frequency, use the buttons P2 = More, and P3 = Less.

To stay low with the measurements, I built an Arduino Standalone.

I enclose the electrical diagram, the Fritzing scheme and the PCB drawn in EXCEL.

Step 4: Construction

As with many of my designs,I used the electrical junction boxes, there are different sizes and shapes, I used a 120 x 80 x 50 mm for the container and two 100 x 100 x 50 mm for the speakers.

The speakers were recovered from an old cathode-ray monitor The 3 boxes have been joined by cable glands and M3 screws.

Step 5: Test

Before building the PCB, and putting it all in the box, I did several tests with the prototype chopping board.

Step 6: Assembling

Three wires were welded to the amplifier to be connected to the TEA 5767 to respective L, R, and GRD

Arduino, TEA5767, Amplifier, Buttons, and Display, everything was assembled as from attached pictures. As an antenna I used an electric wire up to 30 centimeters

Step 7: Arduino Code

Step 8: Work in Progress

I just bought a "DFPlayer Mini MP3 Player" ....

Share

    Recommendations

    • Beauty Tips Contest

      Beauty Tips Contest
    • Fandom Contest

      Fandom Contest
    • Backyard Contest

      Backyard Contest

    9 Discussions

    1
    None
    ChrisS783

    4 months ago

    Thanks
    Tittiamo,for so quick respond.


    The problem is that the pushbutton switcheswork very bad very.



    The button work bad.



    For example the radio on or off I
    have to push for it works up to 10 x. I have tried with a uno nano standalon.



    I find it so a nice project that I absolutely want to get






    Greetings
    and thanks, Chris.

    tittiamo.jpg
    2 replies
    0
    None
    tittiamo68ChrisS783

    Reply 4 months ago

    Ciao Chris
    The small bug is due to "delay".
    I tried to limit its use and duration to a minimum.

    0
    None
    ChrisS783tittiamo68

    Reply 4 months ago

    OK thank you Tittiamo I find a possible solution.


    Greetings Chris.

    1
    None
    ChrisS783

    4 months ago




    Hey Tittiamo68 I'm Chris (Belgium).


    I have built the
    radio alarm clock, but can't find any solution for the boutons that very bad
    work.


    Can you please help
    me,even for a fee.


    excuse for my bad English but I do that with a translation
    programme

    1 reply
    0
    None
    tittiamo68ChrisS783

    Reply 4 months ago

    What I do is for hobby and it's free.
    To help you, you should better explain what the problem is.
    Or send me some pictures.
    I'm not English, and I get help from Google ;-)

    0
    None
    MNskunky

    Question 1 year ago on Step 3

    How did you convert the 5v output into 12v for the Amplifier? It looks like it is wired a couple different ways in your pictures. Between the diagrams and schematics. Did you use a 1N4007 Diode, 100uF Capacitor, and an LM7805? Im just not sure how to wire it to get 12v output...

    Nice project by the way!!

    1 answer
    0
    None
    tittiamo68MNskunky

    Answer 1 year ago

    From the electric diagram you can see that I powered with 12 volts, with the LM7805 I brought the 12v to 5v to power the arduino.

    The diode 1N4007 has been used as protection against reverse polarity.

    If you have an amplifier that works at 5v, it eliminates the LM7805 and powers everything with 5 volts

    Cattura.JPG
    0
    None
    ravijag

    2 years ago

    Nice alarm clock. Any idea on how can we implement a slow rise in volume instead of abrupt full volume alarm?

    1 reply
    0
    None
    tittiamo68ravijag

    Reply 2 years ago

    I would not know how to do it, my project did not foresee it.

    If you find a solution let me know, it can be very useful