2026-10-14

The ESP32 beginner route: pick the project before the parts

ESP32ESP32-S3ESP-IDFVoice AssistantFirmwareOpen SourceEdge AISmart HomeDebuggingBuying GuideMicrocontrollerAI Agent
The ESP32 beginner route: pick the project before the parts

The ESP32 is one of the cheapest ways to put a computer inside a project, and almost nobody who fails with it fails because of the chip. The boards cost a few dollars, the toolchain is free, and the documentation is abundant. The failures happen earlier, in the order of operations: parts arrive before there is a project, a board arrives before anyone checked whether a project supports it, and an AI assistant gets credit for work it cannot actually do.

This guide is a route rather than a project. It is compiled from official documentation and from the public community threads where beginners describe what went wrong, and it ends with fourteen projects grouped by how much of them you can copy before you have to understand anything. Nothing here was measured on hardware in hand; where a number comes from a vendor or a campaign page, it is labelled as such.

The trap is buying parts before a project

The most common opening move is also the most expensive one in time: order a development board, an ultrasonic distance sensor, a motor driver, a chassis, a buck converter, a breadboard, jumper wires and a battery at the same time, then discover that no single tutorial covers that pile. One widely read thread on a Chinese developer forum described exactly this, with the author concluding that it felt less like a hobby and more like changing careers.

The same pattern shows up in English-language communities. A newcomer posts a photograph of a table covered in parts and asks where to begin; the most useful reply asks why so many boards were bought at once and suggests starting with one.

There are three routes, and they are not equal.

The second route is recommended for a specific reason. The xiaozhi-esp32 project, the most popular Chinese-language voice assistant firmware for this chip family, states in its own README that it supports 138 board directories and 171 release variants, and names boards including the LiChuang practical series, the Espressif ESP32-S3-BOX-3, the M5Stack CoreS3 and the Waveshare ESP32-S3-Touch-AMOLED-1.8. The same README tells beginners to skip the development environment entirely on their first attempt and flash a prebuilt image instead.

Translated: if the board is on that list, you do not have to write a line of code.

There is a pattern in the success stories too. The parent who built an electronic pet for a child used a ready-made board with a battery included. A user who built a desktop token-usage monitor bought a board with a screen that the seller had already soldered. The people who finish are usually the people who bought the finished thing first.

The assistant is not inside the board

This is the misunderstanding that causes the most disappointment, so it is worth stating plainly. Buying an ESP32 does not put an AI inside the ESP32.

Take xiaozhi-esp32, the project most beginners copy. The wake word is recognised on the board, offline. Everything after that leaves the device: your speech goes out as an audio stream, and the understanding, the answer and the spoken reply are produced on a server. The firmware connects to the official xiaozhi.me service by default, where a personal account can use the Qwen real-time model for free.

A useful way to think about it is a restaurant ordering kiosk. The board takes your order, plays the audio and lights the screen. The kitchen is somewhere else.

There is a more extreme version of the same lesson. A widely shared post described a seven-dollar ESP32 letting an AI operate an ordinary iPhone, and the demonstration was convincing enough to attract more than 150,000 views. What the author stated just as clearly is that the models ran locally on two DGX Spark machines. The ESP32 was a USB keyboard and mouse. A seven-dollar board in front of two workstations is a good picture of where the intelligence actually sits.

What is cheap is the board. What is hard is running the whole loop of listening, thinking, acting and feeding the result back.

What to buy, and what to ask first

Specific models are not recommended here, because that would be guessing without hardware to test. What can be recommended is the set of criteria used to choose.

A compact ESP32-S3 development board with a camera module

Three questions to the seller before ordering are worth the effort. Is it a finished, soldered board. Does it come with the assistant firmware preinstalled. And can they supply the schematic and the factory source. A preinstalled firmware lets you skip straight to the pairing gate below, and the schematic and source are the precondition for modifying anything later.

A small ESP32 board with onboard microphone and speaker

Three things have to be at home as well: a computer that can run Chrome or Edge, because browser-based flashing is documented as verified on those two; a 2.4 GHz Wi-Fi network, because the pairing flow only supports 2.4 GHz; and a USB cable that carries data, not one of the two-core charging cables. That last item costs more time than it should. The official flashing documentation calls out the charging-cable problem specifically, and community threads describe people tracing connection faults for an hour before replacing the cable.

