One Chip, Four Jobs: ESP-Hi’s Codec-Free ESP32-C3 Robot Dog

ESP-Hi is an open-source quadruped built around a single Espressif ESP32-C3-MINI-1-N4 module. The project’s published component cost comes to roughly $7.40, and the hardware files are released under GPL-3.0 on OSHWHub. What it leaves out is more instructive than what it includes: no audio codec, no application processor, no camera and no native app. The chip’s own ADC, I2S and Wi-Fi radio do the work, while the language model runs somewhere else entirely.

That is the point of the project: showing how little board-level hardware a conversational desk pet actually needs. Four jobs land on the one chip — capturing audio, generating audio, drawing expressions, and holding up the Wi-Fi link and peripheral control — while a separate base board drives the legs. ESP-Hi listens, replies, changes expression on a small colour screen, reacts when you shake it, walks on four legs and takes commands from a browser, all from a 160 MHz RISC-V core with 400 KB of SRAM and 4 MB of flash, with no PSRAM at all.

The result is less a product than a reference design for the cheapest tier of AI toys. For anyone deciding what goes inside a talking object, the interesting question is not whether the dog works; it is which parts of a conventional voice stack the designers managed to delete.

Green infographic showing three ESP-Hi open-source robot dogs in yellow, white and blue beside their detachable display bodies, with ESP32-C3-MINI-1-N4 specifications
One controller, three shells: the ESP-Hi body sits above three finished four-legged builds.
ESP-Claw expansion board, an ESP32 programmable robotics I/O module for DIY robot projects, at AIXTOY

ESP-Claw Expansion Board — ESP32 Robotics I/O Module

$48.99

The starting point when you would rather not design the carrier board. ESP-Hi puts the microphone preamp, audio amplifier, display and servo headers directly onto its own 1.2 mm PCB — an ESP32 robotics I/O board gives you the same signals on a ready-made carrier, so you can spend the weekend on firmware and gait instead of on the schematic. Add your own servos, screen and enclosure as the build grows.

One chip, four jobs

The body is a small yellow or blue box with a 0.96-inch colour TFT on the front, an electret microphone, a 2014B 8-ohm/1-watt cavity speaker and a mercury tilt switch. USB Type-C supplies power. A separate four-legged base connects over a second USB-C cable when you want the thing to walk; without it, the body is still a working voice terminal.

Language-model conversation is not local. ESP-Hi connects to XiaoZhi AI, the open-source ESP32 voice firmware published at github.com/78/xiaozhi-esp32 under MIT. Audio goes up, the reply comes back down, and the screen draws an expression while it plays. The project page lists a wake word — “Hi, Espressif” — alongside a physical button as the two ways to start talking, and states that XiaoZhi is currently the only platform wired up, with others still being adapted.

To see how unusual that hardware list is, put it next to a board designed for headroom. The ESP32-S3 AI Dev Board we stock pairs a dual-core ESP32-S3 with a 2.16-inch 480 × 480 AMOLED touchscreen, on-board voice input and playback, and a DVP camera module at $139.99. We looked at ESP-Hi briefly in our round-up of three open-source ESP32 robot dogs alongside Petoi’s Bittle and OpenCat; this is the full teardown that round-up did not have room for. That S3 board is the right answer for a product that needs vision, local graphics or on-device models. ESP-Hi deliberately goes the other way: one C3, one small screen, one analogue microphone circuit, four hobby servos. It is a useful reminder that cloud-first AI toys do not need a bigger MCU — they need a cheaper bill of materials and a clean analogue front end.

The constraint is real, though. Espressif’s C3 documentation notes that the ADC2 channels share hardware with the Wi-Fi radio, so analogue sampling while Wi-Fi is active has to use ADC1. A design that streams audio over Wi-Fi while sampling a microphone through the same SAR ADC is balancing on a narrow ledge, which is why the power and grounding choices below matter more here than they would on an S3 board.

What the dog can actually do

