Introduction: Tiny FM Radio
This is a small FM radio based on the Philips TEA5767 stereo FM receiver chip.
- The audio amplifier is the Texas Instruments (NSC) LM4880
- Stereo potentiometer is used to control the volume
- The radio has two control buttons: "Frequency UP" and "Frequency DOWN". Pressing the "Frequency UP' button the radio finds the first available FM radio station and plays it. If a signal is stereo, a LED indicator turns on. For the control of the FM receiver chip, the smallest and cheapest Atmel microcontroller is used (Attiny85).
- The radio covers the 88MHz-108MHz FM radio range. The frequency scan starts from 88 MHz.
- The passive devices used are all SMD type
- The electrolytic capacitors are tantalum. This made it possible to implement the whole radio on a board with size 5 cm x 3.5 cm. The size limiting parts are the mechanical one. I placed all of them on one side of the PCB for easy control of the radio and ease of assembly in a housing.
- The radio uses the headphone cable as antenna, but if desired additional cable can be soldered
Step 1: Why Did You Make It?
I found such modules (TEA5767) in a fabric MP3 player. I played with them using Arduino for control and I was impressed by the sound they deliver. I decided to make standalone radio based on the module. I wanted to make it as small as possible and I have chose to use 8-pin Atmel Attiny85 nicrocontroller in SO8 package. The main challenge was that the Attiny85 does not directly support the I2C protocol used by the TEA5767 module, so I had to rewrite some libraries to make this possible.The board is small and can be used for DIY project having FM radio. The board has an SPI interface and the microcontroller can be re-programmed as you desire. This also makes the product a development board for TEA5767 module.
Step 2: The Design
The circuit of the FM radio is presented on the picture. It can be seen that the schematic is very simple. The audio amplifier requires only few additional components.The resistors R4 and R5 can be omitted because the internal pull-up ones are activated. The stereo potentiometer is from ebay. The audio jack also. The electrolytic capacitors are tantalum from "Kemet". The gerber files of the PCB are available for download ("Player.zip").
Step 3: Programming of the Microcontroller
On the PCB I have put 4 contacts, which can be used for programming of the Attiny85 chip (MISO,MOSI,CLK,RESET). As first step I have soldered the Attiny85 chip. After that using a breadboard and 6 cables I have made the setup shown on the second picture. For flashing of the chip I have used USBTinyISP programmer and AVRDUDE. The hex file used is provided for download. The fuse settings are the fabric ones:
After programming of the Atmel chip I have soldered all the other devices, starting with those, having the lowest profile. If all devices are soldered properly the radio starts immediately to work. The sound is very clear, the receipt is stable and the listening of the radio is pure pleasure.
The radio is available for purchasing as soldered module or kit at tindie.