ESP32 walkie-talkie over UDP or ESP-NOW
Build ESP32 walkie-talkies three ways: no-wiring XIAO Sense pair, DevKit breadboard classic, or 600 m antenna handheld. Wiring, firmware, honest ranges.

What it is
Live push-to-talk voice between two ESP32 boards, over Wi-Fi UDP or direct ESP-NOW — no router, phone or app needed in ESP-NOW mode.
What you need
How hard
Intermediate — breadboard wiring, editing one config.h, and a PlatformIO upload; no custom PCB needed.
Key Facts
- Chip: ESP32 (classic DevKit); on ESP32-S3 the I2S amp is the only audio out — no internal DAC
- Audio: 16 kHz 8-bit raw PCM, 128 kbps — no codec
- UDP mode (default): 1,436-byte packets, ~11/s — needs a Wi-Fi network
- ESP-NOW mode: 250-byte packets (v1.0 ceiling), 64/s — no network, up to 20 paired peers
- ESP-NOW channel: all units on one channel; must match the router's if Wi-Fi is also used
- ESP-NOW range: ~320 m outdoor cut-off, ~500 m long-range mode (atomic14 walk test)
- Amp stock: Adafruit mono MAX98357A in stock at $5.95 (checked 2026-11-24)
- Assembled alternative: DSTIKE ESP32 Walkie-Talkie, $39.00 at Tindie (checked 2026-11-24)
- Three tiers on this page: XIAO Sense pair (no mic wiring) · classic DevKit breadboard · WROOM32-U external-antenna handheld
- Beginner tier range: ~10–20 m indoors per the maker's troubleshooting note — guidance, not a measurement
- Long-range tier: 600 m builder-reported outdoors, one-way no-ACK mode, audio degraded at the limit
- Long-range tier parts: $35.49 per pair in the maker's repo BOM, many lines salvaged (checked 2026-11-24)