Try it before you buy it

If you have not decided whether this is for you, blink an LED first.

Asked what a single board and a person who knows nothing should do next, several replies in one community thread gave the same answer: make the board blink an LED. It is the smallest possible complete loop, and it exercises the toolchain, the cable and the board at once.

You can do it without owning anything. Browser-based simulators such as velxio.dev run ESP32 DevKit-class boards and ship with a blinking-light example, with nothing to install. That will not catch cable or power problems, but it answers a more important question before you spend money: whether you enjoy this at all.

A simulated ESP32 project running in a browser tab

Run it on the official service first

Once the board is flashed, the first real decision is whether to use the vendor's service or run your own. The project's README makes the default explicit: the firmware points at the official server, and a personal account gets the Qwen real-time model for free. Community self-hosted server projects also exist and are well documented.

The instinct to self-host is understandable and, for beginners, usually wrong at first. One parent who built the electronic pet started down that road precisely because he did not trust the public service, stood up his own server and connected various models and speech services, and reported afterwards that his token consumption had taken off. The replies underneath were worse: someone running the cheapest possible server described the conversation as sluggish and slow, and others had given up entirely, finding local deployment unimpressive and API calls too slow. The original poster ended up measuring his own server against the official service and concluding that the official service was better tuned.

That is worth remembering before optimising. Get it working on the official service, confirm you actually use it daily, and only then consider self-hosting.

Three things are still worth deciding early. Where the device sits, because speech after the wake word travels to a server and a bedroom is a poor location for that. What it costs, because the official service is currently free for personal users while self-hosted servers and third-party model APIs are paid for by you. And what to expect, because the microphone on boards at this price point is serviceable rather than good.

Make a restore point before you change anything

Anyone who has played a game knows the rule: save before the boss.

It applies here with one addition. When the board first works, write down three things: the board model, the firmware file name including its version, and where it was downloaded from. If a later change breaks the board, that note is how you get back. And if the thing you are modifying is a finished product rather than a blank development board, there is a fourth step before any of it: back up the original firmware, because flashing overwrites what was there and the original is not downloadable.

A full dump of a 16 MB flash takes roughly half an hour depending on the tooling. Browser-based utilities such as ESPConnect can back up a partition or a selected region without installing anything locally. Half an hour buys a way back, which is a good trade the first time you need it.

AI writes the first ninety percent

Can an AI do the modifications for you? Largely yes, with a boundary that is worth understanding before you rely on it.

Before touching any code, there is a step many people skip. The assistant console lets you set the agent's role, and the README notes that the wake word, the font, the expressions and the chat background can all be changed in the browser. Getting those right teaches you how the device behaves without risking anything.

When you do reach the code, the useful mental model is where the hands are. The README describes the device side as controllable through the MCP protocol, covering volume, lights, motors and general-purpose pins. In plain terms, the model decides what should happen in the cloud, and the board performs the physical part: switching a light, turning a motor, pressing a button. That split is why someone with no knowledge of C or Python can still get a servo to move and a physical button to register.

Whether to learn fundamentals first is a genuine argument in the community, and it splits into three camps. The outcome-first camp says that understanding the requirement and being able to judge whether the AI's result is good is enough. The fundamentals camp says you cannot even talk to the AI usefully until you can blink an LED, and one reply put the practical objection well: an AI cannot plug the jumper wires in for you. The formal camp argues the ESP32 is a toy and that anyone serious about embedded work should start on an STM32 instead.

The position taken here is outcome-first with one floor: be able to blink an LED and know which pin is which. That floor is low, and it is the part no model can do remotely.

The people who succeeded describe the same method. The parent with the electronic pet described iterating against the AI until it worked. The token-usage monitor was flashed with an AI assistant writing most of the commands, though it took several attempts and a change of model before it held together. One creator who went from zero to a modified assistant firmware summarised three rules: get the schematic and factory source from the seller, back up the entire flash before you start, and use an AI that can operate a terminal directly rather than pasting code back and forth.

A finished ESP32-S3 e-paper badge, worn

And it breaks the last ten percent

