Skip to content
MCU Atlas
Walkthrough

DIY ESP32 walkie-talkie: push-to-talk voice over ESP-NOW or Wi-Fi UDP

A beginner ESP32 walkie-talkie build-along: push-to-talk voice over ESP-NOW or Wi-Fi UDP, with wiring, firmware setup, honest range and choppy-audio fixes.

By · Published: 11/24/2026 · Updated: 11/24/2026

Two plain ESP32 boards, an inexpensive microphone module and a small amplifier board are all it takes to build a working pair of walkie-talkies. Hold a button on one unit, speak, and your voice plays out of the other unit across the room or across the yard — no phone, no app, no cloud service, and in ESP-NOW mode not even a Wi-Fi router. This page is a complete beginner build-along for the best-documented firmware for this build, atomic14's esp32-walkie-talkie: what to buy, exactly which pin goes where, every setting you have to change, and how to make your first call.

The build is deliberately board-agnostic. Most guides lock you into one specific board — a Feather, a XIAO, an all-in-one carrier — but the common-denominator hardware almost every ESP32 beginner already owns works here: a plain ESP32 DevKit (any classic ESP32-WROOM-32 board), an INMP441 I2S microphone module, and a MAX98357A I2S amplifier module (I2S is a common digital-audio standard — what that means for you is explained in the next section). If you have those in your parts box, you have a walkie-talkie pair waiting to happen. Both units are built identically and run identical firmware, so you wire one, copy it, and talk.

What you're building

A live push-to-talk (PTT) voice link between two ESP32s. Press and hold the transmit button on one unit and everything its microphone hears — your voice — streams live to the other unit and plays out of its speaker. Release the button and the units swap roles: the sender goes back to listening. That is how a real walkie-talkie works, and this behaves the same way, with one honest difference: this is not a radio on a licensed walkie-talkie band. It is voice over the 2.4 GHz Wi-Fi radio every ESP32 already has, sent either over your home network as UDP broadcast, or directly radio-to-radio with Espressif's ESP-NOW protocol. Reach is Wi-Fi-scale — meters to hundreds of meters, not miles — and we treat range honestly in its own section below rather than quoting one flattering number.

The whole audio chain is digital, which is why a beginner can build it with jumper wires and no soldering iron. The INMP441 microphone and the MAX98357A amplifier both speak I2S, a common digital-audio standard: the microphone turns sound into numbers, the amplifier turns numbers back into sound, and the ESP32 ships those numbers over the air between the two. Nothing is uploaded anywhere. No firmware update, no account, no companion app — when you power the units off, the voice link is simply gone.

What it is not: an emergency communicator, a phone replacement, or a long-range radio. If you need mission-critical or off-grid comms, buy dedicated hardware. For a house intercom, a garage-to-house link, a fun weekend project with the parts you already own, or the shortest possible introduction to streaming audio between microcontrollers — it is a great build.

ESP-NOW or UDP? Pick your transport

The firmware supports two ways to move the voice between the units, and you pick one before flashing. The good news: both carry exactly the same audio — raw samples at 16,000 per second, 8 bits each, about 128 kbps with no compression — so the audio quality is identical. The choice is only about how the bytes travel, and you can change your mind later by editing one line and re-flashing.

UDP over your Wi-Fi network is the "sit on the network" option. Both units join your router's Wi-Fi like any other device, and each packet of voice goes out as a UDP broadcast — a 1,436-byte packet roughly 11 times a second that every walkie-talkie on the network hears. It is simple and robust because your router's radio management is doing the heavy lifting, and it is the natural base if you later want calls that cross the Internet (a community fork adds the Mumble voice protocol on top). The costs: it needs a router in range of both units, and a community test of this firmware characterizes the end-to-end delay as roughly half a second — atomic14 itself publishes no latency figure. Expect a noticeable but conversational pause.

ESP-NOW, no router needed is the "walkie-talkie" option. ESP-NOW is Espressif's connectionless protocol: units talk directly radio-to-radio with no network, no pairing handshake and no password. This is what makes an ESP32 walkie-talkie work without Wi-Fi — in the yard, on a campsite, during an Internet outage, anywhere. The constraint is packet size: ESP-NOW caps each packet at 250 bytes, so the same audio leaves as about 64 smaller packets per second. All units must be on the same radio channel (the firmware defaults to channel 1, configurable 1–11). Note that the stock firmware broadcasts to every matching unit in range on that channel — convenient for a pair, and worth knowing if you build two pairs.