About This Project
An ESP32 walkie-talkie is live push-to-talk voice between two boards: hold the button on one and your voice plays out of the other, sent over your Wi-Fi as UDP broadcast or straight from radio to radio with ESP-NOW — which needs no router, no phone and no app. There are now three good ways to build one, and this page covers all three as tiers. The simplest is a pair of Seeed Studio XIAO ESP32S3 Sense boards, whose built-in microphone deletes the mic wiring entirely. The classic — and still the best-documented — is atomic14's breadboard build: two ESP32-DevKitC (ESP32-WROOM-32) boards, each with an INMP441 I2S MEMS microphone, a MAX98357A I2S class-D amp and a small speaker, all digital I2S so it wires up with jumper wires. The longest-reaching is a WROOM32-U build with an external antenna whose builder reports voice at 600 m. One caveat belongs up front because it applies to every build here: this is not a real RF walkie-talkie. ESP-NOW is Espressif's connectionless protocol on the same 2.4 GHz radio hardware as Wi-Fi and Bluetooth — Hackaday describes it as "somewhat like low-level UDP with MAC address instead of IP address" — so reach is Wi-Fi-scale, hundreds of meters, not the kilometres a licensed handheld manages; Elektor's own ESP-NOW design pairs a condenser mic and one-transistor preamp with an LM386-based amplifier on the ESP32's built-in converters — which, as Hackaday's coverage of it put it, provide "just about enough resolution for voice communication" — and pitches much the same: ranges of several hundred meters are what is possible. The trade is the whole idea: a voice link on the 2.4 GHz band between two microcontrollers you built yourself.
Pick your build
The comparison graphic near the top of this page and the community-builds table near the bottom boil the choice down to difficulty, build time, range, cost and how much mic wiring each build wants. The short version: start with the XIAO Sense pair for the least wiring and a 3D-printed case, follow the classic breadboard build — the rest of this page — for the best-documented code base and the deepest pool of community fixes, or move up to the WROOM32-U external-antenna build when you need the furthest reach and don't mind hard soldering and the ESP-IDF toolchain.
The beginner tier is Tech Talkies' pair of Seeed Studio XIAO ESP32S3 Sense boards. The Sense variant carries an onboard PDM microphone, so the mic and its wiring simply do not exist in this build — the only soldering per unit is the amp, the push-to-talk button and power. Both units run identical firmware; the only configuration is pasting the two boards' MAC addresses into one file. Hackster lists the build at 3 hours and Intermediate difficulty — maker-listed estimates, not measurements. The trade-offs are range and controls: the maker's own troubleshooting note puts a pair at roughly 10–20 m indoors (more outside with line of sight), and there is no display or volume knob.
The classic tier is the build the middle of this page documents end to end: atomic14's esp32-walkie-talkie firmware on two breadboarded DevKits, with the schematic, PCB and 3D-printed case published and the range best-characterized of the three (see How far will it really reach? below). Our full beginner build-along for this tier (/guides/esp32-walkie-talkie-build-along/) walks it step by step — the wiring table, every firmware setting, your first call, and a choppy-audio troubleshooting playbook.
The long-range tier packages the same idea as a finished handheld: an ESP32-WROOM32-U module with a U.FL connector and external antenna, a 0.96in 128x64 OLED (SSD1306, I2C) display, a 10k volume potentiometer, push-to-talk plus five menu buttons, and a 2000 mAh LiPo with its own charging and boost circuit. Its builder reports 600 m of voice range outdoors — with caveats the long-range section below spells out.
ESP-NOW or UDP? Pick your transport
Both transports carry the same audio: raw 8-bit samples at 16,000 a second — 128 kbps, no codec — so the choice is purely about how the bytes travel. UDP broadcast is the firmware's default: both units join your Wi-Fi network, and audio goes out as 1,436-byte broadcast packets about 11 times a second that every unit on the network can hear. It needs a router, and a community write-up characterizes its end-to-end delay as roughly half a second; atomic14 itself publishes no latency figure. ESP-NOW is Espressif's connectionless protocol: no network, no handshake — radios are registered as peers by MAC address, up to 20 of them, with optional per-peer encryption. The catch is payload: ESP-NOW v1.0 caps each packet at 250 bytes, so the same audio leaves as about 64 smaller packets a second — and that ceiling is exactly why compressed-voice variants exist. Raw 16 kHz audio just fits the envelope; add a codec like the IMA ADPCM in the 600 m Hackaday build and the packet rate drops, at the cost of encoder complexity — and Adafruit's ESP-NOW guide sidesteps live streaming entirely by recording up to 10 seconds and slicing the message into ESP-NOW chunks. Two channel rules bite everyone: all ESP-NOW units must transmit on the same channel (the firmware defaults to channel 1, configurable 1–11), and if a unit is also using Wi-Fi, its ESP-NOW channel must match the router's — Espressif's API fails the send on a mismatch. Which should you pick? ESP-NOW if the walkie-talkies need to work away from your network — outdoors, in the yard, on a trail; UDP if both units live on your home Wi-Fi anyway, or as the base for the Internet-crossing Mumble fork. One modest ESP-NOW bonus: with no association or beacon traffic to keep alive, the radio idles between presses.
Whichever transport you pick, the receiving unit has its own job to get right. You cannot write audio to the I2S amplifier from inside the Wi-Fi or ESP-NOW receive callback — that code runs on the radio task, and touching I2S from it corrupts playback, which is why received audio can garble even when every packet arrives. The fix, spelled out in the Tech Talkies firmware for its XIAO build, is a ring buffer: inbound samples land in a 2,048-sample circular buffer — about 128 ms of headroom at 16 kHz — and the main loop drains it to the speaker, padding silence when the buffer runs dry so underruns don't crackle. If your received audio is garbled or chops in and out while the sender sounds fine, look at the receive path, not the transmitter.
Reliability is where the two transports diverge hardest. The stock firmware just sends — in ESP-NOW mode it carries no acknowledgement, so at weak range packets vanish and nothing re-sends them. The 600 m Hackaday build treats that as a design problem, with a ladder of mitigations you can copy in part: duplicate packets automatically when the link is weak, so voice stays intelligible past the distance single packets would survive; a jitter buffer to ride out bursty arrivals; packet-loss concealment to smooth over the gaps that remain; and IMA ADPCM compression, which packs more audio into the same packet budget. UDP mode gets its robustness the boring way instead — it rides your Wi-Fi network's normal radio management, at the cost of needing that network to exist.
A few tuning knobs from the community builds are worth knowing before you blame the hardware. The Tech Talkies firmware publishes its defaults: software microphone gain of 4 with clipping protection — raise it if you are too quiet, lower it if you distort — and a link check that pings the peer roughly every 10 seconds rather than assuming the link is alive. One trap it documents sits next door to the channel rules above: a peer registered on channel 0 follows the radio's current channel, so if one unit has joined a Wi-Fi network that moved it, the pair silently splits. Verify no unit has associated with a network before you test.
The same connectionless link carries more than voice elsewhere on the site: the flying RC butterfly can be steered from an ESP-NOW transmitter (/projects/esp-flutter-rc-butterfly/), and the RoArm-M2 desktop robot arm accepts JSON commands over ESP-NOW (/projects/waveshare-roarm-m2-esp32-desktop-robot-arm-firmware/) — same radio, packets instead of speech.
Parts you need (and what you can swap)
The Parts list below is the common-denominator build — two ESP32 DevKit boards, two INMP441 I2S MEMS microphones, two MAX98357A I2S class-D amps, two small speakers and two push-to-talk buttons — and every part links to its parts page for current buying options. Nearly all of it is swappable. Adafruit's walkie-talkie guide uses their ICS-43434 I2S mic, same protocol and wiring; the Hackster tutorial builds on the XIAO ESP32-S3 Sense and uses its onboard PDM microphone, so there is no mic wiring at all; and Waveshare's ESP32-C6 AMOLED board carries both mic and speaker on-board. Cheaper analog route: the firmware has an ADC input path — leave USE_I2S_MIC_INPUT commented out (as the repo ships it) and wire an electret module like the MAX4466 to GPIO 35. For output, the classic ESP32's internal DAC can drive headphones or an analog amp board instead of the MAX98357A — but the ESP32-S3 has no internal DAC, so on an S3 the I2S amplifier is your only audio output, not an option.
Wiring the mic, amp and button
Wiring is identical on both units, and it is all digital I2S plus one button — the pin numbers come straight from the firmware's config.h. INMP441 microphone: SCK to GPIO 18, WS to GPIO 19, SD to GPIO 21, and the L/R pin to ground so the mic answers on the left channel the firmware expects. MAX98357A amplifier: BCLK to GPIO 18, LRC to GPIO 19, DIN to GPIO 5, and optionally the SD shutdown pin to GPIO 22. The push-to-talk button connects to GPIO 23. Mic and amp share the two I2S clock lines, GPIO 18 and 19 — that is exactly how the stock firmware pins them. Any small 4–8 Ω speaker attaches to the amp's speaker terminals.
Power is the part of the wiring the pin list doesn't show. On the bench, run both units from USB — that is the whole power design for testing. For a handheld unit the community builds show two battery routes: the Tech Talkies build uses an 18650 battery shield V3, so each unit runs on one removable 18650 cell with a slide switch for on/off (per its Hackster parts list); and the 600 m Hackaday build documents the discrete version as an assembly step — LiPo cell into a TP4056 charging board, through the main power switch, into a boost converter, and onto the ESP32's VIN rail, with a resistor divider so an ADC pin can read battery voltage. Either way the battery parts are per unit, like everything else in the parts list.
Breadboard first is not a compromise — it is the maker's own build order. atomic14's README says everything is I2S and that breadboard with jumper wires is exactly how he prototyped it before having a PCB made; his schematic and 3D-printed case are linked in Docs & guides below. When you do move to solder, the Hackaday builder's tip is heat-shrink on every joint — his first unit's hand-wired insides are the cautionary photo in the repo, his second the clean one — and if hand soldering stops being fun, that build publishes gerber fabrication files for its own two-board PCB, so you can have the wiring manufactured instead.
The wiring mistakes that cost the most time, roughly in order of frequency: leaving the INMP441's L/R pin floating, so the mic never answers on the channel the firmware reads — ground it, or flip I2S_MIC_CHANNEL in config.h; wiring the amp's clocks to different pins than the mic's — both devices share the GPIO 18 and 19 clock lines, and config.h pins them identically for a reason; and grafting an OLED onto the pins another build used for its display — the Hackaday build puts its OLED on GPIO 18 and 19, which works there because its mic and amp sit elsewhere, but on this firmware those pins are the I2S clocks. A display added to this wiring needs free pins of its own.
Set up the firmware (config.h)
Every setting lives in one file, src/config.h. The transport switch is a single define: leave USE_ESP_NOW commented out for UDP, uncomment it for ESP-NOW. For UDP, fill in WIFI_SSID and WIFI_PSWD. For ESP-NOW, ESP_NOW_WIFI_CHANNEL sets the channel (1–11, default 1). The microphone input has its own switch, and it ships opposite to what an INMP441 build needs: the repo comes with USE_I2S_MIC_INPUT commented out, and that default builds the analog-ADC input on GPIO 35 — so an INMP441/I2S build must uncomment #define USE_I2S_MIC_INPUT before compiling. The mic and amp pins are in the same file, including the one-line switch to the analog-mic ADC path — and if you run two pairs of units near each other, TRANSPORT_HEADER_SIZE gives each set its own packet header so they do not cross-talk. The build system is PlatformIO: open the project, connect each ESP32 in turn, build and upload. New to the chip itself? Our ESP32 hub (/esp32/) collects the board guides and every other project on the site that runs on it. Feather ESP32-S3 owners also have a no-code path — Adafruit publishes a drag-and-drop UF2 for their guide hardware — but that firmware is record-then-send voice messages of up to 10 seconds, not live streaming.
Beginner tier: two XIAO ESP32-S3 Sense boards, no mic wiring
Per unit, the beginner build needs one Seeed Studio XIAO ESP32S3 Sense, one MAX98357A I2S class-D amp, a small 8-ohm speaker, a push button, a slide switch, an 18650 battery shield and the 2.4 GHz antenna Seeed bundles in the box — and since Hackster's parts list shows one of each, note it is a per-unit list: a working pair is two of everything. The maker's repo carries the six STLs for the 3D-printed case, including a lid variant without the engraved text, and a wiring diagram.
The wiring is the whole pitch: amp BCLK, WS and DIN to D5, D6 and D4 (GPIO6, 43 and 5), the push-to-talk button to D7 (GPIO9) with its other leg to ground, and the bundled U.FL antenna. That is everything — the microphone is on the board, and the camera module that gives the Sense its name is attached but completely unused. This is an audio build; you are buying the Sense for its mic, and the plain XIAO ESP32S3 cannot substitute because it has none.
Firmware is Arduino IDE throughout. Flash the helper sketch to read each board's MAC address, paste both addresses into secrets.h, then flash the same walkie sketch to both boards — each unit reads its own MAC at boot and configures itself. Audio is 16 kHz mono in 128-sample ESP-NOW packets with software gain and clipping protection, and the firmware adds the polish: a startup chime, press and release roger beeps, and a link-check ping roughly every 10 seconds with distinct success and failure tones.
Two honesty notes before you order parts. The code is stated-MIT — the README and the Hackster page both say MIT — but the repo ships no LICENSE file, so treat that as stated rather than granted. And the range figure is the maker's troubleshooting guidance for indoors, not a measurement; no tested distance appears anywhere in the write-up or the repo. Seeed's product page markets the board's U.FL antenna as supporting 100 m+ remote communication — that is the vendor's ceiling for data links, not this audio build's result.
Long-range tier: WROOM32-U, external antenna and 600 m
The long-range build is Aditya Verma's Hackaday.io project (firmware at GuzziFlipFlops/ESP32-Walkie-Talkie on GitHub). Around the ESP32-WROOM32-U module and its external U.FL antenna it packs the features the other two tiers lack: a 0.96in 128x64 OLED (SSD1306, I2C) menu interface, an INMP441 I2S MEMS microphone, a MAX98357A I2S class-D amp driving a slim 3 W speaker, a 10k volume potentiometer read on an ADC pin, push-to-talk plus five menu buttons, a laser pointer and status LED, and twenty logical channels. Power is its own small subsystem: a 2000 mAh 1S LiPo battery (JST-PH) into a TP4056 LiPo charger module, through the main switch and a 3.7-to-5 V boost converter into the ESP32's VIN rail, with a resistor divider sampling battery voltage on a second ADC pin.
The firmware is ESP-IDF rather than Arduino — expect idf.py set-target, menuconfig and build instead of the Arduino IDE, with the peer MAC addresses set in menuconfig. Audio is 16 kHz mono compressed with IMA ADPCM, sent with no acknowledgement at all — in the author's words, "No acknowledge on ESPNOW, just shout and listen" — and packets are automatically duplicated when the link weakens. The repo is MIT-licensed (a LICENSE file, Copyright (c) 2026 Aditya), and ships a prebuilt binary, the STLs and the PCB fabrication files; a telemetry log records RSSI and packet counters for your own testing.
Take the 600 m figure for what it is: one builder's outdoor result, not a spec. He reached it by ditching ESP-NOW's two-way handshake for one-way transmit only — dropping the acknowledgement packet buys range at the cost of data integrity, and at 600 m "I could still make out what the other walkie talkie was saying" through the stutters and loss. No antenna gain, TX power or test method is published. It is a best case, not a design target — though a credible one: the free-space path loss difference between 500 m and 600 m at 2.4 GHz is under 2 dB, comfortably covered by an external antenna over a PCB trace antenna, and atomic14 himself said of his 500 m result, "With good antennas and line of sight without any obstructions, I think you could extend this even more." A real 600 m link at 2.4 GHz still wants elevated, true line-of-sight antenna placement.
This is also the hardest build of the three, by the builder's own account: "Soldering is quite hard", and of the second unit, "Wiring was hell for me". You either hand-solder fine 30 AWG wire point-to-point inside the 3D-printed case, or order his two-board KiCad PCB from a fabricator — which still arrives needing the buttons, pot, OLED, speaker, battery and switch soldered by hand. No build time or difficulty rating is published anywhere; we would call it advanced. The maker's bill of materials in the repo prices the pair's core parts, with many lines marked as salvaged stock, so a new-buy build costs more than the BOM suggests (figure in Key facts above).
How far will it really reach?
Published ranges for this exact build span an order of magnitude, and none of the numbers are lies — the hardware differs. atomic14's own outdoor ESP-NOW test used built-in antennas, broadcast mode with no retransmits, 64 packets a second: essentially every packet arrived within 50 m (a tree in the path could cost 40–60%), roughly 30% loss between 50 and 100 m, a cut-off near 320 m, and occasional packets out to about 500 m in the ESP32's long-range mode — occasional-packet reach, not a dependable radius. At the low end, the RASPIAUDIO fork for the MUSE PROTO all-in-one board reports only 50 m. The assembled DSTIKE product claims up to about 150 m, measured in favorable open conditions. And the Hackaday flagship build reached 600+ m with an ESP32-WROOM-32-U, a U.FL connector and an external antenna, plus IMA ADPCM compression. The pattern is consistent: antenna first, board and environment next. If you need real distance, an external-antenna board is the upgrade that actually moves the number.
Test your own pair
Every range number above is builder-reported — we have not re-run any of them; we re-checked every figure on this page against its primary source on 2026-11-24 (maker pages and repos fetched live), and none of them is our own measurement, so test your own pair before trusting any of them. The community builds converge on the same short protocol, and the Hackaday build states it as three rules: test audio at short range first; tune mic gain, speaker gain, channel and antenna placement with the units close; then test range outdoors with clear line of sight. With both units streaming the same 16 kHz audio — 64 packets a second in ESP-NOW mode — distance is the only variable left. Walk apart until speech stops being intelligible: that is your usable range, and the point where nothing arrives is the hard limit. Indoors, expect far less — the Tech Talkies troubleshooting puts ESP-NOW walkie-talkies at roughly 10–20 m indoors, more outdoors with line of sight.
You don't need test gear to measure it. The Tech Talkies firmware pings the peer roughly every 10 seconds and plays a success or fail tone, which turns a walk test into something you can hear without a serial monitor. For numbers instead of impressions, the Hackaday build shows the honest method: its black-box telemetry logs every radio event with RSSI in dBm, link quality percentage, jitter frames and transmit/receive packet counters — including how many packets arrived duplicated or were patched by loss concealment — all dumpable to a computer afterwards. That is the difference between 'seemed choppy past the shed' and data.
Dropout behaviour at the edge of range is worth knowing before your first test: speech erodes before it disappears. The Hackaday builder reports reaching 600 m by dropping ESP-NOW's acknowledgement handshake for one-way sends — and that at that distance he could still make out what the other unit was saying, at the price of stutter and lost syllables. If your pair works at desk range and breaks up across the house or yard, that is propagation doing exactly what the section above says: the fixes are distance, antenna and channel, in that order.
Troubleshooting: choppy audio, dropouts and silence
Silence on ESP-NOW is almost always a channel problem: every unit must be on the same ESP_NOW_WIFI_CHANNEL, and if your units also join Wi-Fi, that channel has to match the router's — a mismatched channel fails silently, the radio simply never hears the packets. Two pairs of units cross-talking? Give each set its own TRANSPORT_HEADER_SIZE header. Garbled or distorted receive audio usually points at the microphone's L/R pin — the firmware listens on the left channel, so L/R goes to ground (or flip I2S_MIC_CHANNEL in config.h to match your wiring). Audio that starts clean and degrades as you walk away is propagation, not firmware: you are losing packets to distance, and the honest fixes are shorter distance, a better antenna, or — on UDP — moving off a congested Wi-Fi channel.
Going further: channels, OLEDs and full-duplex intercoms
The community has mapped the upgrades already: a 20-channel build with an OLED interface, IMA ADPCM compression and the 600 m range claim (full section above, compared in 'Other community builds' below); a no-mic-wiring build on the XIAO's onboard microphone (section above); a voice-plus-text-messaging variant; and jeffskinnerbox's ESP32-S2/S3 fork that adds Mumble as a third transport so calls can cross the Internet (its active branch is a work-in-progress CircuitPython rewrite). On a strict budget, an ESP32-C3 SuperMini feasibility write-up works through the smallest viable variant — no PSRAM and no DAC, so it needs a codec. And when 'walkie-talkie' grows into 'intercom' — always-on, both directions, house-scale — the projects to look at are full-duplex ESPHome/WebRTC and UDP-multicast builds, which leave ESP-NOW behind because two simultaneous streams want bandwidth headroom; even the best purpose-built ESP-NOW voice projects stay push-to-talk.
Keep going
A working pair is a launch pad. Our ESP32 hub (/esp32/) rounds up every board guide and ESP32 build on the site; start with Which ESP32 Should I Buy? (/guides/which-esp32-should-i-buy/) if you are adding boards, or ESP32 vs Arduino vs Raspberry Pi Pico (/guides/esp32-vs-arduino-vs-pico/) to compare the beginner families side by side.
Source & Attribution