The most instructive failure story in this category comes from a developer who handed the whole project to an AI: the design, the part selection, the code, and even how to use a soldering iron. Under twenty-four hours later, he had a working voice conversation robot.

Then he spent two weeks hunting a distorted audio fault. He swapped the speaker, changed the power supply, investigated Wi-Fi interference, checked DMA buffers. None of it helped. The cause turned out to be a single type problem in a line of C++, introduced by the AI itself during one of its own refactors. His summary was that changing one character made the problem disappear.

Under twenty-four hours to build it. Two weeks to debug it. One character.

His conclusion is worth quoting rather than paraphrasing: an AI can do a great deal for you, but it cannot replace your judgement. Two other people in the same thread described similar shapes: one had a working script from an AI in half a day and then spent three days finding that it called a buggy version of an old API, and another stalled at roughly ninety percent on an audio application.

In fairness, that thread dates from earlier in the year and the models have improved since. But a better model is not a cure. The person in the story was already using the best models available to him at the time.

The practical rules that follow are three. Change one thing at a time and test it on real hardware immediately. Confirm the restore point still exists before you start. And make the AI explain its plan and add logging before it edits, then judge the result by what the device does rather than by what the AI says it did.

The thread also collected advice for debugging with an AI: log more, add code review and tests to the project so the AI can catch its own refactoring damage, and have a different model review the fix. Those are community suggestions rather than tested methods.

A finished ESP32 e-paper watch project

Not everyone agrees the whole approach is worth it. Under the token-monitor thread, one comment argued that the function could have been pure software, and the author agreed without defending himself: he just wanted to display it on hardware. Another observed that building hardware entirely by vibecoding is a slot machine with slightly better odds, and one comment cut closer than most: a lot of managers see the twenty-four hours it takes to build something and never see the two weeks it can take to find the bug.

Those are fair objections. If you still want to build after hearing them, that is a reasonable sign.

Five gates, each with a pass mark

The most unpleasant part of learning hardware is not the difficulty of any single step. It is finishing a step and not knowing whether you did it correctly. The route below is broken into five gates, each with an explicit pass mark, based on the project's official flashing and network-configuration documentation. If your seller says the firmware is preinstalled, jump to gate four.

Five gates from firmware download to first conversation

The official documentation offers three flashing methods: Espressif's Flash Download Tool on Windows, Espressif's browser-based ESP-Launchpad, and third-party browser tools. The browser route is described below because it requires the least installation.

Gate What you do Pass mark
1. Firmware Find your board by name in the official board list, allowing for pinyin or English spellings, and download and unpack it. You have a single merged binary file, and its folder path contains no non-ASCII characters.
2. Connection Connect the board with a data-capable cable, open the browser flasher, and select the serial port. The page reports a connection to the device and the connect button turns into a disconnect button.
3. Flashing Select the binary, set the flash address to zero, and start. The console reaches one hundred percent, and after a manual reset the log shows the network-configuration prompt.
4. Pairing Join the access point the device broadcasts and enter your Wi-Fi credentials. The page confirms success, the device restarts by itself, and it joins your network.
5. First sentence Wake it with the wake word, read the six-digit code it speaks or displays, and register it in the console. You complete one full exchange. A screen reading only "connected" does not count.

Gate two is where most people stall, and the documented causes are worth listing: the pop-up shows no device at all, which the documentation attributes to the wrong port, the wrong interface, or a serial port already held open by other software; a cable with the same connector on both ends that carries power but not data, which is a common enough trap that community threads recommend swapping to a cable with different ends; two USB ports on the board where only one is the UART port; and a board that will not enter download mode, which is handled by holding the boot button, tapping reset for about half a second, and then releasing boot. Some boards have no auto-reset circuitry and must be put into download mode by hand.

At gate three, remember that flashing replaces whatever firmware was on the board, and that the device does not restart itself afterwards. The reset step in the web tool is required, and its confirmation dialogue is easy to miss.

At gate four, note that the pairing network only supports 2.4 GHz. If you are sharing a connection from an iPhone, the maximum-compatibility setting has to be on. If the access point never appears, confirm the flash succeeded and the status light is blinking, and consider moving closer to the router, since some retail batches are reported to have weak Wi-Fi.

At gate five, the code is the real test. If nothing is spoken, check the speaker first, and if you are using a third-party board, check that the firmware matches it.

