DABDUINO is a community project for digital radio in your own devices. We develop a new DABDUINO: a complete DAB+, FM and internet radio board with an ESP32-S3. It plays without other boards, and other microcontroller boards can also control it.
DABDUINO is a digital radio board for makers. The new DABDUINO has its own ESP32-S3 microcontroller. It can operate as a complete radio, or a different microcontroller board can control it.
Thus you can make your own digital radio, or add digital radio to a different project.
DABDUINO is a community project. It started in 2017 as a base for DIY DAB receivers: home receivers, car receivers and other audio projects. The DABDUINO library is open source, and it is on GitHub.
What is DAB+?
DAB+ is the standard for digital radio in many countries in Europe and in Australia.
One DAB+ transmitter sends many stations on one frequency. The sound has no background noise. The stations also send text, for example the name of the station and the title of the song.
What can you make with DABDUINO?
Some examples:
A digital radio for your home, in a case that you design
A radio for a weekend house or a place with a weak signal, with an antenna on the roof
A radio alarm clock
A radio for a car or a camper van
A radio that you control from your phone or from your smart home system through Wi-Fi
A school or hobby project about digital radio
A new DABDUINO is coming
DABDUINO comes back. We develop a new DABDUINO: a complete DAB+, FM and internet radio board for makers, with an ESP32-S3 microcontroller on the board. These are the planned functions:
Radio
DAB, DAB+ and FM with RDS. DAB and DAB+ in Band III.
Station names and text information (DLS), and station pictures (slideshow) on a display
Internet radio through Wi-Fi (MP3 and AAC streams)
An indoor antenna or an outdoor antenna on the roof, for example a Yagi antenna on a 75 Ohm cable. The firmware adjusts the antenna input to your antenna.
ESD protection on the antenna input
A connector for an external Wi-Fi antenna, for a good Wi-Fi signal also in a metal case
Control
From your phone or from a web browser through Wi-Fi, with a web interface in the firmware
From your phone through Bluetooth LE (control only, no audio)
From a smart home system, for example Home Assistant (MQTT), also as a player for the audio of Home Assistant
A rotary encoder with a push button, 7 buttons and an IR receiver for a remote control
The controls header also has I2C and 3.3 V, for example for a light sensor for automatic dimming of the display
Clock and alarm, with the time from DAB or from the internet. A real-time clock on the board keeps the time when the power goes. With an optional supercapacitor, it keeps the time for some days without power.
Display
A display header with SPI for the picture and I2C, for example for a touch panel
Dimming of the display with PWM, for example at night or in standby. A logic output for displays with a backlight driver, and a transistor output for displays with no backlight driver.
The firmware controls the reset of the display
The board switches off the supply of the display when the radio is off
Sound
Line output and an SPDIF output: coaxial, or optical with a Toslink module
High sound quality: each supply of the DAC has its own low-noise regulator, and the output filter has film capacitors
No click in the speakers when you disconnect the power: the board detects the power loss and mutes the DAC before the supply stops
Volume control in the firmware
An expansion connector for audio modules: you select a headphone amplifier or a speaker amplifier for your project, to your preferences
Or a Bluetooth module on the same connector, which sends the audio to Bluetooth headphones and speakers
Power
Only a regulated 5 V supply. USB-C does not supply power: it is only for programming
Standby to save energy: the firmware switches off the radio receiver, the DAC and the supply of the modules on the headers. The ESP32-S3 can go to deep sleep.
A button, the rotary encoder or the alarm of the clock switches the radio on again. The remote control can also do this when the ESP32-S3 is not in deep sleep.
Protection against a supply with the wrong polarity. When the power goes, the board puts the radio receiver into reset before the supply voltages change.
For makers
Write your own firmware for the ESP32-S3 with Arduino or ESP-IDF. An open source DABDUINO library controls the radio and the other parts of the board.
Or use the board as a radio for Arduino, STM32, Raspberry Pi and other boards, through UART with an interrupt line and a reset line, with any logic voltage from 1.8 V to 5 V
All connections are on 2.54 mm pin headers: display, controls, IR receiver, audio modules, line output, SPDIF and host board
Firmware updates through Wi-Fi (OTA) or USB-C
Open hardware and open source firmware. The firmware of the radio receiver is installed in the flash memory of the board.
The new DABDUINO is in development. We will publish the technical data here when the design is ready.
The original DABDUINO (2017)
The first DABDUINO was an Arduino shield for DAB, DAB+ and FM radio. It had a 32-bit, 384 kHz PCM DAC and an optical digital audio output. An Arduino library controlled it.
The original DABDUINO on an Arduino board, 2017.
Technical data
Form
Arduino shield
Radio module
KeyStone T3B
Radio
DAB, DAB+ and FM
Bands
DAB: Band III, China band, L-band. FM: 87.5–108 MHz.
Audio
32-bit, 384 kHz PCM DAC with a stereo RCA (cinch) output. SPDIF (Toslink) optical output.
Control
UART (TX and RX) and a reset line. SPI only for media data.
Antenna
SMA connector or solder pads
Power
5 V from the pin headers of the Arduino board
Clock
Real-time clock, synchronized from the DAB stream
Boards
Arduino boards with 3.3 V logic (for example Due, Zero and M0) and STM32 boards
Software
DABDUINO library in the Arduino Library Manager
How the original DABDUINO operated
The original DABDUINO used the KeyStone T3B radio module for DAB, DAB+ and FM. The Arduino board controlled the module through a UART: two data lines (TX and RX) and a reset line.
The digital audio of the module went directly to the DAC and to the optical output on the shield. Thus the Arduino board did not process the audio.
The shield got its power (5 V) from the pin headers of the Arduino board. Its logic used 3.3 V. Arduino boards with 5 V logic needed level shifters.
The DABDUINO library
The Arduino library had functions for these tasks:
Automatic station search and a database of the stations
Names of the stations, program type and text information from DAB, DAB+ and FM (RDS)
Signal strength and signal quality
Volume and stereo mode
We do not make the original DABDUINO any more. The library stays on GitHub.
Contact
For questions, ideas and bug reports, open an issue on GitHub, or send an email.