Pick in one read:

  • Both units will live on your home Wi-Fi anyway (house intercom, desk-to-desk) → UDP. Fewer packets, rides your network's existing reliability, and Internet-crossing upgrades exist if you ever want them.

  • The units need to work away from your network, or you want zero setup and zero infrastructure (portable pair, no router at the location) → ESP-NOW. No network name (SSID), no password, no infrastructure — power on and talk.

  • Undecided? Start with ESP-NOW: it needs no credentials, works anywhere, and switching to UDP later is one config change and a re-flash.

One firmware detail worth knowing whichever you choose: in UDP mode the firmware explicitly disables the ESP32 radio's power saving (the code comment calls its effect on round-trip time "dramatic") — so a UDP unit is doing the right things for latency already, and choppy audio is much more likely a Wi-Fi environment or range issue than a missing setting. The troubleshooting section below walks every cause.

Parts you need (and what you can swap)

You need two of everything except the breadboard gear — both units are identical, so you wire one, copy it, and talk. Every part links to its MCU Atlas parts page, which tracks current buying options and live prices; the only prices quoted on this page are day-checked maker prices.

PartQtyNotes
ESP32 DevKit (classic WROOM-32)2Any plain ESP32 DevKitC-style board; no special variant needed
INMP441 I2S MEMS microphone module2The digital microphone; wired, not soldered
MAX98357A I2S class-D amplifier module2$5.95 at Adafruit (checked 2026-11-24); clones widely available for less
Small speaker, 4–8 Ω, 1–3 W2Any small speaker in that impedance range
Push-to-talk button2Any momentary push button
Breadboard + jumper wires2 setsOne set per unit; the maker's own prototype was exactly this
USB power (cable or power bank)2USB is the bench power design; batteries are optional later

Building two units from modules typically costs less than one assembled walkie-talkie: Travis Lin sells a finished ESP32-WROOM-DA unit, the DSTIKE, for $39.00 on Tindie (checked 2026-11-24) if you would rather buy one than build two.

Nearly everything in this list is swappable — a different I2S mic, a different amp path, even a different ESP32 variant — with small, known consequences:

Swap parts you already own