How to Build It
Parts Needed
- 2x ESP32 dev boards
- 2x INMP441 I2S MEMS microphone (or the author's mic board)
- 2x MAX98357A I2S class-D amp
- 2x 4Ω speakers
- 2x push-to-talk buttons
- Breadboard and jumper wires
Steps
- 1
Wire each unit
Wire both units identically — all connections are digital I2S plus one button (pin numbers from src/config.h). INMP441 mic: SCK to GPIO 18, WS to GPIO 19, SD to GPIO 21, L/R pin to ground (left channel). MAX98357A amp: BCLK to GPIO 18, LRC to GPIO 19, DIN to GPIO 5, optionally SD to GPIO 22 (shutdown line). Push-to-talk button on GPIO 23. Mic and amp share the GPIO 18/19 clock lines — that is how the stock firmware pins them. Any small 4–8 Ω speaker attaches to the amp's speaker terminals. Power on the bench is just USB. For handheld units, the community builds use either an 18650 battery shield (Tech Talkies) or a LiPo cell through a TP4056 charger, a main switch and a boost converter to the ESP32 VIN rail (Hackaday build).
- 2
Choose the transport
UDP broadcast is the default: 1,436-byte packets, about 11 a second, and it needs a Wi-Fi network. For ESP-NOW — 250-byte packets (the protocol's v1.0 payload ceiling), 64 a second, no network at all — uncomment #define USE_ESP_NOW in src/config.h. A community write-up characterizes UDP mode as having roughly half a second of audio delay; atomic14 itself publishes no latency figure. And if you build with the INMP441: the repo ships USE_I2S_MIC_INPUT commented out — that default is the analog-ADC mic input — so uncomment it in src/config.h.
- 3
Know why there is no codec
The audio is raw: each of the 16,000 samples the mic captures per second is scaled to one unsigned 8-bit byte — no compression, 128 kbps. That is exactly what makes ESP-NOW viable here: 16,000 bytes per second divided by the 250-byte packet ceiling is 64 packets per second, the same rate atomic14 streamed in its ESP-NOW range test.
- 4
Set Wi-Fi (UDP only)
If you use UDP, enter WIFI_SSID and WIFI_PSWD in config.h.
- 5
Build and upload
Open the project in PlatformIO, connect each ESP32 in turn, then build and upload.
- 6
Talk
Hold the button on one unit to talk, and the other plays the audio. You can switch to the ESP32's built-in ADC or DAC in config.h if you want analog parts. It is half-duplex push-to-talk by design — the button stops the speaker and starts the mic. Full-duplex intercoms, where both people can talk at once, generally leave ESP-NOW for Wi-Fi/UDP because two simultaneous streams want bandwidth headroom; even the best purpose-built ESP-NOW voice project (PCMFlowG722, per a community survey) stays push-to-talk.
- 7
Know what range to expect
atomic14's outdoor ESP-NOW range test used built-in antennas and broadcast mode with no retransmits, streaming 64 packets a second like this firmware. Essentially every packet arrived within 50 m (though a tree in the path could cost 40-60%); 50-100 m saw roughly 30% loss; the cut-off was near 320 m, and the ESP32's long-range protocol mode stretched occasional packets to about 500 m at a bandwidth cost. Treat these as occasional-packet reach, not a dependable radius.
- 8
Test your own pair
Test audio at short range first, then tune mic gain, speaker gain, channel and antenna placement with the units close together — the Hackaday build's own testing order. Then walk outdoors with clear line of sight until speech stops being intelligible: that is your usable range. Indoors, expect roughly 10–20 m per the Tech Talkies troubleshooting notes. Every range figure on this page is builder-reported, not our measurement.
- 9
Fix it: silence, choppy audio and distortion
Nothing heard on ESP-NOW is usually a channel mismatch: all units must use the same ESP_NOW_WIFI_CHANNEL, and it must match your router's channel if the units also use Wi-Fi — mismatched sends fail silently. Two pairs of units cross-talking: give each set its own TRANSPORT_HEADER_SIZE. Distorted audio: check the INMP441 L/R pin — the firmware expects the left channel, so L/R goes to ground, or flip I2S_MIC_CHANNEL in config.h. Audio that degrades with distance is packet loss, not firmware: move closer, improve the antenna, or change Wi-Fi channels (UDP mode).
Bill of Materials
Parts list
5 parts · 5 linked
Heads up: some Buy links are affiliate links. If you buy through one, MCU Atlas may earn a small commission at no extra cost to you. It never changes which parts we list. How this works
2× ESP32 dev board
≈US$7.37 a board via the ELEGOO 2-pack on Amazon.ca (checked 2026-11-13)
2× INMP441
Elecrow US$5.00; an Amazon.ca 5-pack works out to ≈US$2.38 a mic (checked 2026-11-13)
2× MAX98357
Adafruit mono breakout (3006) back in stock at $5.95; the $9.95 stereo dual (6513) also in stock — one channel per unit works fine. On an ESP32-S3 this I2S amp is the only audio-out (checked 2026-11-24)
2× Speaker
Adafruit #1314, $1.95, in stock (checked 2026-11-24)
2× Push-to-talk button
Adafruit 6 mm 20-pack (#367) $2.50 in stock; 12 mm 15-pack (#1010, $5.95) also in stock (checked 2026-11-24)
Not included: 3D-printed case, wire, solder, USB cable
Learn
Docs & guides
Read these before you buy. These pages explain things; they don't sell anything.
- The full build-along: wiring, firmware, first callOur step-by-step beginner walkthrough of this exact build — parts, wiring, firmware, honest range and a choppy-audio playbookDocs
- atomic14's walkie-talkie schematic (EasyEDA)The maker's own schematic for his custom PCB — the same wiring this page walks through in breadboard formDocs
- atomic14's 3D-printed case (Fusion 360)The maker's Fusion 360 project for the case he printed for his pair of unitsDocs
Community
Other community builds
The build this page covers is the walkthrough; other makers have taken the same idea in different directions. Here is how they compare.
| Build | What it adds vs atomic14 | Difficulty | Key parts |
|---|---|---|---|
| Longest rangeESP-NOW walkie-talkie (GuzziFlipFlops)Hackaday writeup | 0.96" OLED menu UI with 20 channels and channel scanning, IMA ADPCM audio compression with jitter buffering and packet-loss concealment, external U.FL antenna, and a 2000 mAh LiPo with TP4056 charging. The builder reports 600 m outdoors in a one-way, no-acknowledgement mode with degraded audio at the limit — best case, not a design target (see the long-range tier section). The repo BOM sums the pair's core parts at $35.49, many lines salvaged (checked 2026-11-24). Firmware is ESP-IDF, not Arduino or PlatformIO; no build time or difficulty is published (we'd call it advanced). The repo has since added a custom-PCB fabrication guide with source CAD files and a demo video. | Advanced (our estimate) | ESP32-WROOM-32 U.FL board, 0.96" OLED, INMP441, MAX98357A, LiPo + TP4056 |
| Easiest startXIAO ESP32-S3 Sense walkie-talkie (Tech Talkies) | Uses the XIAO ESP32-S3 Sense onboard microphone, so there is no I2S mic to wire — the least wiring of any build here. Arduino IDE firmware and a removable 18650 battery shield. The maker's troubleshooting note puts a pair at roughly 10–20 m indoors, more outdoors with line of sight; Hackster lists the build at 3 hours. Note: you need two of each core part; the tutorial BOM lists only one. | Beginner-friendly (Hackster tags it Intermediate) | 2x XIAO ESP32-S3 Sense, MAX98357A, 18650 battery shield V3 |
| Voice + text walkie-talkie (ElectroSurgeon) | Two-way text messaging as well as voice, with a 4x4 keypad, menu UI and 0.96" OLED on a custom PCB (a NextPCB-sponsored project). Radios are nRF24L01 modules rather than the ESP32's own Wi-Fi. Firmware is Arduino IDE, and the repo states no license. | Advanced (Hackster's tag) | ESP32, INMP441, MAX98357A, nRF24L01, 4x4 keypad, OLED |
| S3 + Mumble fork (jeffskinnerbox) | Designed around the ESP32-S2/S3 from the start: the README documents the S3's missing DAC (linking atomic14's own post on it) and routes audio over I2S. Adds Mumble as a third transport alongside UDP broadcast and ESP-NOW, so calls can reach across the Internet. The active branch is a work-in-progress CircuitPython rewrite; the earlier C++ version lives in old-C++/. | Advanced / experimental (our estimate) | ESP32-S2 or ESP32-S3 board (Unexpected Maker boards favored in the README) |
Swipe the table sideways to see the Difficulty and Key parts columns.
Which one should you try? Completely new to soldering — the XIAO ESP32-S3 Sense pair: the onboard mic removes most of the wiring and the firmware is Arduino IDE. Want the best-documented path with the deepest pool of fixes — follow atomic14's build, which is what this page walks through. Maximum range and a finished handheld — the WROOM32-U build, accepting ESP-IDF, hard soldering and a best-case 600 m. Also out there: the ElectroSurgeon build adds texting on nRF24L01 radios, and jeffskinnerbox's fork adds Mumble so calls can cross the Internet.
All range and build-time figures are maker-listed or builder-reported, not independently tested. The GuzziFlipFlops repo carries an MIT LICENSE file; the Tech Talkies code is stated-MIT (README and Hackster page) but the repo ships no LICENSE file; the ElectroSurgeon repo states no license. Difficulty labels saying (our estimate) are MCU Atlas editorial calls.
Still choosing a board? The ESP32 hub rounds up more ESP32 projects, guides and parts.
Related Projects



Free printable: the First-Build Checklist
One page, 22 concrete items — the parts, tools and safety checks every first-time builder needs before powering on. Join The Bench (one email a week) and we'll send it straight to your inbox.