Four capabilities are documented, and each one costs a different kind of engineering.

Conversation and expression. XiaoZhi handles speech recognition, the model and synthesis; ESP-Hi handles wake-up, audio in, audio out and a face. The 0.96-inch TFT shows expressions during a conversation. The project page is explicit that only XiaoZhi is integrated so far, so anyone assuming a choice of backends is ahead of the firmware.

Shake to wake. A mercury switch inside the case senses motion, and the firmware uses a shake to wake the device, interrupt a reply in progress or trigger an action. One detail matters if you are ordering boards: the V1.1 revision, dated 21 May 2025, changed the mercury switch to not fitted by default and removed the external wake-up chip circuitry. Whether your clone reacts to a shake depends on the PCB revision and whether you populated that part.

Four-legged motion. The Servo Dog base uses four 180-degree SG92R micro servos, one per leg, driven from its own board. The project page says “a dozen or so” pre-programmed actions in its introduction and “dozens” in the mechanics section, while the web console lists twelve presets. Treat the console as the authority; the prose counts are a floor, not a specification.

Browser remote control. After XiaoZhi network setup, put a phone or laptop on the same Wi-Fi network and open esp-hi.local (mDNS) or the device IP. The page offers forward, back, left and right, twelve preset actions, servo levelling, and a drag-anywhere direction pad; an action can be interrupted mid-run. No app store, no account on the device itself.

Green infographic listing four ESP-Hi capabilities: XiaoZhi AI conversation with expressions, mercury shake sensing, four SG92R-servo legs, and browser remote control at esp-hi.local
Four documented capabilities. Each one leans on a different peripheral of the same C3.

Two stacked assemblies, one USB-C cable

ESP-Hi is split into a “brain” and a “body”, and the split is electrical as much as mechanical.

The brain is a stacked assembly: a 1.2 mm ESP-Hi MainBoard PCB, a 3D-printed shell, a light-shielding and noise-damping structure, and a 1 mm acrylic front panel holding the screen. The internal baffle is there to improve the microphone’s acoustic environment — a small printed part doing the job that a foam gasket or a better-placed capsule would do in a mass-produced toy.

The body is a ServoDogBoard PCB, four 3D-printed structural parts, four SG92R servos and a 702040 500 mAh lithium-polymer cell. Four servos drive four legs; USB-C links the base back to the brain.

Building it in two stages is a genuinely useful product decision, not only a maker convenience. A desktop voice companion can be assembled and debugged without any mechanics, and the walking base can be added later. For a small AI toy brand, that is two price points and two development risks from one electronics design. You can see the same logic in our ESP32 robotics I/O boards: a carrier with the signals already broken out, so the mechanics can be chosen later.

Green infographic with an exploded 3D view of the ESP-Hi stacked body on the left and three complete four-legged robot dogs on the right, plus 1.2 mm PCB and 702040 battery specifications
Exploded body at left, finished quadrupeds at right. The two stages share one USB-C link.

Four circuits that keep the BOM short

The schematic is where the savings happen. Four blocks are worth reading closely, because each replaces a part you would normally buy.

Power. USB Type-C feeds an RT9013-33GB regulator for the 3.3 V rail. Wi-Fi transmissions arrive in sharp current spikes, so load regulation is not academic: a sagging rail shows up as noise in the microphone and as distortion in playback. The design adds low-pass filtering and separates the microphone supply path from the MCU supply path. On this chip, with Wi-Fi and the SAR ADC competing for the same silicon, that isolation is the difference between a usable voice channel and a hissy one.

Audio in. A 4 × 1.5 mm electret capsule feeds an LMV321 op-amp in what the project calls a transimpedance stage, converting the capsule’s output current to a voltage; resistive biasing then presents it to the ESP32-C3 ADC. The project notes an ADC input range of roughly 0–1 V, so the gain has to be chosen against the sensitivity of the capsule you actually bought. There is no ES8311, no I2S MEMS microphone, no codec.

