ArduRadio AlarmClock

by tittiamo68 in Circuits > Arduino

9483 Views, 59 Favorites, 0 Comments

ArduRadio AlarmClock

P3280004.jpg

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".

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

TEA 5767

20170308_140422.jpg
20170308_141406.jpg
P3100007.jpg
P3100006.jpg
TEA 5767.jpg

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

Scheme

Schema ArduRadio AlarmClock.jpg
ArduRadio_bb.jpg
PCB.jpg

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.

Construction

P3190045.jpg
P3190042.jpg
P3190050.jpg
P3190032.jpg
P3190052.jpg
P3190037.jpg
P3190038.jpg
P3190058.jpg
P3190060.jpg
P3190061.jpg
P3220063.jpg

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.

Test

P3130031.jpg
P3130027.jpg
P3130028.jpg
P3120020.jpg
P3120018.jpg

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

Assembling

P3220065.jpg
P3220066.jpg
P3240070.jpg
P3240071.jpg
P3280005.jpg

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

Arduino Code

Work in Progress

MakerTino_bb.jpg

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