RDS/RBDS decoder with optional FM stereo receiver. | |
|
|
|
This project supports both RDS (Europe) and RBDS (USA) Tuner FM band 88..108 MhZ (Europe and USA.) You can choose between a 4x20 character LCD or a smaller graphical LCD to display data. A simple RS232 interface can also be used. A 4x20 character LCD module will display these:
All major parts are available from our online shop. Schematic & pcb (Eagle 4.11e), hex file available. Last updated on December 12, 2007. |
Circuit explanation
The schematic consists of two major subcircuits:
The actual RDS/RBDS Decoder with the PIC and the display.
The FM Stereo tuner with headphone amplifier.
If you want to build this decoder into an existing tuner, then you won't need to rebuild the tuner part of the circuit. All you need to do then is to look for an MPX-signal in your existing tuner. This is usually found before the stereo decoder chip. This MPX signal must then be fed to the TDA7330 through a 47nF capacitor.
The circuit needs a couple of seconds of valid RDS/RBDS data before driving the LCD.
Quality indicator: a stable arrow (first row on the LCD) means the reception is good. Blinking arrows however indicate no valid RDS/RBDS data is being processed (signal too weak or station transmits no RDS/RBDS data.)
Digital tuning and volume control: the joystick gives us to have full control over the circuit. Last values are stored and reloaded on boot.
You'll have to choose a 4x20 character LCD or a smaller graphical LCD to display data. The smaller graphical LCD is best suited for portable applications, whereas the larger 4x20 character LCD is best for fixed receivers (f.e. in your car). Which display is driven can be chosen when booting: joystick-left for the 4x20 and joystick-right for the smaller LCD.
The RS232 interface also shows all decoded data properly (see the screenshot below.)
RDS decoder: | ||
TDA7330 | RDS/RBDS decoder chip. Needs an MPX input in order to decode RDS/RBDS data. | |
PIC18F452-I/L PLCC | This Microchip PIC microcontroller does most of the work: it looks for valid RDS data, then drives the LCD. | |
Graphical LCD | Nice little graphical LCD LPH7779 (Nokia 3310 LCD) Low power and best for portable use. Contrast adjustment by pressing volume up or volume down whilst booting. | |
LCD Module 4x20 | Standard 4-lines x 20-characters LCD module. Best choice for fixed receivers. | |
FM stereo tuner: | ||
TDA7021T | FM Tuner with MPX output. Some handmade coils are needed (more info about how to make these below.) | |
TDA7040T | Philips PLL Stereo decoder. Needs only a couple of external components. | |
TDA7050T | Low power stereo headphone amplifier. Small package and low power but still good quality. | |
Controls | With the micro joystick, there are 5 user controls available. Two for volume (up & down) , tuning (left & right) , save preset (push). | |
MCP41010-I/SN | 256-step 10k SPI digital potentiometer for tuning. A multiturn potentiometer is a (more expensive) alternative. | |
MCP42010-I/P | Dual 256-step 10k SPI digital potentiometer for volume control. Replaces a double stereo potentiometer. |
All coils use 0,5mm diameter coated copper wire and measure 5mm in diameter.
L1, 78nH: 8 windings, little spacing.
L2, 56nH: 5 windings, more spacing.
Schematics: (eagle-file can be downloaded below.) Full resolution image (GIF format). Bill of Materials (Parts List:)
|
Main connections:
|
|
Downloads: right-click & save as
WARNING: may not be duplicated for any commercial use whatsoever without explicit consent from the author (c) Michel Bavin, TechDesign Electronics. |
Schematic:
|
PCB:
|
PIC
Hex file: (to program the PIC)
|
Bootloader PIC Hex file: 18F452_hs20.HEX (only needed for development) |
PIC Source Code: not released, but you can buy a license on this Products page. |
Info & datasheet:
|
|
TDA7330 DIL-20. | |
PIC18F452-I/L PLCC44. | |
Graphic LCD module type LPH7779 (NOKIA 3310 LCD) 48*84 pixels and its integrated controller PCD8544. | |
LCD Module 4x20. | |
TDA7021T SO-8. FM tuner. | |
TDA7040T SO-8. Stereo decoder. | |
TDA7050T SO-8. Headphone amp. | |
MCP41010-I/SN SO-8. Single digital potmeter. | |
MCP42010-I/P DIL-14. Dual digital potmeter. | |
Screenshots:
RS232 interface |
|||
|
|||
PCB Layout |
Nokia 3310 LCD | ||
|
|
|
|
|
Tools:
Check out our development tools page.
The PIC code was made with the PCWH CCS compiler ($425,-); you can install Microchip's MPLAB IDE (click on the link and you can get it for free) with it to get things running smoothly.
Programming of the PIC was done with the excellent Tiny PIC bootloader, through the RC6 & RC7 pins. However you will need a regular PIC programmer to write the PIC the first time with...
Eagle 4.11e was used for the schematic & PCB layout.