Audio out. I2S-PDM comes straight off the MCU and is routed differentially to suppress Wi-Fi interference, passes through an RC filter, and lands in an NS4150B amplifier set for a gain of 7.2× before reaching the 8-ohm speaker. Differential routing costs a few resistors; it buys back audio quality that a single-ended trace across a Wi-Fi antenna would lose.

Base power. The four servos run directly from the battery, while the base boosts battery voltage to 5 V for the brain. Keeping servo current off the controller rail is exactly the brown-out fix that quadruped builders are usually told to add with a second supply — here it is baked into the copper. Because four stalled servos can draw a large instantaneous current, the base uses a small slide switch paired with a MOSFET instead of a bulky high-current toggle.

Green table infographic describing four ESP-Hi circuit blocks: RT9013 power, LMV321 microphone input, NS4150B differential audio output and the boost plus MOSFET servo base supply
Power, mic, speaker and base supply: what each block removes from a conventional voice BOM.

What to order

The project is a two-part build, so the parts list splits cleanly. PCB, 3D-print files and the base firmware ship as project attachments; check the board revision before you send anything to a fab.

Body: ESP-Hi MainBoard PCB (1.2 mm board thickness), 3D-printed shell and light-shielding parts, a 2014B 8 Ω/1 W square cavity speaker, a 4 × 1.5 mm electret microphone, a 0.96-inch TFT, and a 1 mm acrylic front panel with M2 × 4 mm self-tapping screws.

Base: ServoDogBoard PCB with its four printed parts, four 180° SG92R servos, a 702040 500 mAh Li-Po cell, plus servo horns, screws and the Type-C connector parts.

The ~$7.40 is the “replication cost” quoted on the OSHWHub project page, and it is worth reading narrowly: it covers parts before PCB fabrication, 3D printing, shipping, a soldering iron or the hours of assembly. At the other end of the same category, a ready-built Petoi Bittle V2 lists at $299.99 and arrives with a gait engine, a frame and support. Neither number is a lie; you are buying different things. ESP-Hi hands you the schematic and the education, not a finished pet.

Version history is on the same project page: V1.0 on 19 May 2025, V1.1 two days later, and V1.2 on 2 April 2026, which moved the FPC connector to a top-entry footprint so the rear cover can be opened up for external devices. Interfaces and some component configurations changed between them. Build from the engineering files of the revision you actually ordered.

Green infographic with two bills of materials for the ESP-Hi body and the Servo Dog base, plus the approximate component cost and V1.0 to V1.2 revision dates
Body list at left, base list at right. The published component cost covers neither fabrication nor printing.

Flashing firmware and opening the browser console

A base firmware binary is packaged with the project, flashed at address 0x00. The official four-step sequence is short:

1. Hold the Boot button on top of the device.

2. Apply power so the ESP32-C3 enters download mode.

3. Write the firmware to 0x00 with a flashing tool.

4. Release Boot and power-cycle to run it.

For the conversational build, the project page points at the xiaozhi-esp32 repository and gives the build command python3 scripts/release.py esp-hi. The listed feature set is wake word and button wake-up, XiaoZhi platform integration, light control, robot-dog control and web control. Two caveats belong in any honest write-up: the upstream firmware moves fast and pins its own ESP-IDF version in its README, so match the toolchain to the release you check out; and the project page says source code is still being organised, so treat the repository’s current state as the authority rather than a snapshot in any article.

Once firmware is in and XiaoZhi provisioning is done, the browser console at esp-hi.local is the real user interface. That is also where servo calibration lives — which is where most first builds go wrong.

Green infographic showing four ESP32-C3 firmware flashing steps, the command python3 scripts/release.py esp-hi, and the browser console features at esp-hi.local
Flash at 0x00, then the browser becomes the interface — including the calibration page.

Six things that bite builders

Every one of these is a documented note in the project materials, not general maker folklore.

