‹ All articles

Tutorials

ESP32 ham transceiver on Linux with esp32-sdr-trx

Receive in SDR++, then explore FM, SSB and RTTY with an ESP32-S3 on a shielded, attenuated coax bench. US frequency cautions included.

An ESP32-S3 can do more than show a waterfall. Jochen Hammes’s esp32-sdr-trx gives Linux users an rtl_tcp receiver and experimental FM, USB, LSB and RTTY transmission. The practical appeal is that its release package carries the firmware: there is no firmware build before your first receive test.

Start receive-only. Before any TX command, read the US legal checklist for ESP32 transmit experiments. The examples below are for a properly contained coax bench, not an invitation to attach an antenna. A software license-acceptance flag is not FCC authorization.

What you’ll need

Some links may earn the show a small commission at no cost to you, which helps pay for airtime. No affiliate purchase links are included in this draft.

  • Linux with Python 3.10 or newer and a spare ESP32-S3 board exposing both native USB and a USB-UART bridge; two data cables.
  • An SDR application that accepts rtl_tcp, such as SDR++, for receive tests.
  • For TX: boards with usable RF connectors, 50-ohm coax, 30–60 dB of attenuation rated for the frequency and possible power, and a suitable receiver or test instrument. A PCB antenna is not a coax connector.
  • A shielded setup and known termination; do not improvise an antenna-to-coax connection or connect an unattenuated transmitter directly to a receiver.

Step 1: Install a reviewed release

Download the wheel and install-linux.sh from the upstream releases. Read the installer before running it, check any supplied release hashes, and replace the placeholder version below with the actual filename. The --audio option adds sound-card input support.

chmod +x install-linux.sh
./install-linux.sh esp32_sdr_trx-X.Y.Z-py3-none-any.whl --audio
espdr-rx -h
espdr-tx -h

The installer creates its own virtual environment and offers a udev rule. Use the documented device permissions rather than running the SDR application as root. Both tools normally load their firmware into RAM; flash writes are optional. Save any existing board firmware before changing it.

Step 2: Receive before you transmit

espdr-rx

In SDR++, choose RTL-TCP, host 127.0.0.1, port 1234. Start near 2442 MHz to look for local activity. Upstream lists 1.84–2.79 GHz reception at 250 or 333 kS/s, not a shortwave or 2-meter receiver. Wi-Fi bursts are wide digital signals, so selecting FM will not turn them into intelligible voice.

Step 3: Build the coax bench before enabling TX

Step 4: Short FM, SSB and RTTY bench tests

These examples use 2405 MHz only as a contained bench setting. It overlaps Wi-Fi: it is not a recommended on-air calling frequency. Include your own callsign in speech.wav and replace YOURCALL in the text. Run one command at a time; stop it before changing the setup.

# Contained coax bench only; no antenna
espdr-tx --accept-licence -f 2405 -i speech.wav
espdr-tx -f 2405 -m usb -i speech.wav --power -6
espdr-tx -f 2405 -m lsb -i speech.wav --power -6
espdr-tx -f 2405 -m rtty --text "RYRY DE YOURCALL TEST"

FM is the default; the README specifies ±2.5 kHz deviation and 170 Hz RTTY shift. Select the matching demodulator on the receiver. Power is uncalibrated: --power -6 is a software setting relative to the strongest setting, not a measured output in dBm. Current upstream documents substantial thermal drift and a board-specific --thermal model; do not copy another board’s model and assume it fixes yours.

The US frequency trap: 2350 MHz is not a ham frequency

Upstream examples use 2350 MHz, and the transmitter accepts roughly 2320–2450 MHz. That entire range is not a US amateur allocation. Section 97.301 lists 2300–2310 and 2390–2450 MHz. The lower allocation is outside this project’s stated TX range. A US ham license does not authorize a 2350 MHz radiated test. Before any on-air experiment, verify privileges, sharing restrictions, occupied bandwidth, identification and spectral purity; the US legal checklist for ESP32 transmit experiments covers the checklist.

An alternative: explore C3TRX without transmitting

C3TRX targets the ESP32-C3, not the S3. For a no-radio preview, obtain its desktop app and dependencies in a Python virtual environment, then run from its app directory:

python c3trx_app.py --mock

The simulator lets you explore the waterfall, DC removal, I/Q correction and PTT workflow without emitting RF. Upstream distinguishes mock results from hardware results: USB waterfall-text TX is reported demonstrated, while AM/FM/LSB TX remain experimental. The hardware build needs native USB, 4 MB flash and a supported chip revision; a USB socket alone does not prove native-USB wiring. The current repository distributes a prebuilt firmware image and says firmware source is not yet published. That is a trust/reproducibility limitation worth knowing before flashing.

Troubleshooting and limits

Sources checked Nov 5, 2026: esp32-sdr-trx README and linked guides · C3TRX README · 47 CFR 97.301.

This tutorial accompanies the Nov 7, 2026 episode of Echos in the Ether on WRMI with Chris, KD0CQ. These are project-documentation-based instructions, not a claim that I have bench-tested every board or measured its emissions. 73!

More to read