Guidance only — the main build path stays the plain ESP32 DevKit + INMP441 + MAX98357A, and deeper board-variant builds are outside this guide. (Pin numbers below are the stock firmware's defaults from config.h: mic SCK 18 / WS 19 / SD 21, amp BCLK 18 / LRC 19 / DIN 5, SD 22, PTT 23.)

What you'd swap forDoes it work?What changesCaveats
ICS-43434 mic (Adafruit's I2S mic) instead of INMP441Yes — cleanest swap in the tableNothing in wiring or firmware: same I2S wiring (SCK/WS/SD, L/R to GND for the left channel), same 32-bit I2S receive configEssentially an equivalent-class MEMS mic; don't pay a premium expecting better range or audio quality you'll hear on an 8-bit link
SPH0645 micYes, with one firmware flagSame wiring; the code has a built-in timing fix for this mic (the fixSPH0645 flag in I2SMEMSSampler) because its I2S timing deviates from specNeeds the fix enabled — without it you get garbage audio; if you're not editing code, buy the INMP441 instead
Onboard PDM mic (XIAO ESP32-S3 Sense, Waveshare boards)Yes, on those boardsPDM ≠ I2S: different driver mode (PDM clock/data pair, not the 3-wire I2S bus) and the firmware's mic input layer must be rewritten for it — this is why the Hackster guide is board-lockedNot a jumper-wire swap, and not sensible as a modification of this build
Analog mic (MAX4466/MAX9814) instead of I2SYes — the repo supports it nativelyComment USE_I2S_MIC_INPUT back out; input becomes the internal ADC (the ESP32's analog-to-digital converter) on GPIO 35 (ADC1_CHANNEL_7); community builds show ~8 kHz analog paths with more noiseLower audio quality than any I2S mic; fine for a "use what's in the drawer" build, not the recommended path
MAX98357A clone amp (vs Adafruit breakout)YesPin labels vary by seller — BCLK/LRC/DIN map to SCK/WS/SD-style silkscreens; check the gain-pin strap on the specific boardClones sometimes omit or rename the SD (shutdown) pin and the gain strap (stock Adafruit default 9 dB into 4 Ω); if SD isn't wired, set I2S_SPEAKER_SD_PIN -1
Internal DAC + LM386 or headphones instead of the I2S ampYes — supported in codeComment out USE_I2S_SPEAKER_OUTPUT and the output moves to the ESP32's internal 8-bit DAC (its digital-to-analog converter; DACOutput path, GPIO 25/26)Noticeably worse quality than the MAX98357A; good for a first smoke test, weak as the end state
ESP32-S3 boardYesLogic and both I2S devices work; the code runs mic and speaker on the same I2S port (I2S_NUM_0), which only works because push-to-talk stops one direction before starting the other — keep that half-duplex structureAntenna is usually a w.FL/u.FL connector needing an adapter or pigtail; newer IDF versions steer you from the legacy driver/i2s.h API the code uses — pin the toolchain in platformio.ini. Full S3-specific builds are outside this guide
ESP32-C3 board (budget variant)Feasible, not a drop-inFewer GPIOs to absorb the 6 signal pins + button; a community feasibility study recommends compressing audio (IMA ADPCM or G.722) rather than the stock raw 128 kbps stream on a C3Single-core, no PSRAM; the raw 8-bit stream is the stretch — expect to modify the code, not just re-pin it (see Going further below)
ESP32-S2 boardPartiallyI2S input works, but the S2 drops the internal-DAC fallback path — you must keep the I2S ampNiche choice; no advantage for this build — prefer the plain DevKit or the C3 budget path
Different speakerYesAnything 4–8 Ω, 0.25–3 W on the amp's screw terminals4 Ω draws the most current from the MAX98357A (3 W class-D); tiny 8 Ω 0.25 W speakers are quieter but bulletproof on USB power

Wiring the mic and amplifier

Both units are wired identically, and the pin numbers below come straight from the firmware's config.h — no guessing, no "any free pin". Everything is jumper wires on a breadboard; the maker prototyped this exact build the same way before designing a custom circuit board. The GPIO numbers in the table are the numbered pins printed along the sides of the DevKit.

Per unit:

Module pinConnect toWhat it is
INMP441 VDD3V3Microphone power (3.3 V, not 5 V)
INMP441 GNDGNDGround
INMP441 SCKGPIO 18I2S bit clock
INMP441 WSGPIO 19I2S word select (L/R clock)
INMP441 SDGPIO 21I2S serial data (mic → ESP32)
INMP441 L/RGNDSelects the LEFT channel — the one the firmware listens on
MAX98357A VIN5V (VIN)Amplifier power
MAX98357A GNDGNDGround
MAX98357A BCLKGPIO 18I2S bit clock (shared with the mic)
MAX98357A LRCGPIO 19I2S word select (shared with the mic)
MAX98357A DINGPIO 5I2S serial data (ESP32 → amp)
MAX98357A SDGPIO 22Shutdown pin — optional but wired in the default config
MAX98357A speaker +/−SpeakerAny 4–8 Ω small speaker
Button terminal AGPIO 23Transmit button
Button terminal B3V3Button reads HIGH when pressed (internal pull-down)

Three things about this pin map that save beginners the most confusion:

The mic and the amp share GPIO 18 and 19 on purpose. Both devices hang off the same I2S clock lines — that is exactly how the firmware pins them. It works because push-to-talk is half-duplex: when you press the button, the firmware stops the speaker output and starts the microphone; when you release, it swaps back. The two devices never talk at the same instant.

Ground the INMP441's L/R pin. Left floating, the microphone may not answer on the channel the firmware reads. L/R to GND makes the mic respond on the left channel, matching I2S_MIC_CHANNEL in the default config.

The button goes to 3V3, not to GND. The firmware configures GPIO 23 with an internal pull-down resistor, so the pin reads HIGH only while the button connects it to 3.3 V. Wiring the button to GND gives you a button that never triggers.

On power: for bench testing and your first calls, both units on USB cables is the entire power design. Battery builds are a later step — the community builds show an 18650-shield route and a LiPo-plus-charger route — and neither changes anything in this wiring table.

Set up the firmware

The firmware is atomic14's esp32-walkie-talkie, an Arduino-framework PlatformIO project, MIT-licensed. Every setting a beginner needs lives in one file, src/config.h — but there is one gotcha worth understanding before you touch anything: the transport switch lives in two places, and the build file wins.

The project's build file (platformio.ini) passes compile-time flags that pre-enable ESP-NOW mode and the I2S microphone. The example override file for generic DevKits (platformio_override.example.ini, copied to platformio_override.ini to activate) does the same — here it is in full:

# Example PlatformIO Project Configuration Override
# ------------------------------------------------------------------------------
# Copy to platformio_override.ini to activate overrides
# ------------------------------------------------------------------------------
# Please visit documentation: https://docs.platformio.org/page/projectconf.html

[platformio]
default_envs = tinypico,esp32dev

[env]
upload_speed = 921600

[env:esp32dev]
board = esp32dev
build_flags = -Ofast -D USE_ESP_NOW -D USE_I2S_MIC_INPUT

Those -D flags define the macros before config.h is even read, so commenting a #define in config.h changes nothing while the flag is present. The practical steps below handle both places correctly.

Step 1 — get the project. Install the PlatformIO extension for VS Code (or the PlatformIO CLI), clone or download the repository, and open the project folder. PlatformIO reads platformio.ini automatically.

Step 2 — make your DevKit the build target. The project ships configured for the maker's own TinyPICO and a Lolin32 board. For a plain DevKit, copy platformio_override.example.ini to platformio_override.ini in the project root. That file adds an esp32dev environment — the standard target for classic ESP32 DevKits — and makes it a default. You have now done the hard part.

Step 3 — choose your transport.

  • ESP-NOW (recommended first build): change nothing. The esp32dev environment already builds with -D USE_ESP_NOW -D USE_I2S_MIC_INPUT, so a stock build is an ESP-NOW walkie-talkie with the INMP441 enabled. No credentials to enter.

  • UDP: edit your new platformio_override.ini and remove -D USE_ESP_NOW from the build_flags line, leaving -Ofast -D USE_I2S_MIC_INPUT. Then open src/config.h and fill in your network:

// WiFi credentials
#define WIFI_SSID << YOUR_SSID >>
#define WIFI_PSWD << YOUR_PASSWORD >>

Use your 2.4 GHz network's name and password — the classic ESP32 does not speak 5 GHz.

Step 4 — check the settings that match your wiring. These are the defaults the wiring table above was written against:

// are you using an I2S microphone - comment this if you want to use an analog mic and ADC input
// #define USE_I2S_MIC_INPUT

// I2S Microphone Settings

// Which channel is the I2S microphone on? I2S_CHANNEL_FMT_ONLY_LEFT or I2S_CHANNEL_FMT_ONLY_RIGHT
// Generally they will default to LEFT - but you may need to attach the L/R pin to GND
#define I2S_MIC_CHANNEL I2S_CHANNEL_FMT_ONLY_LEFT
// #define I2S_MIC_CHANNEL I2S_CHANNEL_FMT_ONLY_RIGHT
#define I2S_MIC_SERIAL_CLOCK GPIO_NUM_18
#define I2S_MIC_LEFT_RIGHT_CLOCK GPIO_NUM_19
#define I2S_MIC_SERIAL_DATA GPIO_NUM_21
// speaker settings
#define USE_I2S_SPEAKER_OUTPUT
#define I2S_SPEAKER_SERIAL_CLOCK GPIO_NUM_18
#define I2S_SPEAKER_LEFT_RIGHT_CLOCK GPIO_NUM_19
#define I2S_SPEAKER_SERIAL_DATA GPIO_NUM_5
// Shutdown line if you have this wired up or -1 if you don't
#define I2S_SPEAKER_SD_PIN GPIO_NUM_22

// transmit button
#define GPIO_TRANSMIT_BUTTON 23

The complete files these excerpts come from are served with this guide — config.h and platformio_override.example.ini — byte-identical to the repository at the commit this page documents.

Two useful extras in the same file: ESP_NOW_WIFI_CHANNEL sets the ESP-NOW channel (1–11, default 1 — every unit must match), and TRANSPORT_HEADER_SIZE can tag each packet with a header so two nearby pairs of units don't cross-talk. The microphone's #define USE_I2S_MIC_INPUT staying commented in config.h is not a problem — your build flags already define it — and the analog-microphone path (an electret module on GPIO 35) is there if you ever want it, covered in the substitution notes above.

Flash, pair and make your first call

Both units get the identical firmware — there is no "sender" or "receiver" build. Flash one, flash the other, power both.

Connect the first ESP32 by USB, pick the esp32dev environment, and upload (the right-arrow icon in VS Code's PlatformIO toolbar, or pio run -e esp32dev -t upload on the CLI). If the upload can't find the board, hold the BOOT button on the DevKit as it starts writing. Repeat for the second unit — same firmware, no changes between them.

Open the serial monitor at 115200 baud and watch the first boot. What you want to see:

  • In ESP-NOW mode: the unit's MAC address (its unique radio ID), then ESPNow Init Success.

  • In UDP mode: your router hands the unit an IP address (My IP Address is: …) — and no ESP-NOW messages appear, which is expected. If instead you see Connection Failed! Rebooting..., the SSID or password in config.h is wrong (or the network is 5 GHz-only) — the unit will keep retrying.

The LED tells you the state at a glance once booted: it settles solid when the transport is ready and flashes while the unit is connecting or transmitting. On a plain DevKit the firmware simply uses the built-in LED (on = active) rather than colors.

Now make the call:

  1. Put the units a meter apart on the bench, speakers up.

  2. On unit A, press and hold the transmit button and speak normally — hold for at least a second; the firmware transmits a minimum of one second per press so quick taps don't clip your audio.

  3. Your voice plays out of unit B's speaker, live, with no action needed on unit B — receiving is automatic.

  4. Release, then do the same from unit B. Congratulations: that's a working pair.

Half-duplex is the honest behavior to expect: while you hold the button, your own unit's speaker is muted — one voice at a time, like a real walkie-talkie. Don't be surprised by the delay on UDP (around half a second end to end in community testing); on ESP-NOW, conversation at local range feels tighter. If audio is garbled, silent or choppy, work the troubleshooting section below before touching wiring — the causes are almost always configuration, not a broken part.

How far will it really reach?

Why the numbers you'll see online are all over the place

Search for ESP32 walkie-talkie range and you'll find everything from 50 m (RASPIAUDIO's MUSE PROTO fork) to 150 m (the $39.00 assembled DSTIKE unit, tested in open conditions per its Tindie listing) to 600+ m (a Hackaday.io build). Nobody reconciles them, so here is the reconciliation. Five variables explain almost all of the spread:

  1. Line of sight vs walls. At 2.4 GHz (≈12.5 cm wavelength), free-space loss is ~40 dB at 1 m and grows ~6 dB per doubling of distance — ~80 dB by 100 m. Indoors, each interior drywall wall typically adds 3–5 dB, and brick, concrete or metal-cored walls can add 10–20 dB each. Losing 6 dB of link budget roughly halves your free-space range, so two solid walls can turn a 100 m radio into a 15 m radio.

  2. Antenna. A plain DevKit's PCB antenna is roughly a 0–2 dBi affair soldered to the board. The 600+ m Hackaday.io build used an ESP32-WROOM-32-U module (no onboard antenna) with a U.FL pigtail and an external dipole; the Adafruit guide adds a 5 dBi dipole the same way. A few dBi of real antenna and getting the radiator out of the enclosure is one of the biggest single range wins available.

  3. TX power — mostly a non-factor here. The stock firmware never touches TX power, so every build above transmits at essentially the same default (near the regulatory ceiling for 2.4 GHz Wi-Fi in most regions). If a build claims dramatically more range, it got it from the antenna or the environment, not the radio's power dial.

  4. Transport: ESP-NOW broadcast vs UDP over your router. Both ride the same 2.4 GHz radio, so raw RF reach is the same. What differs is recovery: the stock ESP-NOW path sends to the broadcast address, which gets no MAC-layer acknowledgement and no retry — a lost packet is a hole in your audio. UDP through an access point behaves like any Wi-Fi traffic on that network and inherits its retries and its congestion. Neither is magically longer-range; ESP-NOW just fails more gracefully when there's no router at all.

  5. 2.4 GHz congestion and the definition of "works". The band is shared with every neighbour's Wi-Fi, and "600 m" sometimes means "the occasional packet arrived," not "speech was intelligible." In atomic14's own outdoor ESP-NOW test (stock antennas, broadcast, 64 packets/s like this firmware), essentially every packet arrived within 50 m, 50–100 m saw roughly 30% loss, the practical 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. That's occasional-packet reach, not a dependable radius.

Realistic expectations

Every figure below is a planning number, not a guarantee — treat them as "typical for this hardware," and test your own pair outdoors to find where speech actually stops being intelligible.

ScenarioRealistic usable rangeWhy (one line)
Same room, nothing between unitsWhole room, clean audioLine of sight at 2.4 GHz costs only ~6 dB per distance doubling — trivial indoors
Indoor, room to next room (1–2 drywall walls)~10–20 m usableEach drywall wall eats ~3–5 dB; a few walls consume most of a small radio's fade margin
Indoor, opposite ends of a home / brick-concrete wallsOften <10 m or dropoutsSolid walls cost 10–20 dB each at 2.4 GHz — the link budget runs out fast
Outdoor line of sight, stock PCB antennaDependable ~50 m; 50–100 m increasingly lossy; occasional packets to ~320 mMatches atomic14's field test (30% loss band 50–100 m; cut-off ≈320 m)
Outdoor line of sight, long-range Wi-Fi modeOccasional packets to ~500 mLower PHY rate buys sensitivity at a bandwidth cost — not usable-audio territory
Outdoor line of sight, external antenna (WROOM-32-U + U.FL pigtail + ~5 dBi dipole)Hundreds of meters; 600+ m builder-reportedReal antenna gain plus the radiator out of the case recovers 10+ dB of link budget
Any of the above on a congested 2.4 GHz channelCut the above, sometimes heavilyNeighbouring Wi-Fi collides with your packets; pick a quiet channel (1/6/11) when you can

Need more range? In order of bang-for-buck: move the units up and out of enclosures, add the external-antenna path (U.FL/w.FL module + pigtail + dipole), then think about the long-range mode's trade-offs. Don't chase TX power — the stock firmware already transmits near the regulatory default.

Troubleshooting: choppy audio, dropouts and delay

Ordered by how often each one actually bites people on this exact BOM (plain DevKit + INMP441 + MAX98357A, stock firmware). The config values referenced live in src/config.h unless noted.

#SymptomLikely root cause on this hardwareFix
1No audio at all on a fresh INMP441 buildThe I2S microphone was never enabled: config.h ships with USE_I2S_MIC_INPUT commented out and the default input is the internal ADC on GPIO 35. The stock build environments pass -D USE_I2S_MIC_INPUT as a compile flag, which enables it anyway — so this bites when a custom environment omits the flagBuild the esp32dev environment from the override file (its flags enable the I2S mic), or add -D USE_I2S_MIC_INPUT to your build_flags, or uncomment #define USE_I2S_MIC_INPUT in config.h — on both units — and reflash
2Nothing heard on ESP-NOW only (UDP works)Channel mismatch: all units must use the same ESP_NOW_WIFI_CHANNEL (default 1) — mismatched sends fail silently (the stock firmware never joins Wi-Fi; only a modified build that also associates needs to match the router's channel)Set the same ESP_NOW_WIFI_CHANNEL on every unit; on a modified build that also joins Wi-Fi, match the router's channel too
3Loud hash/noise or silence from the speakerI2S channel mismatch on the mic: firmware expects the left channel (I2S_MIC_CHANNEL = ONLY_LEFT), and the INMP441 only outputs left when L/R is tied to GND — a floating L/R lands it on the wrong channelTie the INMP441 L/R pin to GND, or switch to I2S_CHANNEL_FMT_ONLY_RIGHT in config.h
4Robot-voiced or pitch-shifted audioSample-rate mismatch between the two units: both must run SAMPLE_RATE 16000; change it on one unit only and playback runs at the wrong speed and pitch (an 8 kHz sender into a 16 kHz receiver plays at double speed)Diff config.h across both units; identical SAMPLE_RATE (and transport settings) on both
5Audio starts, then gaps of silence every second or two; serial monitor prints "Buffering" repeatedlyOutput buffer underrun: playback only starts after 4,800 samples (300 ms) accumulate, and if the link can't sustain the 16,000 bytes/s stream the buffer drains, playback stops dead and re-buffersTreat as packet delivery, not a buffer knob: fix the link (rows 6–8). The 300 ms / 4,800-sample figure is compiled into Application.cpp (new OutputBuffer(300 * 16)) — raising it trades more latency for more tolerance, it doesn't fix a lossy link
6Choppy audio on UDP onlyWi-Fi modem sleep adds hundreds of milliseconds of receive latency in bursts — the stock code disables it precisely because of this (WiFi.setSleep(WIFI_PS_NONE) in Application.cpp, commented "this has a dramatic effect on packet RTT") — plus 2.4 GHz congestion on your channelKeep the setSleep line in any modified build; move both units and the router onto a quiet channel (1/6/11); test with the router's other clients idle
7Choppy audio on ESP-NOW that worsens with distanceBroadcast ESP-NOW gets no MAC-layer ACK and no retry — each lost 250-sample packet is a permanent 15.6 ms hole in the audio (64 packets/s at 16 kHz), and loss climbs with distance exactly as atomic14's range test showed (≈30% loss at 50–100 m)Move closer / raise the units; set ESP_NOW_WIFI_CHANNEL away from neighbours; add an external antenna (see the range section above). If you're modifying the firmware, deliberate packet duplication is the community's workaround at weak range
8Choppy audio on UDP that clears when other Wi-Fi use stopsYour 1,436-byte packets (~90 ms of audio, ~11/s, sized to fit under the 1,500-byte packet limit most networks carry — the MTU) are competing with bulk traffic; bursts queue and drop at the routerQuiet channel, fewer concurrent clients, or keep units close to the AP — the packet size itself is already right for the transport
9Buzz or hiss in the audio that changes when you touch wires, plug in USB, or key the PTT buttonPower/ground noise on the INMP441: it runs from the DevKit's 3.3 V rail, and long jumper wires pick up noise from the amp, speaker leads and the Wi-Fi TX bursts themselvesKeep mic wires short and away from speaker leads; tie all grounds to one point; add a 100 nF decoupling cap across the INMP441 VDD/ground right at the mic if you have one; try a different USB cable/port or a battery to confirm it's rail noise
10Distorted/clipped voice up closeMic overload: the firmware scales each 32-bit I2S sample down by >> 11 with fixed headroom — there's no automatic gain control (AGC) to even out loud and quiet, so loud close-talk clips before it ever reaches the networkSpeak from ~30 cm, or in a modified build shift one bit further (>> 12) to trade loudness for headroom
11Speaker silent or clicking, mic path verifiedMAX98357A wiring: the firmware can toggle the amp's shutdown line on GPIO 22 (I2S_SPEAKER_SD_PIN); amp data is DIN on GPIO 5, and clone boards label pins differentlyCheck DIN→5, BCLK→18, LRC→19, SD→22 (or set I2S_SPEAKER_SD_PIN -1 if unwired); confirm the speaker is 4–8 Ω on the amp's output, not a raw line-out
12Two pairs of walkie-talkies cross-talkAll stock units share transport framing with no discriminatorGive each set its own header via TRANSPORT_HEADER_SIZE (default 0) and different ESP_NOW_WIFI_CHANNELs

Test in this order: confirm clean audio at 1 m, then tune mic gain and speaker volume, then walk the range out — that way any new symptom is the link, not the bench setup. (Short range first, then outdoors, is the Hackaday build's own testing advice.)

Going further

A working pair is the base camp, and the community has already mapped the climbs:

  • The full handheld. The Hackaday flagship build adds a 20-channel selector with an OLED interface, IMA ADPCM compression and battery monitoring — the full handheld experience, with published gerbers if you want its PCB manufactured (compared in the Other community builds table on the walkie-talkie project page).

  • The strict-budget build. A feasibility write-up works through the smallest viable variant on an ESP32-C3 SuperMini — no PSRAM and no DAC, so it needs a codec, but the bill of parts shrinks.

  • The always-on intercom. If what you actually want is an always-on, both-directions, house-scale intercom rather than push-to-talk, that is a different kind of build with its own tooling — full-duplex ESPHome/WebRTC intercom projects, not attempted here.

When you're ready to add boards to the fleet, our ESP32 hub collects every board guide and ESP32 project on the site.

Where to buy the parts

Every part in the build has its own page on MCU Atlas with current buying options — start from the Parts list above and click through for the latest sources and prices. The two named prices on this page: the MAX98357A amplifier board at $5.95 direct from Adafruit (checked 2026-11-24), and the assembled DSTIKE ESP32 walkie-talkie at $39.00 from Tindie (checked 2026-11-24) — the shortcut if you want a finished unit rather than a build. The INMP441 and generic DevKits are marketplace parts with no single maker store; their parts pages track the reliable sources.