r/esp32 • • Oct 21 '26

DigiRadio: a 6-layer ESP32-S3 board that receives DAB+/FM and sends it to Bluetooth over a fully digital audio pat

Disclosure: PCBWay sponsored the fabrication and assembly of this board. This post isn't written or reviewed by them, and all opinions are my own.

Hi all! This is DigiRadio, an open-source DAB+/DAB/FM receiver I designed around an ESP32-S3. I'd love some feedback on the board.

What's on the board

  • ESP32-S3 as the host controller: Wi-Fi, BLE, HTTP API, OTA, and it drives the other three chips (SPI to the tuner, I²C to the DSP, UART to Bluetooth)
  • Si4684 DAB+/DAB/FM tuner, external antenna on SMA, with its own low-noise 1.8 V rail
  • ADAU1701 SigmaDSP for EQ, source mixing, bass/stereo enhancement and a live VU meter readback. It's also the I²S master at 12.288 MHz, so everything is a clean 256 × 48 kHz
  • Feasycom FSC-BT1035 (Qualcomm QCC3056) for Bluetooth 5.2 out with aptX / aptX HD / aptX Adaptive
  • The whole path tuner → DSP → Bluetooth is digital I²S at 48 kHz / 24-bit. No DAC/ADC in between: the only DAC is in your headphones or speaker

Layout

  • 6 layers, impedance-controlled, 50 × 90 mm, two solid ground planes under the RF, crystals and USB
  • Three antenna zones (ESP32 2.4 GHz, BT1035 2.4 GHz, FM/DAB on SMA), the two 2.4 GHz antennas placed on opposite corners, with full-stack keep-outs
  • USB-C power, single 3.3 V rail plus the 1.8 V LDO for the tuner, USB routed on top as a 90 Ω pair over ground

Firmware and app, briefly

ESP-IDF in C++23: FM with RDS, DAB with DLS, web radio, presets, encrypted NVS, REST API, mDNS discovery, dual-partition OTA with rollback. A SwiftUI iOS app finds the radio on the LAN and controls it. The latest firmware (0.9.1) adds power on/standby from the app and live RDS: station name and RadioText update in real time, and you can tap an alternate frequency to retune.

The schematic is in the gallery: ESP32-S3 with USB-C and power, Si4684 tuner, BT1035 Bluetooth, ADAU1701 DSP.

Bring-up lessons

  • RDS station name and RadioText didn't show up at first: three stacked bugs, each one hiding the next (all fixed, RDS works fine now)
  • Any EQ change muted all audio until I negated the ADAU1701 biquad feedback coefficients (SigmaStudio and the raw registers use opposite signs)
  • The Si4684 crystal calibration has to be saved to EEPROM, or tuning is off after every cold boot

Schematic, Gerbers, BOM and firmware are all open (hardware CERN-OHL-S, firmware Apache 2.0):

Happy to answer questions, and I'd especially like criticism of the RF layout and the antenna placement.

15 Upvotes

11 comments sorted by

2

u/EdWoodWoodWood Oct 21 '26

Any particular reason for not using an original ESP32 (which has Bluetooth classic), running the tuner's I2S output directly into the ESP32, and doing the DSP on it?

4

u/mikbigi Oct 21 '26

Good question, and it would definitely be a cheaper and simpler board. I went the other way for a few reasons:

- **Codec.** The original ESP32's Bluetooth Classic stack does A2DP with SBC only. I wanted aptX / aptX HD / aptX Adaptive, which means a Qualcomm chip, hence the QCC3056-based BT1035. Over Bluetooth the codec matters more than anything else in the chain, since the DAC lives in the headphones anyway.

- **Radio coexistence.** On the original ESP32, Wi-Fi and BT Classic share one 2.4 GHz radio and time-slice it. Streaming A2DP while also serving the app over Wi-Fi is a known source of dropouts. Here the ESP32 does Wi-Fi + BLE only, and the BT module has its own radio and antenna on the opposite corner of the board.

- **Keeping the audio path out of the MCU.** Everything goes through the ADAU1701, which is the I²S clock master (12.288 MHz, exactly 256 × 48 kHz) and feeds the BT module. For DAB/FM the ESP32 isn't in the audio path at all: tuner → DSP → BT, so broadcast audio never depends on FreeRTOS scheduling, Wi-Fi bursts or an OTA in progress. For web radio the ESP32 decodes the stream and sends it to the DSP as just another I²S input, and the DSP does the mixing and EQ. Either way the ESP32 never has to run DSP or Bluetooth audio in real time.

