LockerGnomeTech news and nostalgia for today's technology professionals
Subscribe

Search

Hacks & Builds

An ESP8266 Wi-Fi Chip Broadcasts Stereo FM From a Chrome Tab. Your Car Radio Can't Hear It.

The catch is the band: it transmits at 2.4 or 5 GHz, so only an SDR or a second ESP board can pick it up, and the carrier stays on after boot.

Watercolor of a man in glasses sitting on an upturned crate, aiming a small radio dongle with a whip antenna at an open biscuit tin holding a tiny circuit board.
Illustration: LockerGnome

Kaboom748’s open-source firmware makes the Wi-Fi radio inside an ESP8266 D1 Mini transmit stereo FM. A Chrome or Edge tab sends 12-bit left and right PCM over USB serial. The V15 firmware builds the FM multiplex on the chip, 19 kHz stereo pilot and RDS included. The README’s pitch is blunt: “No soldering, no extra components: all you need is an ESP8266 D1 Mini and its serial port to broadcast analog FM stereo.”

The same project also covers AM, mono FM and single sideband, and it runs on the ESP32 Classic, ESP32-C6 and ESP32-C5. The repo has 186 commits and a separate out-of-band RF report PDF for each chip family.

The catch is the band

The signal sits at 2.4 GHz, or 5 GHz on the C5, far outside the tuning range of a standard AM/FM radio. The README says you need a 2.4 GHz-capable software-defined radio such as a HackRF, with the matching demodulation mode selected. Stereo also needs a decoder for the 19 kHz pilot. The other listener is a second ESP board running the same project. So the station exists, but your dashboard won’t find it (it’s a radio station with a listener base of one SDR).

The browser is the front panel

The browser page supplies the microphone, speakers, tuning controls and a radio-style panel. You open a local copy of CB_FM_STEREO-Universal.html in desktop Chrome or Edge, one per station, and connect each board to its own serial port. The page talks at 1,500,000 baud, 8N1, and it reads each board’s capabilities to pick transmit and receive formats on its own. Set both stations to the same frequency; the README suggests 2442.3125 MHz for a common 2.4 GHz test. Hold the spacebar or the on-screen microphone to talk, then release to listen.

The tab has to stay in front. The README warns: “Keep the web page visible in the active tab in Chrome or Edge. Switching tabs or minimizing the browser can cause background throttling, which may interrupt the serial data stream and disconnect the device.” It also points to VB-Audio’s Cable for routing audio into the project.

How a Wi-Fi radio gets finer than its own steps

The repo gives the native synthesizer step as 78.125 kHz on the ESP8266 and 39.0625 kHz on the three ESP32 targets. Timed changes between steps let the modulator produce a finer average deviation. The README says the ESP8266 result shows why measured audio quality is a better guide than step size, because the chip with the coarser step posted the lowest residual.

The transmit mixer keeps 16 bits of internal MPX precision, which the README calls the precision of the calculation. It adds that effective RF audio resolution depends on the modulator, timing and measured noise.

The bench numbers

On a HackRF bench, the original mono FM build reached 27.49 dB tone SNR. The stereo build measured 30.90 dB left-to-right separation at 997 Hz. For V15, the repo reports transmit FM residual, which is unwanted deviation from 300 Hz to 15 kHz after removing a 1 kHz test tone. Lower is cleaner:

  • ESP8266: 70.4 Hz RMS at 2442.3125 MHz
  • ESP32-C6: 87.5 to 90.3 Hz RMS at 2442.3125 MHz
  • ESP32 Classic: 106.7 to 109.0 Hz RMS at 2442.3125 MHz
  • ESP32-C5: 165.9 Hz RMS at 5745 MHz, measured in a separate 5 GHz run

The README notes that the residual includes receiver and local RF contributions, and that receive sensitivity and range would need a separate calibrated comparison.

The carrier that never asks

The warning block is the most interesting part of the README. All four original Web Serial sketches start a CW carrier at boot, before the browser connects. In the README’s words: “Playback stop and serial disconnect leave the carrier on.” Use the page’s ARRÊT RF control while connected, or remove power. Power cycling starts the carrier again, so the repo says to set up RF containment before flashing, resetting or powering the board.

The README also says to count warm-up and idle CW as transmit time, and to fit a heatsink before continuous operation: “A heatsink is only required at high transmit power, when APWR is set close to 0.” It tells builders to verify frequency, emission type, bandwidth, power limits and interference rules locally, and to assess analog transmission separately from the board’s original Wi-Fi certification. The nominal warm-up carrier sits at 2442.625 MHz, and it starts when you plug the board in.

Where this goes

The stereo encoder now lives on the chip, and the serial feed is plain PCM. That makes it plausible that people will swap the browser for other serial sources, though that is a forecast and not something the repo reports. If the project spreads, the local RF rules it keeps citing are the likely brake. Shield first, tune second.

Orange links with a double underline go to Amazon. As an Amazon Associate, LockerGnome earns from qualifying purchases.

More Hacks & Builds

Every Hacks & Builds story →