Arduino Radio Library
0.9
A set of Arduino libraries to control diverse FM radio receiver chips in Arduino projects.
|
An Arduino sketch to operate a SI4705 chip based radio using the Radio library. More...
Macros | |
#define | FIX_BAND RADIO_BAND_FM |
The band that will be tuned by this sketch is FM. More... | |
#define | FIX_STATION 8930 |
The station that will be tuned by this sketch is 89.30 MHz. More... | |
#define | FIX_VOLUME 4 |
The volume that will be set by this sketch is level 4. More... | |
Functions | |
void | setup () |
void | loop () |
show the current chip data every 3 seconds. More... | |
Variables | |
RDA5807M | radio |
An Arduino sketch to operate a SI4705 chip based radio using the Radio library.
This sketch implements a "as simple as possible" radio without any possibility to modify the settings after initializing the chip.
The radio chip is initialized and setup to a fixed band and frequency. These settings can be changed by modifying the FIX_BAND and FIX_STATION definitions.
Open the Serial console with 57600 baud to see the current radio information.
The RDA5807M board/chip has to be connected by using the following connections:
Arduino UNO pin | Radio chip signal |
---|---|
3.3V (red) | VCC |
GND (black) | GND |
A5 or SCL (yellow) | SCLK |
A4 or SDA (blue) | SDIO |
The locations of the pins on the UNO board are written on the PCB. The locations of the signals on the RDA5807M side depend on the board you use.
More documentation and source code is available at http://www.mathertel.de/Arduino
#define FIX_BAND RADIO_BAND_FM |
The band that will be tuned by this sketch is FM.
#define FIX_STATION 8930 |
The station that will be tuned by this sketch is 89.30 MHz.
#define FIX_VOLUME 4 |
The volume that will be set by this sketch is level 4.
void loop | ( | ) |
show the current chip data every 3 seconds.
void setup | ( | ) |
Setup a FM only radio configuration with some debugging on the Serial port
RDA5807M radio |