When you are stuck, and you will be

Being stuck is the normal state. In a widely cited sample of one ESP32 community forum covering six months, roughly one post in five was a request for help.

The recommended order of checks is: power, then the data cable, then the port, then the firmware, then the network, then the service, then the peripherals. Almost every blocker listed above sits somewhere in that sequence.

The order to check things in when a board will not cooperate

When you ask for help, whether from a forum or from an AI, include the same six things every time: the board model exactly as the product title reads, the project and firmware version, the computer's operating system and browser, what you expected and what actually happened, what you have already tried, and a log or screenshot with passwords and tokens masked. When asking an AI, add one instruction: explain the plan and which files will change, wait for confirmation, and change only one thing at a time.

A few safety lines

These are short, and none of them are optional.

Fourteen projects, grouped by how hard they are

The projects below are grouped by the distance between copying them and understanding them, not by how interesting they are. Star counts are values read from the GitHub API on 14 October 2026 and they move; thirty-day deltas come from third-party trackers and should be read as trends rather than measurements.

Fourteen ESP32 projects grouped by how much you can copy

Copy and run.

Project What it is Notes
xiaozhi-esp32 Voice AI assistant firmware, with the largest Chinese-language body of tutorials Needs a supported board; conversation goes through the cloud. 31,066 stars, about 1,000 added in thirty days
CrossPoint Reader Open-source e-reader firmware for finished devices such as the Xteink X4 and X3 The README recommends the browser installer. 8,345 stars
WLED Controls addressable RGB LED strips from a phone browser Needs a strip and a suitable power supply. 18,844 stars
ESPHome Brings sensors and lights into home automation through configuration files Usually paired with Home Assistant. 11,891 stars
ESPConnect A browser console for inspecting, backing up and flashing a board Requires a recent Chrome or Edge. 2,175 stars

Some wiring, good second projects.

Project What it is Notes
ESP32 Plane Radar A round desk display showing live aircraft overhead Flashed from the browser after entering download mode. 1,056 stars
Clawdmeter A small desk screen showing coding-agent usage Needs a matching display board. 2,257 stars
esp32-weather-epd A low-power e-paper weather station Needs wiring and the right panel and battery. 6,309 stars
Cheap Yellow Display A cheap touchscreen ESP32 board and the community around it Clone boards differ; read the community notes before buying. 4,529 stars
ESP32-C3 Adblock A DNS ad blocker built on a very cheap chip Changes a router setting, so a mistake affects the whole network. 3,030 stars

Look, but do not build first.

Project What it is Notes
ESP32 iPhone Agent Lets a model drive an ordinary phone over Bluetooth The demonstration models ran on two local workstations; the board was a keyboard and mouse. Widely shared, and a bad first build
esp32-ai Runs a small language model on the chip itself The author states it cannot answer questions or follow instructions, which is the clearest illustration of where on-device models stand. 4,520 stars
Muse Gadget SDK Meta's open SDK for building small screen devices Requires an SDK token. 2,160 stars
esp-claw Espressif's on-device agent framework for developers 2,241 stars
claude-desktop-buddy An official reference for connecting a small board over Bluetooth Depends on an M5StickC-class board and a developer mode. 2,651 stars

Worth reading even if you build none of them.

One developer who spent twenty years in user experience, graphic and brand design wrote that most of his ideas had stalled for want of a developer to build them, and that a small ESP32 board had finally let him produce a working prototype. A Chinese-language ESP32 guide by DuRuofu is a reasonable next step after this article. The browser simulator mentioned above is also worth fifteen minutes before any purchase.

For a sense of the ceiling, a widely discussed project replaced a bowling centre's control system, quoted at around 120,000 US dollars, with roughly 1,600 dollars of ESP32 hardware. It drew 2,935 points and 359 comments, which made it the highest-scoring ESP32 post on that forum in the past year. It is not a beginner project; it is a useful reminder of what the platform can reach.

Before you start

IOTTourChina covers open-source IoT hardware and the silicon behind it as part of its developer resource. This is editorial coverage, not an endorsement or an advertisement; specifications, availability, licensing and pricing should be confirmed with the vendor before you buy or build. Star counts were read from the GitHub API on 14 October 2026 and change continuously.

← All news