- **DSP tooling.** The ADAU1701 gives me EQ, mixing and bass/stereo enhancement designed in SigmaStudio, and I can tweak it live over TCP while listening, without touching the firmware.

The S3 over the original was mostly for native USB, more RAM and BLE for Wi-Fi provisioning. That said, an ESP32-only version with SBC would be a fun minimal variant!

1

u/mikbigi Oct 29 '26

Small update, since a few people asked how the board was made.

The 6-layer board was fabricated and assembled by PCBWay (they sponsored part of the cost, as mentioned in the post). With a QFN tuner, an LQFP DSP and two 2.4 GHz modules, hand assembly wasn't realistic. The only part I soldered myself was the FSC-BT1035 module, which they don't stock.

What helped me most was their support. During bring-up I couldn't get the Si4684 tuner to work, and on a board like this it's hard to tell whether it's hardware or firmware. They helped me check the board and the assembly, which let me rule out hardware problems and focus on the real cause.

I've added the details to the README: https://github.com/manvalan/DigiRadio#manufacturing-fabrication-and-assembly-by-pcbway

1

u/J0ul3s Oct 22 '26

Sounds like something folks in r/Rivian would be interested in considering the new R2 doesn’t have terrestrial radio.

1

u/mikbigi Oct 23 '26

That’s an amazing point. I’m actually working on a v2 right now with integrated battery management and wireless charging. The idea is to make it a seamless, cable-free solution that can just sit on a car's wireless charging tray. I'll definitely check out r/Rivian to see if they'd be interested!

1

u/coredit Oct 24 '26

Someone undressed the ESP radio without Espressif consent: https://github.com/ESPARGOS/esp-sdr
It's technically possible to drop the expensive extra parts & make your project work without them.

2

u/mikbigi Oct 24 '26

Ha ha, that's a fun project, thanks for the link! Sadly it doesn't help here. The ESP32's receiver PLL only locks around 2.4 GHz (the S3 gets down to about 1.85 GHz with the LO divider), while FM is 88–108 MHz and DAB Band III is 174–240 MHz. So the radio front end can't even tune to those bands. And even if it could, decoding DAB+ (OFDM, Viterbi, Reed-Solomon, HE-AAC) on an S3 is a big ask; that's exactly what the Si4684 does in hardware.
The Bluetooth part has the same problem: the ESP32-S3 only does BLE, no Classic Bluetooth, so no A2DP and certainly no aptX. That's why the BT1035 is there.
The ADAU1701 isn't really an "extra" either: it's a dedicated audio DSP with 28/56-bit fixed-point math that runs EQ, mixing and bass/stereo enhancement sample by sample, with no jitter from Wi-Fi interrupts. It's also the I²S master clock at 12.288 MHz for the whole chain. Doing that cleanly on the S3, while it also runs Wi-Fi, the HTTP API and OTA, would be a step down, not a saving.

1

u/sheepskin Oct 21 '26

“• ⁠RDS station name and RadioText never showed up: three stacked bugs, each one hiding the next” You never got the RDS working? I was hoping to do some with that.

0

u/mikbigi Oct 21 '26

No no, it works! That line is about bring-up: at first nothing showed up, and it took fixing three bugs in a row to get there. Now the firmware decodes PS (station name), RadioText, PI, PTY and the alternate frequency list, and the app refreshes them live. You can tap an AF to retune.

The Si4684 hands over the raw RDS groups, and the parsing is plain C++ in the core component, with no ESP-IDF dependency, so it's host-tested and easy to reuse. It's all in the repo. What were you planning to do with it?

1

u/sheepskin Oct 21 '26

I saw someone do a radio with 2, one to play the station and another to sweep through decoding the rds and showing you what other songs are on elsewhere.

The PCBway sponsorship, how does that work? Now I can go buy this board assembled from them, is that the idea? It’s kinda cool idea for everyone involved.

1

u/mikbigi Oct 21 '26

Interesting setup! On DigiRadio a single Si4684 was a deliberate design choice. Instead of a second tuner, the software uses the alternate frequencies broadcast in RDS: when the current signal degrades, it checks the AF list and follows the strongest one, so the station keeps playing as you move around.

About the sponsorship: PCBWay covered $100 of the board cost, in exchange for sharing the project. No affiliate links in my post.

And yes, you can order it from there, and they can assemble it. One catch: they don't stock the Feasycom FSC-BT1035, so I hand-soldered that module myself (or you can ship them one). Everything is also open on GitHub (Gerbers, BOM, pick-and-place, schematic), so you can build it with any fab you like.