Board thickness. Order the main board at 1.2 mm. The stack-up and the printed shell assume it.

Microphone resonance. Mounted inside the printed cavity, the capsule can sit in an air pocket that rings and dulls the audio. The project’s recommendation for better pickup is to stick the microphone directly to the front panel and run wires back to the PCB.

USB-C charging. CC1 and CC2 on the servo-base USB port each need a 5.1 kΩ resistor to ground. Without them, a USB-C-to-USB-C cable may simply refuse to charge the base.

Servo wiring. Check the pin order against the PCB silkscreen before plugging in the four servos. The board labels its four channels by leg position, and a reversed connector is an easy way to spend an evening debugging a gait that is not broken.

Servo levelling. Read the calibration notes before the first use of the web calibration page. The procedure puts the four legs flat, then lets you nudge each servo with an on-screen button until every leg is parallel to the body and in one straight line — and warns against forcing the horns by hand, which can strip a servo. If a leg cannot be levelled, loosen the screw between that leg and the servo horn, rotate it a tooth, and retighten.

Green infographic with a photo of four white robot legs and a red arrow marking the smallest screw, labelled in English, beside the browser servo calibration procedure
The smallest screw, labelled in English: the fastener between the leg and the servo horn.

Revision drift. V1.0, V1.1 and V1.2 do not carry identical connectors or default component populations — the mercury switch change in V1.1 is the clearest example. Work from the files for your board.

Green infographic listing six ESP-Hi build pitfalls: 1.2 mm board thickness, microphone resonance, 5.1 kOhm CC resistors, servo silkscreen pin order, levelling and revision drift
Six documented build notes, from board thickness to revision drift.

Why this project is worth more than the robot

A four-legged toy that answers questions is charming for about ten minutes. ESP-Hi’s durable value is that it is a complete, readable sample of low-cost embedded AI: audio capture without a codec, a differential output stage that survives its own Wi-Fi radio, power rails split so a stalled servo cannot reset the controller, a web console standing in for an app, and a screen used for expression rather than information. Every one of those decisions is visible in the schematic, which is why the hardware is published under GPL-3.0 rather than sold as a black box.

For anyone building an AI companion toy commercially, the transferable lesson is about where the intelligence sits. On ESP-Hi it sits in the cloud and in the model; the device spends its 400 KB of SRAM on being a good microphone, a good speaker and a good pair of eyes. That division is what makes a conversational toy possible at this price, and it is also its boundary: no network, no conversation. Anyone promising an entirely offline companion needs a different chip.

If you would rather hold a finished version of the idea before committing to a soldering iron, the XiaoZhi Mini AI Robot Dog is the closest thing on our shelf — a compact voice-interactive quadruped at $79.99, with the firmware and mechanics already integrated. Read this build first, though. Knowing which four parts were left out to hold the component cost down makes the price of a finished product much easier to read.

XiaoZhi Mini AI robot dog, a compact voice interactive companion robot pet with a display face, at AIXTOY

XiaoZhi Mini AI Robot Dog — Voice Interactive Companion Pet

$79.99

The finished end of the same idea: a compact quadruped that arrives with voice interaction, a display face and the mechanics already integrated, so there is no PCB to fab, no shell to print and no servo to level. Read the ESP-Hi teardown first — knowing which parts were removed to reach a low component cost makes the price of a ready-built companion much easier to read.

Specifications, pricing and revision dates above were checked against the OSHWHub project page, the Espressif ESP32-C3-MINI-1-N4 datasheet and the upstream xiaozhi-esp32 repository. We have not built or tested a unit; treat the project’s own files as the authority for any replication.

Tags:

More on AI Toys

Your Shopping cart

Close

Your Cart

Your Cart

You're 100.00$ away from Free Gift
🎁
$
🚚
100.00$ Free Gift
200.00$ 10% Discount
300.00$ Free Shipping

Your Cart is Empty

Start Shopping
Payment Details
Sub Total 0.00$