Arduino IDE vs PlatformIO vs ESP-IDF vs MicroPython: Which ESP32 Environment Should You Use?

Last updated: 2026-11-22

Pick Arduino IDE if you are starting out and want the fastest first blink. Pick MicroPython if you know Python and want the fastest learning loop. Pick PlatformIO when your project grows past one board or one sketch. Pick ESP-IDF when you ship a product or need every feature the chip offers. The rest of this guide proves it: what each environment is, how setup, debugging, libraries, and speed compare, and the same blink and button program written in each one.

Table of contents

What is Arduino IDE?

Arduino IDE is the simplest way to program an ESP32: a free editor from Arduino, currently version 2.3.x, with one job: open a sketch, pick a board and a port, and upload. There is no project file, no build system, and no terminal to open. You write C++ with the Arduino functions you already know, and the IDE compiles it and flashes it.

Setup takes about ten minutes. Download Arduino IDE from the Arduino software page, then teach it about ESP32 boards: open File, Preferences, and paste Espressif's board manager URL, https://espressif.github.io/arduino-esp32/package_esp32_index.json, into the Additional boards manager URLs field. Open the Boards Manager, search for esp32, and install esp32 by Espressif Systems. Do not install Arduino ESP32 Boards by Arduino; that package only covers Arduino's own boards such as the Nano ESP32. The current Arduino-ESP32 core is 3.3.12, based on ESP-IDF 5.5.5. The full walkthrough, board by board, is in the Arduino IDE ESP32 setup guide.

Arduino IDE is best for a first board, a first sketch, a classroom, and any project that fits in one file. It holds one sketch per window and one board at a time, its Library Manager installs libraries globally, and there is no unit testing or per-project version pinning. When a library update breaks an old sketch, you find out at compile time.

What is PlatformIO?

PlatformIO is a professional build system that lives inside VS Code. It is free and open source, and the current release is PlatformIO Core 6.2.0. You still write Arduino C++ if you want to, but the project is defined by a text file called platformio.ini, which records the board, the framework, and every library version. The same project builds the same way on any computer, and you can keep the file in version control next to your code.

A minimal platformio.ini for a DevKit V1 looks like this:

[env:esp32dev]
platform = espressif32
board = esp32dev
framework = arduino
monitor_speed = 115200

Change framework = arduino to framework = espidf and the same project builds against Espressif's native framework instead. One project can hold several environments, so a DevKit V1, an S3 DevKitC-1, and a C3 SuperMini can all build from the same folder. Libraries are declared per project with lib_deps, and PlatformIO downloads the exact versions you named. The full walkthrough is in the PlatformIO ESP32 setup guide.

One version warning, because old tutorials get this wrong: before platform 8.x, the official PlatformIO platform topped out at 6.12.0 with Arduino core 2.0.17, and 3.x needed a community fork called pioarduino. Platform 8.0.0 ships Arduino core 3.3.12, and the sketch in this guide compiled against it. If a tutorial tells you to pin platform = [email protected], it is out of date.

PlatformIO is best when your project grows past one board, when you want reproducible builds or real debugging, or when you already live in VS Code. It costs about thirty minutes to set up the first time, and for a single blink sketch it is overkill.

What is ESP-IDF?

ESP-IDF is Espressif's own framework for the ESP32, written in C. It is the layer everything else sits on: the Arduino core is built on ESP-IDF, and PlatformIO can build ESP-IDF projects directly. With ESP-IDF you talk to the chip with no middleman, so every peripheral, every power mode, and every Wi-Fi and Bluetooth option is available, usually months before it reaches the Arduino core.

The current stable release is ESP-IDF 5.5. Install it with the ESP-IDF Installation Manager, or clone it with git clone -b v5.5 --recursive https://github.com/espressif/esp-idf.git and run ./install.sh. A project starts from the hello_world example, and the commands you will use most are idf.py set-target esp32, idf.py menuconfig, idf.py build, idf.py flash, and idf.py monitor. The menuconfig step opens a text menu for the chip, flash size, Wi-Fi settings, and hundreds of other options, and the VS Code ESP-IDF extension (version 2.0 or newer) finds your installation automatically. The full first project is in the ESP-IDF first project guide.

ESP-IDF is best for a product you will ship, for battery work where every milliamp matters, for code that needs the newest chip features, and for learning how the ESP32 really works. It is the hardest of the four: no single-click upload, no simplified pin functions, and a slower build. One measured comparison on an ESP32-S3 took 21.8 seconds for a clean ESP-IDF build against 5.9 seconds for the same blink in Arduino, but the firmware was the smallest of the four, 211,541 bytes against 288,426 for Arduino. Do not put spaces in your ESP-IDF project path; the build system does not support them.

What is MicroPython?

MicroPython is Python 3 running on the microcontroller itself. You flash the firmware onto the board once, and after that there is no compile step at all. You type Python at a live prompt called the REPL, and the board answers at once. You save your program as main.py, the board runs it at boot, and editing a line means copying the file again.

Setup takes about fifteen minutes. Download the firmware for your board from the MicroPython download page; the current release is 1.29, with 1.28 the release before it. Erase the flash with esptool.py erase_flash, then write the firmware with esptool.py --baud 460800 write_flash 0x1000 ESP32_GENERIC-20260406-v1.28.0.bin, using your own filename and port. Thonny can do the whole flash for you, and mpremote repl opens the prompt from a terminal. The full walkthrough is in the MicroPython ESP32 getting started guide.

MicroPython is best if you already know Python, if you are teaching, if you are prototyping a sensor or a web page, or if you want to test hardware by typing commands. It is not for hard real-time work or code that must run at full speed: Python on the board is interpreted, so tight loops run roughly 10 to 20 times slower than the same logic in C, and one benchmark measured a GPIO toggle at about 50 kHz in MicroPython against about 1 MHz in C++. The interpreter also takes RAM and flash, so big buffers and camera frames run out sooner, though boards with PSRAM give MicroPython far more headroom. For reading a sensor every few seconds or sending an MQTT message, the speed never matters. For bit-banging a fast protocol, it does.

The four environments at a glance

Arduino IDE PlatformIO ESP-IDF MicroPython
Language C++ (Arduino functions) C++ (Arduino or ESP-IDF) C Python 3
Editor Arduino IDE 2.3.x VS Code VS Code or terminal Thonny or VS Code
Setup time, first time About 10 minutes About 30 minutes About 30 to 60 minutes About 15 minutes
First blink Board URL, install core, upload New project, platformio.ini, upload Install IDF, set target, build, flash Flash firmware, save main.py
Debugging Serial Monitor, exception decoder Breakpoints, JTAG, variable watch Breakpoints, JTAG, GDB REPL, print, Thonny debugger
Libraries Global Library Manager Per-project lib_deps, pinned versions Components, IDF Component Manager micropython-lib, frozen modules
Multi-board projects One sketch, one board Several environments in one project One target per build One board per session
Unit tests No Yes, built in Yes, with Unity No, test by hand
Code speed Full speed Full speed Full speed, smallest firmware 10 to 20 times slower in tight loops
Learning curve Easiest Medium Steepest Easiest if you know Python
Best for First board, classroom Growing projects, teams Products, low power, new features Learning, prototyping, sensors
Not for Multi-board or versioned work A single quick blink A first project Hard real-time, fast bit-banging

How does debugging compare?

Debugging is where the four environments split most clearly. Arduino IDE gives you the Serial Monitor and the exception decoder, which prints a readable stack trace when your sketch crashes. Its built-in debugger exists, but for ESP32 it is limited: it is built on Cortex-Debug, which targets ARM Cortex cores, while the ESP32 uses Tensilica cores and the C3 and C6 use RISC-V. The ESP32-S3 can debug over its built-in USB JTAG connection, but the support that landed in Arduino IDE 2.3.0 was rough at first and still needs a compatible board definition. In practice, most ESP32 work in Arduino IDE is still Serial.print debugging.

PlatformIO and ESP-IDF debug properly. Both use OpenOCD and GDB over JTAG, so you can set breakpoints, step through code, and watch variables change. On the S3 the built-in USB JTAG works with no extra probe; on the original ESP32 you need an external JTAG adapter such as an ESP-Prog. This is the single biggest reason to move a stubborn project from Arduino IDE to PlatformIO: when Serial.print stops telling you enough, a breakpoint will.

MicroPython debugs differently. There is no compiled firmware to step through, so you debug by talking to the board: type a line at the REPL and see the answer, print values as the program runs, and use Thonny's debugger to step through Python lines. For sensor work this is often faster than a breakpoint.

How does library management compare?

Arduino IDE installs libraries globally through its Library Manager. That is simple until two projects want two versions of the same library, and then it is a problem, because there is only one installed copy. The library install guide shows both sides of this: the Arduino IDE steps and the PlatformIO steps, side by side.

PlatformIO pins every library in platformio.ini with lib_deps, so each project carries its own exact versions and a teammate gets the same build. ESP-IDF does the same with components and the IDF Component Manager, versioned against the ESP-IDF release you use. MicroPython has the smallest library story: the micropython-lib collection covers the common drivers, and anything unusual you write yourself in Python. For a project with more than a handful of dependencies, per-project pinning is the difference between a build that works twice and a build that works once.

How fast is the code in each environment?

Arduino, PlatformIO with the Arduino framework, and ESP-IDF all compile to native code, so they run at full speed. The difference between them is firmware size and build time, not runtime speed. One measured comparison on an ESP32-S3 built the same blink program three ways: Arduino took 5.9 seconds and produced 288,426 bytes, ESP-IDF took 21.8 seconds and produced 211,541 bytes, and MicroPython had no compile step, copying a 217-byte main.py onto a 1,783,296-byte firmware image.

MicroPython is the slow one at runtime, and you should know the size of the gap before you choose it. In tight loops it runs roughly 10 to 20 times slower than the same logic in C, and one benchmark measured a GPIO toggle at about 50 kHz in MicroPython against about 1 MHz in C++. Reading a temperature sensor every five seconds, serving a small web page, or sending an MQTT message never notices the gap, because the waiting time dwarfs the compute time. Bit-banging a fast protocol, driving WS2812 LEDs by hand, or sampling an ADC at high speed does notice it. MicroPython has two escapes for hot code: the @micropython.native and @micropython.viper decorators compile a function to machine code, and the hardware peripherals (PWM, SPI, I2C, UART, RMT) run at full speed in any language.

Memory follows the same pattern. The MicroPython interpreter and its heap take a share of the ESP32's RAM, so large buffers and big JSON documents run out sooner than in C. Boards with PSRAM give MicroPython far more headroom. The garbage collector can also pause your program briefly, which is one more reason MicroPython is not for hard real-time work.

Which one should you pick?

If you are… Pick… Because…
Holding your first ESP32 Arduino IDE Fastest first blink, most tutorials, least to learn; same functions if you come from an Uno
A Python programmer MicroPython No new language, instant REPL feedback
Teaching a class or a club Arduino IDE or MicroPython Both give a result in the first session
Prototyping a sensor or a web page MicroPython Edit and run in seconds, no compile wait
Growing past one board PlatformIO One project, several boards, pinned libraries
Working with a team PlatformIO Same build on every computer, version control friendly
Shipping a product ESP-IDF Every feature, smallest firmware, full control
Writing hard real-time code ESP-IDF or Arduino Native code, deterministic timing

If you are still unsure, start with Arduino IDE. It is the default for a reason, and everything you learn there transfers: the same sketch runs in PlatformIO, and the same C++ carries into ESP-IDF when you are ready.

Can you switch environments later?

Yes, and the cost depends on the direction. Arduino IDE to PlatformIO costs nothing: copy the sketch into a PlatformIO project, add a platformio.ini, and it compiles with the same core. An ESP-IDF project does not run in Arduino IDE, and a MicroPython script runs nowhere except on a MicroPython board. PlatformIO to ESP-IDF costs a rewrite, because ESP-IDF uses different APIs for Wi-Fi, GPIO, and tasks, although the C knowledge transfers. MicroPython to anything else costs a full rewrite in C or C++, because Python does not compile to native firmware.

The one switch to avoid is mixing environments in the same project without a plan. Pick one environment per project, keep its files together, and note the versions you used.

The same program in three environments

One program, three listings: it blinks the onboard LED on GPIO 2, watches a push button on GPIO 4, and prints a count each time the button is pressed. The button is wired from GPIO 4 to GND, with the internal pull-up holding the pin HIGH until the button pulls it LOW.

Arduino IDE and PlatformIO use the same C++ sketch. In Arduino IDE, save it as blink-button.ino and upload it. In PlatformIO, save it as src/main.cpp with #include <Arduino.h> at the top, plus the platformio.ini from the PlatformIO section above.

// Blink + button counter - Arduino-ESP32 core 3.x
// Board: ESP32 DevKit V1 (30-pin), onboard LED on GPIO 2, button on GPIO 4
// Wiring: one side of the push button to GPIO 4, the other side to GND.
const int LED_PIN = 2;      // onboard LED on the DevKit V1
const int BUTTON_PIN = 4;   // push button wired from GPIO 4 to GND
int pressCount = 0;
bool lastButtonState = HIGH;

void setup() {
  Serial.begin(115200);
  pinMode(LED_PIN, OUTPUT);
  pinMode(BUTTON_PIN, INPUT_PULLUP);  // button pulls the pin LOW when pressed
  Serial.println("Blink + button counter ready. Press the button.");
}

void loop() {
  digitalWrite(LED_PIN, HIGH);
  delay(500);
  digitalWrite(LED_PIN, LOW);
  delay(500);
  bool buttonState = digitalRead(BUTTON_PIN);
  if (buttonState == LOW && lastButtonState == HIGH) {
    pressCount++;
    Serial.print("Button pressed. Count: ");
    Serial.println(pressCount);
  }
  lastButtonState = buttonState;
}

This sketch compiled in PlatformIO 6.2.0 (espressif32 8.0.0, Arduino core 3.3.12) in 24.92 seconds: 6.7 percent of RAM, 20.5 percent of flash.

MicroPython does the same thing in Python. Save it as main.py on the board; it runs at boot, after boot.py. The REPL stays live, so you can type led.value(1) at the >>> prompt and turn the LED on by hand. This listing was not run on a board during the draft check; it is the same logic as the compiled C++ program above.

# Blink + button counter - MicroPython 1.28+ on ESP32 DevKit V1
# Onboard LED on GPIO 2, button on GPIO 4 wired to GND.
from machine import Pin
import time

led = Pin(2, Pin.OUT)
button = Pin(4, Pin.IN, Pin.PULL_UP)
press_count = 0
last_state = 1

print("Blink + button counter ready. Press the button.")
while True:
    led.value(1)
    time.sleep_ms(500)
    led.value(0)
    time.sleep_ms(500)
    state = button.value()
    if state == 0 and last_state == 1:
        press_count += 1
        print("Button pressed. Count:", press_count)
    last_state = state

ESP-IDF has no listing here: its version needs a full project with a CMake file and a sdkconfig, not a single pasted file. That is the point: ESP-IDF is a project, not a sketch. The ESP-IDF first project guide walks through its hello_world example.

What goes wrong?

Mistake What happens Fix
Installing "Arduino ESP32 Boards" in Arduino IDE Your DevKit board never appears in the board list Install "esp32 by Espressif Systems" from Espressif's board manager URL
Old core 2.x code on core 3.x "invalid conversion" and missing function errors Update the code to the 3.x APIs, or pin core 2.0.17 in a separate install
Forgetting erase_flash before MicroPython Old firmware or settings fight the new flash Run esptool.py erase_flash before the first flash
Overwriting boot.py in MicroPython The board can stop responding and need a reflash Leave boot.py alone; put your program in main.py
Spaces in an ESP-IDF project path The build fails with a path error Move the project to a path with no spaces
Expecting C speed from MicroPython A fast loop or bit-banged protocol misses timing Use hardware peripherals, @micropython.native, or switch to C
Using a charge-only USB cable The board powers on but the port never appears Use a data cable; the upload failed guide covers this

Frequently asked questions

Which environment is best for an ESP32 beginner?

Arduino IDE, unless you already know Python, in which case MicroPython. Both give you a blinking LED in the first session. Arduino IDE has the most tutorials written for it, and the skills transfer directly to PlatformIO later. MicroPython has the fastest feedback loop, because there is no compile step at all.

Can I use Arduino libraries in PlatformIO?

Yes. PlatformIO uses the same Arduino core, so Arduino libraries work unchanged. You declare them in platformio.ini under lib_deps instead of installing them through a Library Manager, and each project pins its own versions.

Can I use Arduino code in ESP-IDF?

Not directly. ESP-IDF has its own APIs for GPIO, Wi-Fi, tasks, and timers, so an Arduino sketch needs rewriting, though the concepts transfer. PlatformIO lets you mix the two in one project with framework = arduino, espidf, which is the usual halfway step.

Is MicroPython too slow for a real project?

For most sensor, display, and network projects, no. MicroPython runs 10 to 20 times slower than C in tight loops, but reading a sensor every few seconds or serving a web page never notices the gap. It is too slow for hard real-time work, fast bit-banging, and large camera frames. If your program spends its time waiting, it is fast enough; if it spends its time computing, use C.

Do I need to pick one environment and stay in it?

No, but pick one per project. Arduino sketches move to PlatformIO for free, and MicroPython prototypes tell you exactly what the C version needs to do. Note the environment and versions you used when you start, so a switch mid-project does not break the build.

Which environment works on the ESP32-C3, S3, and C6?

All four. Arduino IDE, PlatformIO, ESP-IDF, and MicroPython all support the C3, S3, and C6, with board-specific firmware for MicroPython and board entries for the rest. The ESP32-H2 has no Wi-Fi radio, so it cannot run Wi-Fi code in any environment.

Parts used in this guide

Shipped fast and securely from our secure facility in New York, providing fast, high quality USA shipping.

In this series

Sources

ESP-NOW Explained: Two ESP32 Boards, No Router

Last updated: 2026-11-22

Yes, two ESP32 boards can talk to each other with no router, no Wi-Fi password, and no internet connection. The protocol is called ESP-NOW. Each board sends small packets of up to 250 bytes straight to the other board's MAC address, usually arriving in a few milliseconds. This guide explains how ESP-NOW works, its limits, how to encrypt it, when to pick it over Wi-Fi or Bluetooth, and gives you a working two-way sketch.

Table of contents

What is ESP-NOW?

ESP-NOW is a connectionless wireless protocol from Espressif that lets ESP32 and ESP8266 boards send data directly to each other using the Wi-Fi radio, without joining a network. There is no router, no access point, no password, no DHCP, and no IP address. The sender puts its data inside a short Wi-Fi packet called a vendor-specific action frame and addresses it to the receiver's MAC address. The receiver's hardware answers with an acknowledgement frame, and a callback on the sender reports whether it was delivered.

With normal Wi-Fi, a board first connects to the router, checks the password, gets an IP address, and only then sends data, which usually takes 1 to 3 seconds. ESP-NOW skips all of it, so a battery sensor can wake up, send its reading, and go back to sleep within a few hundred milliseconds. While connecting to Wi-Fi the radio draws more than 100 mA for seconds; with ESP-NOW the board is awake for a fraction of a second. That is why ESP-NOW is the standard choice for battery sensors, remote controls, and two-board robot cars.

ESP-NOW is not a replacement for Wi-Fi. It has no internet, no phone can talk to it, and it only works between Espressif chips. If you need a web page or a cloud dashboard, one board acts as a gateway: it talks ESP-NOW to the sensors and Wi-Fi to your router.

What are the ESP-NOW limits?

Learn these limits before you design the network, because they decide the packet format and the number of boards you can use.

Limit Value What it means
Data per packet 250 bytes (ESP-NOW v1) Sensor values fit easily; a photo does not
Data per packet, v2 1470 bytes (ESP-IDF 5.4 and later) Arduino core 3.2+; a v1 board truncates or drops packets over 250 bytes, so stay at 250 in mixed networks
Registered peers Up to 20 per board The boards you send to; a gateway can listen to more sensors if it only receives unencrypted packets
Encrypted peers 7 by default Older Arduino cores allowed 10; the limit is configurable in ESP-IDF up to 17
Default data rate 1 Mbps Higher rate means shorter range; Long Range drops to 0.5 or 0.25 Mbps
Frequency 2.4 GHz, channels 1 to 13 Both boards must use the same channel
Delivery acknowledgement Yes for unicast, none for broadcast Unicast gets a hardware ACK; broadcast never confirms arrival

The 250-byte limit is the one that shapes your code. ESP-NOW only sends an array of bytes, so the clean way to send several values at once is to group them in a struct and send the struct's bytes exactly as they sit in memory. The receiver defines the same struct and copies the incoming bytes onto it with memcpy, and the struct must have the same order, types, and size on both sides. Add __attribute__((packed)) so the compiler inserts no padding bytes between fields; the sketch below also has a static_assert that stops compilation with a clear message if the struct grows past 250 bytes. Never send a String or a pointer: only a memory address goes out, which means nothing on the other board.

How do the send and receive callbacks work?

ESP-NOW reports results through two callback functions, one for sending and one for receiving. Setup order matters: start Wi-Fi in station mode, then call esp_now_init(), then register the callbacks, then add the peer. ESP-NOW cannot work without the Wi-Fi radio, so esp_now_init() must always come after the WiFi.mode() line.

Adding a peer registers the other board by its MAC address. Clear the peer struct with = {} first; leftover values in uncleared fields cause a "Peer interface is invalid" error. Set channel to the channel both boards use, or to 0 to mean "use the board's current channel", and set encrypt to false for plain packets. If esp_now_add_peer() returns ESP_ERR_ESPNOW_FULL, the peer list is full at 20 entries; remove peers you no longer need with esp_now_del_peer().

esp_now_send() puts the packet in a queue and returns immediately; its return value only means the packet was accepted for sending. The real result arrives a few milliseconds later in the send callback: ESP_NOW_SEND_SUCCESS means the receiver's Wi-Fi hardware acknowledged the packet. "Delivered" means the packet reached the receiver's hardware, not that its program processed it. For commands that must not be lost, add a counter and a software acknowledgement: if the receiver sees the counter jump, it knows how many packets were lost, and if the same number arrives twice, it ignores the duplicate.

The receive callback runs in the Wi-Fi task, not in your loop(), so keep it short: no Serial.print, no delay, no long calculations. Copy the data into your own variable with memcpy, set a volatile flag, and let loop() do the work. On Arduino core 3.x the callback also tells you who sent the packet and the signal strength in dBm; copy those values inside the callback, because they are only valid there. A receiver need not add the sender as a peer for unencrypted unicast or broadcast; it only needs the sender on its list for encrypted packets.

Most ESP-NOW examples on the internet were written for Arduino core 2.x, and that code does not compile on core 3.x because Espressif changed the callback forms: core 3.0 changed the receive callback, and core 3.3 changed the send callback. Compiling old code on 3.x gives an "invalid conversion" error. The sketch below uses ESP_IDF_VERSION checks to pick the right form, so it compiles unchanged on 2.x, 3.0 to 3.2, and 3.3 and later.

Unicast vs broadcast: which one do I use?

Unicast sends a packet to one board by its MAC address. Broadcast sends one packet to every ESP-NOW board on the same channel. Use unicast when delivery matters, and broadcast when you need to reach boards whose addresses you do not know.

Feature Unicast Broadcast
Address One board's MAC address FF:FF:FF:FF:FF:FF
Delivery acknowledgement Yes, hardware ACK None; the send result always looks successful
Encryption Yes, with PMK and LMK No, broadcast packets cannot be encrypted
Peer list Add the board as a peer first Add the broadcast address as a peer first
Best for Commands and sensor readings Discovery and announcements

A practical pattern is to let the boards find each other with a broadcast on first boot, then learn their MAC addresses and switch to acknowledged unicast. Passing NULL as the address to esp_now_send() sends the packet separately to every peer on the list; if the broadcast address is on the list too, the packet also goes out once as a broadcast.

How do I encrypt ESP-NOW packets?

By default ESP-NOW packets are unencrypted: anyone on the same channel can capture them and send fake packets that imitate your struct. Use encryption for anything that controls something physical, such as a door lock, a garage door, or a relay.

ESP-NOW uses CCMP, the same method as WPA2, with two keys. The Primary Master Key (PMK) is 16 bytes and is the same on all devices; set it with esp_now_set_pmk(), or a default PMK is used. The Local Master Key (LMK) is 16 bytes per peer; set it when you add the peer, with encrypt set to true, and the other side must also add you as an encrypted peer with the same LMK. To receive encrypted packets, the receiver must add the sender to its list; that rule does not apply to unencrypted packets.

Two limits apply. Broadcast packets cannot be encrypted, so a network that needs encryption must use unicast. And only 7 of the 20 peers can be encrypted by default in current ESP-IDF; older Arduino cores allowed 10, and the limit is configurable up to 17.

ESP-NOW vs Wi-Fi vs Bluetooth

ESP-NOW sits between Wi-Fi and Bluetooth. Pick it when several ESP32 boards only need to talk to each other.

Method Extra module Router Packet size Typical range (open space) Best for
ESP-NOW Not needed Not needed 250 bytes 100 to 200 m Commands and sensor data between boards
Wi-Fi (HTTP, MQTT) Not needed Required Practically unlimited The router's coverage Internet, web pages, cloud
Bluetooth (BLE) Not needed Not needed 20 bytes by default 10 to 20 m indoors Connecting to a phone

Talk to a phone: use Bluetooth. Need the internet: use Wi-Fi. Several ESP32 boards that only need to talk to each other: ESP-NOW is usually the simplest way, with no extra module, cable, or router, and only a few lines of code. Its latency is a few milliseconds per packet, against 50 to 500 ms for a Wi-Fi round trip and 10 to 100 ms for BLE. The trade is that ESP-NOW only works between Espressif chips, the packet is at most 250 bytes, and there is no built-in routing or internet connection.

Which boards support ESP-NOW?

ESP-NOW needs a Wi-Fi radio, so it runs on every ESP32 chip that has one, plus the ESP8266.

Board or chip ESP-NOW Note
ESP32 (WROOM-32, DevKit V1) Yes Also supports Long Range mode
ESP32-S2, ESP32-S3, ESP32-C3, ESP32-C6 Yes Same code, only the board selection changes
ESP32-C2 (ESP8684) Yes No Long Range mode
ESP32-H2 No No Wi-Fi radio, so no ESP-NOW
ESP8266 (NodeMCU, Wemos D1 Mini) Yes Different library (espnow.h), v1 only
Raspberry Pi Pico W / Pico 2 W No Its Wi-Fi chip cannot run ESP-NOW
Arduino Uno, Nano, Mega No Use a small ESP32 over UART as a bridge

ESP-NOW also works between different ESP chips: an ESP32-C3 sensor can send packets to a classic ESP32 gateway or to an ESP8266 board. The only requirements are that both sides are on the same Wi-Fi channel and that the data struct is defined exactly the same on both sides. The examples in this guide use two ESP32 DevKit V1 boards.

Can ESP-NOW and Wi-Fi run at the same time?

Yes. The gateway pattern depends on it. One board connects to your router over Wi-Fi, talks ESP-NOW to the sensors, and forwards the readings to a web page, MQTT, or Home Assistant. But the ESP32 has a single 2.4 GHz radio that can only work on one channel at a time. Once the gateway connects to a router, the router decides the channel: if the router is on channel 6, ESP-NOW also runs on channel 6, so every sensor must switch to the router's channel too.

The sensors in that pattern are usually battery-powered deep sleep nodes: the battery sensor node post shows the wake, send, and sleep cycle, and the LiPo power post covers the battery and regulator side.

Follow four rules for a trouble-free setup. First, the gateway connects to Wi-Fi first, starts ESP-NOW after that, and prints the router's channel with WiFi.channel(). Second, the sensors do not connect to the router; they find the channel by scanning for the network name or use a fixed channel in the code, and they do not need the Wi-Fi password. Third, set your router's channel from Auto to a fixed channel (1, 6, or 11). In Auto mode, if the router changes channel, the sensors lose the gateway. Fourth, turn off power saving on the gateway with WiFi.setSleep(false); by default a connected ESP32 puts its radio to sleep at intervals and can miss ESP-NOW packets.

If the channels do not match, the sender prints "failed", and if you added the peer with a non-zero channel, the Serial Monitor also shows "ESPNOW: Peer channel is not equal to the home channel, send fail!". Read WiFi.channel() on the gateway and set the sender to match.

What range can I expect?

ESP-NOW range is similar to a Wi-Fi link, because it uses the same radio. With the onboard PCB antenna, expect 100 to 200 m in open space and 20 to 40 m indoors through one to three walls. Reinforced concrete walls and metal objects weaken the signal the most, so place the boards high and keep the antenna clear of metal plates, batteries, and cables.

Metric Typical value Note
Indoor range 20 to 40 m (1 to 3 walls) Concrete and metal cut it fastest
Open-space range 100 to 200 m PCB antenna, higher is better
Long Range mode Up to 1 km Espressif line-of-sight figure
Default data rate 1 Mbps A higher rate means a shorter range
Airtime, 250-byte packet About 2.5 ms Including ACK and waiting
Theoretical packet rate About 300 packets per second Lower in practice
Command latency A few milliseconds No connection setup or server needed

To increase range, use modules with an external antenna, such as the ESP32-WROOM-32U, and enable Long Range mode on both sides with esp_wifi_set_protocol(WIFI_IF_STA, WIFI_PROTOCOL_LR). Long Range only works between two ESP32 boards; an interface set to Long Range cannot connect to normal routers, and the ESP8266 and ESP32-C2 do not support it. When testing range on core 3.x, print the received signal strength: minus 50 dBm is very strong, minus 80 dBm is close to the limit, and packet loss starts around minus 90 dBm.

The two-way sketch: a button on one board, an LED on the other

This sketch runs on both boards; the only line that differs is the peer MAC address, since each board holds the other board's address. Press the button on one board and the LED on the other board toggles, and the other board sends an acknowledgement back, so you see both the hardware ACK and the proof that the LED really changed.

Wire each board the same way: the button goes between GPIO 4 and GND and uses the internal pull-up, so no resistor is needed. The LED is the onboard blue LED on GPIO 2 on most DevKit V1 boards; use a 220 ohm resistor and an external LED if yours has none there.

Part ESP32 pin Note
Push button GPIO 4 and GND Internal pull-up, no extra resistor
LED GPIO 2 Onboard blue LED on most DevKit V1 boards
Power USB Both boards can use separate USB ports or adapters

Upload the sketch to the first board and open the Serial Monitor at 115200 baud. It prints that board's STA MAC address, both as text and as an array line you can paste straight into the other board's code. Do the same on the second board, paste each address into the other board's peerMac array, and upload again. Use the STA address, not the AP address: the AP address is usually the STA address with the last byte increased by one, and using the wrong one is the most common reason for a "failed" message. On core 3.x, WiFi.macAddress() can return all zeros if called too early, so this sketch reads the address with esp_wifi_get_mac() instead.

// ESP-NOW two-way sketch: two ESP32 boards, no router.
// Upload this SAME sketch to both boards. The only line that differs
// between the two boards is peerMac below: each board holds the OTHER
// board's STA MAC address (printed at startup).
// Board: ESP32 DevKit V1 (30-pin WROOM-32), Arduino-ESP32 core.
// Libraries: built-in only (WiFi.h, esp_now.h, esp_wifi.h). Nothing to
// install from the Library Manager.
// Wiring on EACH board: push button between GPIO 4 and GND (internal
// pull-up, no resistor). LED is the onboard blue LED on GPIO 2.
// Press the button on one board: the LED on the other board toggles,
// and the other board sends an acknowledgement back.
#include <Arduino.h>
#include <WiFi.h>
#include <esp_now.h>
#include <esp_wifi.h>
#include <esp_idf_version.h>

#define BUTTON_PIN 4  // push button between GPIO 4 and GND
#define LED_PIN 2     // onboard blue LED on most DevKit V1 boards

// Paste the OTHER board's STA MAC address here. Run the sketch once
// with any value and read "My STA MAC" from the Serial Monitor.
uint8_t peerMac[6] = {0x24, 0x6F, 0x28, 0x00, 0x00, 0x00};

typedef struct __attribute__((packed)) {
  uint8_t type;      // 1 = command (set the LED), 2 = acknowledgement
  bool ledOn;        // the LED state the sender wants on the other board
  uint32_t counter;  // packet number, so the receiver spots lost or duplicate packets
} EspNowMessage;
static_assert(sizeof(EspNowMessage) <= 250, "ESP-NOW v1 packet limit is 250 bytes");

EspNowMessage outMsg;
volatile bool haveIncoming = false;
volatile bool lastSendOk = false;
volatile bool haveSendResult = false;
volatile int8_t lastRssi = 0;
EspNowMessage inMsg;

// Receive callback. It runs in the Wi-Fi task, so it only copies the
// packet and sets a flag; loop() does the real work.
#if ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL(5, 0, 0)
void onDataRecv(const esp_now_recv_info_t *info, const uint8_t *data, int len) {
  if (len != (int)sizeof(EspNowMessage)) return;
  memcpy((void *)&inMsg, data, len);
  lastRssi = info->rx_ctrl->rssi;
  haveIncoming = true;
}
#else
void onDataRecv(const uint8_t *mac, const uint8_t *data, int len) {
  if (len != (int)sizeof(EspNowMessage)) return;
  memcpy((void *)&inMsg, data, len);
  haveIncoming = true;
}
#endif

// Send callback. Fires a few milliseconds after esp_now_send() with the
// hardware acknowledgement result. "Delivered" means the other board's
// Wi-Fi hardware answered, not that its program processed the packet.
#if ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL(5, 5, 0)
void onDataSent(const esp_now_send_info_t *info, esp_now_send_status_t status) {
  lastSendOk = (status == ESP_NOW_SEND_SUCCESS);
  haveSendResult = true;
}
#else
void onDataSent(const uint8_t *mac, esp_now_send_status_t status) {
  lastSendOk = (status == ESP_NOW_SEND_SUCCESS);
  haveSendResult = true;
}
#endif

void setup() {
  Serial.begin(115200);
  pinMode(BUTTON_PIN, INPUT_PULLUP);
  pinMode(LED_PIN, OUTPUT);
  digitalWrite(LED_PIN, LOW);

  // ESP-NOW needs the Wi-Fi radio, so start Wi-Fi in station mode.
  // No router is joined and no password is needed.
  WiFi.mode(WIFI_STA);

  // Print this board's STA MAC address. Use the STA address, not the
  // AP address (the AP address is usually the STA address plus one).
  uint8_t mac[6];
  esp_wifi_get_mac(WIFI_IF_STA, mac);
  Serial.printf("My STA MAC: %02X:%02X:%02X:%02X:%02X:%02X\n",
                mac[0], mac[1], mac[2], mac[3], mac[4], mac[5]);
  Serial.printf("Paste as: {0x%02X, 0x%02X, 0x%02X, 0x%02X, 0x%02X, 0x%02X}\n",
                mac[0], mac[1], mac[2], mac[3], mac[4], mac[5]);

  if (esp_now_init() != ESP_OK) {
    Serial.println("esp_now_init failed");
    while (true) { delay(1000); }
  }
  esp_now_register_recv_cb(onDataRecv);
  esp_now_register_send_cb(onDataSent);

  esp_now_peer_info_t peer = {};
  memcpy(peer.peer_addr, peerMac, 6);
  peer.channel = 1;      // both boards must use the same channel
  peer.encrypt = false;  // unencrypted; see the guide for PMK/LMK encryption
  if (esp_now_add_peer(&peer) != ESP_OK) {
    Serial.println("esp_now_add_peer failed: check the peer MAC address");
  }

  outMsg.type = 1;
  outMsg.ledOn = false;
  outMsg.counter = 0;
  Serial.println("Ready. Press the button to toggle the other board's LED.");
}

void loop() {
  static int buttonState = HIGH;  // stable, debounced button state
  static int lastButton = HIGH;   // raw reading from the previous loop
  static unsigned long lastDebounce = 0;
  static bool ledState = false;   // the LED state we last asked the other board for

  int reading = digitalRead(BUTTON_PIN);
  if (reading != lastButton) lastDebounce = millis();
  lastButton = reading;
  if ((millis() - lastDebounce) > 30 && reading != buttonState) {
    buttonState = reading;
    if (buttonState == LOW) {
      // Button pressed: toggle the LED we want on the other board.
      ledState = !ledState;
      outMsg.type = 1;
      outMsg.ledOn = ledState;
      outMsg.counter++;
      haveSendResult = false;
      if (esp_now_send(peerMac, (uint8_t *)&outMsg, sizeof(outMsg)) != ESP_OK) {
        Serial.println("esp_now_send rejected the packet");
      }
    }
  }

  if (haveSendResult) {
    haveSendResult = false;
    Serial.println(lastSendOk ? "Delivered (hardware ACK)" : "Failed (no ACK)");
  }

  if (haveIncoming) {
    haveIncoming = false;
    if (inMsg.type == 1) {
      // Command: set our LED to the state the other board asked for,
      // then send an acknowledgement back.
      digitalWrite(LED_PIN, inMsg.ledOn ? HIGH : LOW);
      Serial.printf("Command #%u: LED %s (RSSI %d dBm)\n",
                    inMsg.counter, inMsg.ledOn ? "ON" : "OFF", lastRssi);
      EspNowMessage ack;
      ack.type = 2;
      ack.ledOn = inMsg.ledOn;
      ack.counter = inMsg.counter;
      esp_now_send(peerMac, (uint8_t *)&ack, sizeof(ack));
    } else if (inMsg.type == 2) {
      Serial.printf("Ack #%u: the other board set its LED %s\n",
                    inMsg.counter, inMsg.ledOn ? "ON" : "OFF");
    }
  }
}

The sketch compiles as written. With both boards running, press the button on one board and watch the Serial Monitor on both: the sender prints "Delivered (hardware ACK)", the receiver prints the command number, the LED state, and the signal strength, then the sender prints the acknowledgement. If the button press does nothing, check the troubleshooting table below before changing the code.

What goes wrong?

Symptom Cause Fix
Send callback says "Failed (no ACK)" The boards are on different channels Set the same channel on both boards; if one board also joins Wi-Fi, match the router's channel
"Peer channel is not equal to the home channel" Peer added with a non-zero channel that differs from the board's channel Set the peer channel to 0 (current channel) or to the channel the board actually uses
Packets send fine and never arrive Wrong MAC address: AP address used instead of STA Use the STA address the sketch prints; the AP address is usually STA plus one
Receiver reads garbage Struct differs between the two boards Same order, types, and size on both sides; add __attribute__((packed))
Old example will not compile on core 3.x Callback signatures changed in core 3.0 and 3.3 Use the ESP_IDF_VERSION guards from the sketch above
It works between two boards and breaks when one joins Wi-Fi The Wi-Fi board followed the router to another channel Read WiFi.channel() on the gateway and match it; fix the router channel to 1, 6, or 11
Gateway misses packets Power saving puts the radio to sleep Call WiFi.setSleep(false) on the gateway
Range is much worse than Wi-Fi Antenna blocked or board in a metal case Keep the antenna clear, raise the boards, or try an external antenna or Long Range mode

Frequently asked questions

Does ESP-NOW need a router?

No. ESP-NOW sends packets directly from one ESP32 board to another by MAC address, with no router, no Wi-Fi password, and no internet connection.

What is the biggest ESP-NOW packet?

250 bytes with ESP-NOW v1, which is what the Arduino core uses by default. ESP-NOW v2 on ESP-IDF 5.4 and later allows 1470 bytes, but a v1 board truncates or drops packets over 250 bytes, so stay at 250 in a mixed network.

How many ESP32 boards can talk ESP-NOW at once?

One board can register up to 20 peers it sends to. A gateway that only receives unencrypted packets can listen to more than 20 sensors, because receiving does not need the sender on the list.

Can ESP-NOW reach the internet?

No. ESP-NOW has no TCP/IP and no routing. Use one board as a gateway: it talks ESP-NOW to the sensors and Wi-Fi to your router.

Does ESP-NOW work on the ESP32-S3 and ESP32-C3?

Yes, on the ESP32, S2, S3, C2, C3, and C6, and on the ESP8266 with a different library. It does not work on the ESP32-H2, which has no Wi-Fi radio.

Why does my ESP-NOW code not compile on Arduino core 3.x?

Espressif changed the callback signatures: the receive callback changed in core 3.0 and the send callback in core 3.3. The sketch in this guide uses ESP_IDF_VERSION checks to pick the right form, so it compiles on 2.x, 3.0 to 3.2, and 3.3 and later.

Parts used in this guide

In this series

Sources

Which ESP32 Should I Buy? Pick the Right Board for Your Project

Last updated: 2026-11-22

Last updated: 2026-11-22

If you are asking which ESP32 should I buy, start here: buy an ESP32-S3 board. The ESP32-S3 Development Board DevKitC-1 gives dual-core processing at 240 MHz, WiFi, Bluetooth LE, native USB, and enough memory for almost every hobby project. Pick a different chip only for one clear need: Bluetooth audio, a 5 GHz network, a Thread or Matter device, a battery node that must sleep for months, or a large touchscreen.

This guide compares every ESP32 chip Espressif sells, then matches a chip to nine project types: WiFi sensor, camera, battery device, display, robotics, RC, Bluetooth audio, Thread and Matter, and USB HID. Pick the chip first. The board only breaks out the chip pins and adds a USB bridge, a regulator, and buttons.

Table of contents

Which ESP32 should you buy first?

The short answer to which ESP32 should I buy is the ESP32-S3. It is the default pick for 2026 because it covers the most project types: dual-core 240 MHz processing, WiFi, Bluetooth LE 5.0, native USB OTG, a camera interface, and PSRAM options up to 16 MB in the package. It runs Arduino, MicroPython, and ESP-IDF, and most current tutorials target it. Buy the classic ESP32 DevKit V1 instead if you are following an older tutorial word for word: it has the largest pile of existing tutorials and is the only ESP32 chip with Bluetooth Classic. Buy an ESP32-C3 board instead if the node must be tiny, cheap, and low power with only WiFi and Bluetooth LE. Buy an ESP32-C6 board instead if the project joins a Thread, Zigbee, or Matter network.

How do the ESP32 chips compare?

Use this table to pick the chip. GPIO counts are chip totals. A real board breaks out fewer pins, so check the board pinout before you order.

Chip Cores Max clock (MHz) Wi-Fi Bluetooth 802.15.4 USB PSRAM options GPIO on chip
ESP32 2x Xtensa LX6 240 Wi-Fi 4, 2.4 GHz Classic + BLE 4.2 No USB-serial bridge on board, none on chip WROOM none; WROVER 4 or 8 MB 34
ESP32-S2 1x Xtensa LX7 240 Wi-Fi 4, 2.4 GHz None No USB OTG full speed In-package up to 2 MB; external supported 43
ESP32-S3 2x Xtensa LX7 240 Wi-Fi 4, 2.4 GHz BLE 5.0 No USB OTG full speed + USB Serial/JTAG In-package up to 16 MB; external up to 32 MB 45
ESP32-C2 1x RISC-V 120 Wi-Fi 4, 2.4 GHz BLE 5.0 No USB Serial/JTAG only External up to 8 MB; none in package 14
ESP32-C3 1x RISC-V 160 Wi-Fi 4, 2.4 GHz BLE 5.0 No USB Serial/JTAG only External up to 8 MB; none in package 22
ESP32-C5 1x HP RISC-V + 1x LP RISC-V 240 Wi-Fi 6, 2.4 + 5 GHz BLE, Bluetooth Core 6.0 certified Yes, Thread 1.4 + Zigbee 3.0 USB Serial/JTAG only In-package 2 or 8 MB by variant; external up to 32 MB 29
ESP32-C6 1x RISC-V + 1x LP RISC-V 160 Wi-Fi 6, 2.4 GHz BLE 5.3 Yes, Thread + Zigbee USB Serial/JTAG only External up to 16 MB; none in package 30
ESP32-H2 1x RISC-V 96 None BLE 5.3 Yes, Thread + Zigbee USB Serial/JTAG only External up to 16 MB; none in package 19
ESP32-P4 2x RISC-V + 1x LP RISC-V 400 None, needs a companion chip None, needs a companion chip No USB 2.0 high speed OTG + full speed OTG + USB Serial/JTAG In-package 16 or 32 MB 55
ESP32-S31 2x RISC-V + 1x LP RISC-V 320 Wi-Fi 6, 2.4 GHz BLE 5.4 + Classic Yes, Thread 1.4 + Zigbee 3.0 USB OTG high speed In-package 8, 16, or 32 MB 60

On-chip SRAM, per Espressif published data: classic ESP32 520 KB, S2 320 KB, S3 512 KB, C2 272 KB, C3 400 KB, C5 384 KB plus 16 KB low-power SRAM, C6 512 KB, H2 320 KB, P4 768 KB, S31 512 KB. A camera frame, display buffer, or audio buffer that does not fit in SRAM needs PSRAM, and only the S3, C5, P4, and S31 offer it in the package in useful sizes.

Two warnings: the ESP32-P4 has no radio at all, so a P4 board needs a companion chip for WiFi and Bluetooth. The ESP32-S31 datasheet is pre-release v0.6 and the chip was sampling for select customers at last check, so treat the ESP32-S31 as a chip to watch, not a board to buy today.

What does each chip name mean?

The letter after ESP32 names the chip line. S means a high-performance Xtensa chip with USB and, on the ESP32-S3, AI vector instructions. C means a low-cost RISC-V chip. H means a low-power 802.15.4 chip with no WiFi. P means a high-performance RISC-V chip built for screens and video, with no radio. The number is the generation inside the line: the ESP32-S3 is the newer S chip, the ESP32-C6 is the newer C chip with WiFi 6 and 802.15.4, and the ESP32-C5 is the C chip that adds 5 GHz WiFi. Espressif is moving from Xtensa cores to RISC-V cores: the classic ESP32, ESP32-S2, and ESP32-S3 use Xtensa, and every newer chip uses RISC-V. The change does not change how you write Arduino code, because the Arduino-ESP32 core and ESP-IDF support both core types.

Which ESP32 is best for a WiFi sensor?

For a WiFi sensor, the ESP32-C3 is the pick when you ask which ESP32 should I buy. A single RISC-V core at up to 160 MHz reads a sensor and sends the result over WiFi or Bluetooth LE, and the ESP32-C3 runs the lowest deep sleep current in the WiFi group at around 5 uA. Pick the ESP32-C3 SuperMini or the Seeed XIAO ESP32C3 when the node must be small; both carry native USB, so no adapter is needed. Pick the ESP32-C6 for WiFi 6 or a path to Thread, and the classic ESP32 DevKit V1 for an older tutorial. Do not pick the ESP32-S3 for a plain sensor node: it works, but it costs more space and sleep current than the job needs.

Which ESP32 is best for a camera?

The ESP32-S3 is the best pick for a camera. The ESP32-S3-CAM board pairs the ESP32-S3-WROOM-1 N16R8 module, with 16 MB flash and 8 MB PSRAM, with a camera connector, dual USB-C ports, and a TF card slot. The PSRAM holds larger frames, and the ESP32-S3 vector instructions speed up small on-board vision work such as face detection. Compare the two camera boards in ESP32-CAM vs ESP32-S3-CAM: Which Camera Board to Pick, and set the S3 board up with How to Use the ESP32-S3-CAM Board for Camera Projects. Pick the classic ESP32-CAM instead for a simple WiFi camera: a live stream, photos to microSD, and motion alerts, with 4 MB of PSRAM and an OV2640 camera. Do not pick the ESP32-C3 or ESP32-C6 for a camera: neither chip has a camera interface or PSRAM in the package.

Which ESP32 is best for a battery-powered device?

The ESP32-C3 is the best pick for a battery-powered WiFi device, and the ESP32-H2 is the best pick for a battery-powered Thread or Zigbee device. The ESP32-C3 deep sleep current sits around 5 uA, the lowest of the WiFi chips. The ESP32-H2 sits around 7 uA with no WiFi radio to feed. The ESP32-C6 also sits around 7 uA and keeps WiFi 6 plus 802.15.4, so it is the pick when a battery node must talk WiFi today and Thread later. Battery life depends on the board as much as the chip: a board with a power LED, a USB-serial chip, and a linear regulator draws far more than the chip deep sleep figure. Measure the whole board in deep sleep, and read How to Power ESP32 and Arduino Projects on LiPo Power for charging, protection, regulation, and run-time math. Do not pick the ESP32-P4 for a battery device: it is the most power-hungry chip in the family.

Which ESP32 is best for a display?

The ESP32-S3 is the best pick for a display. With PSRAM it drives SPI TFT and OLED displays, holds the frame buffer in memory, and its USB OTG port supports touch input. The 1.9 inch TFT board and the 0.96 inch OLED board are compared pin for pin in ESP32 Boards with Built-In Displays: TFT vs OLED Compared. Pick the ESP32-P4 instead for a large MIPI panel: it drives MIPI-DSI displays up to 1080p, takes MIPI-CSI camera input, and encodes H.264 video in hardware. It has no WiFi or Bluetooth, so a P4 board pairs with a companion chip such as the ESP32-C6 for wireless. Do not pick the ESP32-C3 for a display larger than a small OLED: it has no PSRAM in the package and only 22 GPIO pins on the chip.

Which ESP32 is best for robotics?

The ESP32 DevKit V1 is the best pick for a first robot, and the ESP32-S3 is the best pick for a robot that also needs a camera, a display, or USB. The DevKit V1 gives dual-core 240 MHz processing, WiFi, Bluetooth, 30 pins, and 4 MB of flash on a board that fits a breadboard. The ESP32-S3 adds native USB, more memory, and a camera interface for a vision robot. The robot-by-robot picks, with wiring and power, are in How to Choose ESP32 Boards for Your Robotics Projects. One rule applies to every ESP32 robot: no board pin can power a servo or a motor directly. Every ESP32 runs on 3.3 V logic, so a 5 V sensor needs a level shifter, and servos and motors need their own power supply with a shared ground.

Which ESP32 is best for RC and drones?

The ESP32-C3 SuperMini and the ESP32-S3 SuperMini are the best picks for RC and drones, because size and weight decide the fit. The C3 SuperMini fits tight frames and runs WiFi telemetry, while the S3 SuperMini adds dual-core power and more pins for a flight controller companion or a camera. The ESP32-S2 Mini is the pick for WiFi and USB in a small board without Bluetooth. Drone fitting detail is in How to Choose ESP32 Boards for Drones and FPV Projects, and tiny-board pinouts are in How to Pick an ESP32 SuperMini Board for Tiny Builds. Do not pick the classic ESP32 DevKit V1 for a small drone frame: it is wider than a standard breadboard. Do not pick the ESP32-CAM for a drone that needs pins: the camera and the SD card take most of the free GPIO pins.

Which ESP32 is best for Bluetooth audio?

The classic ESP32 is the only pick for Bluetooth audio. It is the only ESP32 chip with Bluetooth Classic, which is what A2DP audio streaming and the Serial Port Profile (SPP) need. Every newer chip, including the ESP32-S3, ESP32-C3, ESP32-C5, and ESP32-C6, is Bluetooth LE only. Bluetooth LE does not carry A2DP audio, so a Bluetooth speaker or audio receiver must use the classic ESP32. For Bluetooth LE work such as beacons, phone apps, and BLE sensors, any chip with BLE 5 works. The ESP32-S3 is the usual pick, and the ESP32-C3 is the pick when the BLE node must be small and low power.

Which ESP32 is best for Thread, Zigbee, and Matter?

The ESP32-C6 is the best pick for Thread, Zigbee, and Matter. It combines Wi-Fi 6 at 2.4 GHz with an 802.15.4 radio for Thread and Zigbee on one chip, plus Bluetooth LE 5.3, and it supports Matter over Thread and Matter over WiFi. It also carries a low-power RISC-V core that runs while the main core sleeps. Pick the ESP32-H2 instead for a battery-powered Thread or Zigbee end device: same 802.15.4 radio and Bluetooth LE 5.3, no WiFi radio, and the lowest power draw of the two. Pick the ESP32-C5 instead when the Matter device also needs 5 GHz WiFi: it is the only ESP32 chip with dual-band Wi-Fi 6 at 2.4 and 5 GHz, plus 802.15.4. The XIAO family comparison is in XIAO ESP32C3 vs C6 vs S3 vs C5: Pick the Right Board.

Which ESP32 is best for USB HID?

The ESP32-S3 is the best pick for USB HID. It has native USB OTG, so the chip itself can act as a USB keyboard, mouse, MIDI device, or flash drive, with no separate USB chip. The ESP32-S2 also has USB OTG and is the lower-cost pick when the HID device needs WiFi and USB but no Bluetooth. The ESP32-C3, ESP32-C6, ESP32-H2, and ESP32-C5 have USB Serial/JTAG only, a programming and debug port, not a USB device port, so they cannot act as a USB keyboard or mouse. The classic ESP32 has no USB on the chip at all. For USB HID, the choice is the ESP32-S3 first and the ESP32-S2 second.

What about the ESP32-P4?

The ESP32-P4 is a high-performance microcontroller for screens, cameras, and video, not a general ESP32 board. Per the Espressif ESP32-P4 datasheet, it carries a dual-core RISC-V processor at up to 400 MHz, a low-power RISC-V core at up to 40 MHz, 768 KB of SRAM, 16 or 32 MB of PSRAM in the package, 55 GPIO pins, MIPI-CSI camera input, MIPI-DSI display output, an image signal processor, a JPEG codec, and a hardware H.264 encoder, plus USB 2.0 high-speed OTG at 480 Mbps and 10/100 Ethernet. The ESP32-P4 has no WiFi, Bluetooth, or 802.15.4 radio. A P4 board adds wireless with a companion chip, usually the ESP32-C6, over SDIO or SPI. Buy an ESP32-P4 board only for a large touchscreen, a MIPI camera, or hardware video encoding. For every other project, the ESP32-S3 costs less and already has WiFi and Bluetooth on the chip.

What about the ESP32-S31?

The ESP32-S31 is Espressif's newest multi-protocol chip, and it is a chip to watch rather than a board to buy today. Per the Espressif ESP32-S31 product page, it carries a dual-core 32-bit RISC-V processor at up to 320 MHz with a 128-bit SIMD data path, 512 KB of SRAM, 60 GPIO pins, 2.4 GHz Wi-Fi 6, Bluetooth 5.4 with LE and Classic, IEEE 802.15.4 for Thread and Zigbee, a Gigabit Ethernet MAC, USB OTG high speed, and 8, 16, or 32 MB of PSRAM in the package. The ESP32-S31 Series Datasheet is pre-release v0.6, and Espressif described the chip as sampling for select customers when it was announced, so finished boards are scarce and the Arduino and ESP-IDF support is still new, with ESP-IDF v6.1 as the listed target. If you need a board this week, buy the ESP32-S3 or the ESP32-C6 instead.

What about the ESP8266?

The ESP8266 is the predecessor chip, not an ESP32. It gives single-band WiFi on a single core with far fewer pins and no Bluetooth. It still fits one job: a simple WiFi sensor or switch where the board is already in hand and the sketch already works. For a new purchase, the ESP32-C3 costs about the same, adds Bluetooth LE and native USB, and runs the same Arduino code with more pins and more memory. If you already own a NodeMCU ESP8266 board, the setup and OLED guide is in How to Use NodeMCU ESP8266 with a Built-In OLED Display. If you are choosing between Arduino, ESP32, and RP2040, read Arduino vs ESP32 vs RP2040: Which Dev Board for Your Robot first.

Which board, not just which chip?

Once you know which ESP32 should I buy for the chip, pick the board that breaks out the pins you need. The same chip ships on many boards, and the board decides the USB connector, the regulator, the antenna, and the pins you can reach.

Chip Board pick Notes
ESP32 ESP32 DevKit V1, 30-pin, ESP32-WROOM-32 Most tutorials use it
ESP32-S3 ESP32-S3 DevKitC-1, 44-pin, USB-C N16R8 module, 16 MB flash, 8 MB PSRAM
ESP32-S2 ESP32-S2 Mini, USB-C 4 MB flash, 2 MB PSRAM, no Bluetooth
ESP32-C3 ESP32-C3 SuperMini or Seeed XIAO ESP32C3 Thumb-sized, native USB-C
ESP32-C6 ESP32-C6 SuperMini or Seeed XIAO ESP32C6 Wi-Fi 6 and 802.15.4, small board
ESP32-C5 Seeed XIAO ESP32-C5 Dual-band Wi-Fi 6 and Matter
ESP32-H2 ESP32-H2 SuperMini Thread and Zigbee end devices
ESP32-CAM ESP32-CAM with ESP32-CAM-MB carrier Carrier adds Micro USB for programming
ESP32-S3-CAM ESP32-S3-CAM board Dual USB-C, programs directly

Check the board pinout before you order: a 30-pin ESP32 DevKit V1, a 38-pin ESP32-DevKitC, and a 44-pin ESP32-S3 DevKitC-1 do not share a pin layout. The XIAO ESP32S3 and its Sense expansion board are covered in Seeed XIAO ESP32S3 Guide: Standard Board vs Sense Board.

Best for and not for: every chip

These Best for lines are the short answer to which ESP32 should I buy for each chip. Read the project sections above for the reasons.

  • ESP32: Best for older tutorials and Bluetooth Classic audio. Not for Thread, Matter, USB HID, or PSRAM cameras.
  • ESP32-S2: Best for WiFi and USB devices without Bluetooth, such as a USB HID gadget. Not for Bluetooth, Thread, or a camera.
  • ESP32-S3: Best for most buyers, cameras, displays, USB HID, and edge AI. Not for Bluetooth Classic audio, Thread, Matter, or 5 GHz WiFi.
  • ESP32-C2: Best for the lowest-cost simple WiFi node with Bluetooth LE. Not for many pins, PSRAM, or USB OTG.
  • ESP32-C3: Best for tiny low-power WiFi and BLE sensor nodes and battery devices. Not for cameras, large displays, Thread, or USB HID.
  • ESP32-C5: Best for dual-band Wi-Fi 6 with 5 GHz, plus Thread and Matter. Not for USB HID, a camera interface, or the lowest deep sleep current.
  • ESP32-C6: Best for Thread, Zigbee, and Matter devices, and Wi-Fi 6 sensor nodes. Not for cameras, USB HID, or Bluetooth Classic audio.
  • ESP32-H2: Best for battery-powered Thread and Zigbee end devices with Bluetooth LE. Not for WiFi, cameras, displays, or USB HID.
  • ESP32-P4: Best for large MIPI touchscreens, MIPI cameras, and hardware video encoding. Not for WiFi or Bluetooth without a companion chip, and not for battery power.
  • ESP32-S31: Best for watching: WiFi 6, Bluetooth Classic and LE, 802.15.4, Ethernet, and 60 GPIO pins on one chip, once boards ship. Not for buying today: the datasheet is pre-release and the chip was sampling at last check.

What mistakes do first-time buyers make?

First, buying for the chip name instead of the project need. A buyer who needs Thread and buys an ESP32-S3 has bought the wrong chip, because the ESP32-S3 has no 802.15.4 radio. Write down the one radio the project needs before you order. Second, buying a camera board without PSRAM. A camera frame needs memory, and a board without PSRAM holds only small frames. The ESP32-CAM carries 4 MB of PSRAM, and the ESP32-S3-CAM board carries 8 MB. Third, trusting the chip GPIO count instead of the board pinout. The ESP32-S3 chip has 45 GPIO pins, but a board breaks out fewer, and some pins are strapping, flash, or USB pins. Check the board pinout, not the chip datasheet alone. Fourth, assuming every ESP32 board has Bluetooth. The ESP32-S2 has no Bluetooth at all. The ESP32-H2 has no WiFi at all. Read the radio row in the comparison table before you order. Fifth, buying a board with no USB port for programming. The bare ESP32-CAM board has no USB port and needs the ESP32-CAM-MB carrier or an FTDI adapter. The ESP32-S3-CAM board programs directly over dual USB-C ports.

How do you check a new board works?

Run a WiFi scan sketch after the board arrives. The sketch below uses the Arduino-ESP32 core and the built-in WiFi library, so no extra library is needed. It lists the networks the board can see, which proves the radio, the antenna, and the USB connection in one step. Load it in Arduino IDE, open the Serial Monitor at 115200 baud, and check that network names appear.

// Board check: WiFi scan. Arduino-ESP32 core, built-in WiFi library.
// No extra libraries needed. Compiled 2026-11-22 with PlatformIO 6.2.0 (espressif32, esp32dev).
#include <WiFi.h>

void setup() {
  Serial.begin(115200);
  delay(1000);
  WiFi.mode(WIFI_STA);      // Station mode: the board joins networks.
  WiFi.disconnect();        // Clear any saved network before scanning.
  delay(100);
  Serial.println("Scanning for WiFi networks...");
  int networks = WiFi.scanNetworks();
  Serial.print("Networks found: ");
  Serial.println(networks);
  for (int i = 0; i < networks; i++) {
    Serial.print(i + 1);
    Serial.print(": ");
    Serial.print(WiFi.SSID(i));   // Network name.
    Serial.print(" (");
    Serial.print(WiFi.RSSI(i));   // Signal strength in dBm.
    Serial.println(" dBm)");
  }
}

void loop() {
  // Nothing to repeat. Run the scan once per reset.
}

If the scan finds no networks, check the antenna first: some boards ship with a PCB antenna and some with a U.FL connector that needs an antenna fitted. Then check the board selection in Arduino IDE, then the USB cable, because a charge-only cable carries power but no data. The full USB detection fixes are in post 10 in this series.

Frequently asked questions

Which ESP32 should I buy as a beginner?

The ESP32-S3 is the best ESP32 for beginners starting fresh, because it covers WiFi, Bluetooth LE, USB, cameras, and displays on one board. The classic ESP32 DevKit V1 is the best ESP32 for beginners following an older tutorial, because most older tutorials name the classic ESP32 pins. Either board runs the Arduino-ESP32 core.

What is the difference between ESP32 and ESP32-S3?

The ESP32 is the classic dual-core Xtensa LX6 chip at 240 MHz with Wi-Fi 4, Bluetooth Classic and BLE 4.2, and 34 GPIO pins. The ESP32-S3 is the newer dual-core Xtensa LX7 chip at 240 MHz with Wi-Fi 4, Bluetooth LE 5.0, native USB OTG, a camera interface, AI vector instructions, and 45 GPIO pins. The ESP32-S3 has no Bluetooth Classic and no 802.15.4 radio.

Which ESP32 has the most GPIO pins?

The ESP32-S31 has the most GPIO pins at 60 on the chip, per the Espressif ESP32-S31 datasheet, but the chip was sampling at last check. Among boards you can buy today, the ESP32-P4 has 55 and the ESP32-S3 has 45. A board breaks out fewer pins than the chip total, so check the board pinout.

Does the ESP32-C6 support Matter?

Yes. The ESP32-C6 supports Matter over Thread and Matter over WiFi, per Espressif, combining Wi-Fi 6 at 2.4 GHz with an 802.15.4 radio for Thread and Zigbee and Bluetooth LE 5.3. The ESP32-H2 also supports Matter over Thread, and the ESP32-C5 adds 5 GHz WiFi to the same Matter support.

Which ESP32 should I buy for a battery project?

The ESP32-C3 is the best ESP32 for a battery-powered WiFi project, with deep sleep current around 5 uA. The ESP32-H2 is the best ESP32 for a battery-powered Thread or Zigbee project, with no WiFi radio to feed. Read How to Power ESP32 and Arduino Projects on LiPo Power for the charging, protection, and run-time math: the board draws more than the chip deep sleep figure.

Parts used in this guide

If you already know which ESP32 should I buy for your project, the boards below are in stock in the store and linked to their product pages. Use the product page for the current listing. Product images in the body link to their products.

In this series

This pillar is post 1 of 10. The spoke posts below come next in this series. Their links are added here when each post publishes.

Sources

  • Espressif ESP32-S31 product page: dual-core 32-bit RISC-V up to 320 MHz, 512 KB SRAM, 60 GPIO pins, Wi-Fi 6, Bluetooth 5.4 LE and Classic, 802.15.4, Gigabit Ethernet, USB OTG high speed, 8 to 32 MB PSRAM. https://www.espressif.com/en/products/socs/esp32-s31
  • ESP32-S31 Series Datasheet, pre-release v0.6: HP dual-core RISC-V up to 320 MHz, LP core up to 40 MHz, 60 GPIO pins, Wi-Fi 6, Bluetooth 5.4, Zigbee 3.0, Thread 1.4. https://documentation.espressif.com/esp32-s31_datasheet_en.html
  • ESP32-P4 Series Datasheet, pre-release v0.7: dual-core RISC-V up to 400 MHz, 768 KB SRAM, 16 or 32 MB PSRAM, 55 GPIO pins, MIPI-CSI and MIPI-DSI, H.264 encoder, USB 2.0 high-speed OTG, no radio. https://documentation.espressif.com/esp32-p4_datasheet_en.html
  • Zephyr Project, ESP32-C5 features: HP RISC-V core up to 240 MHz, 384 KB SRAM, dual-band Wi-Fi 6, Bluetooth 5.4 LE, 802.15.4, 29 GPIO pins. https://docs.zephyrproject.org/latest/boards/espressif/common/soc-esp32c5-features.html
  • Espressif ESP32-C5 datasheet (mirror of the Espressif PDF): HP RISC-V core up to 240 MHz, LP core up to 40 or 48 MHz, 384 KB HP SRAM, 16 KB LP SRAM, Bluetooth Core 6.0 certified, Thread 1.4, Zigbee 3.0, 29 GPIO pins. https://www.alldatasheet.com/datasheet-pdf/pdf/2162612/ESPRESSIF/ESP32-C5.html
  • Espressif series datasheets for ESP32, ESP32-S2, ESP32-S3, ESP32-C3, ESP32-C6, and ESP32-H2: cores, clocks, radios, SRAM, GPIO counts, and USB support in the comparison table, cross-checked against the Espressif data quoted in the JLCPCB ESP32 versions guide, the Blynk ESP32 variant guide, and the esp32.iammanis.com specifications table.

Low-Power ESP32 Battery Projects: Deep Sleep and Solar

A battery ESP32 project lives or dies on one number: average current. Get it right and a single 3000 mAh cell runs a field sensor for months. Get it wrong and the same cell is dead before dinner.

This guide covers the five power modes, every wake source, board-level sleep drain, battery sizing, solar sizing, and the mistakes that drain a pack in days. The sensor node build is covered in ESP32 Battery Sensor Node: Deep Sleep and Power Budget, and LiPo wiring in How to Power ESP32 and Arduino Projects on LiPo Power.

How long can an ESP32 really run on battery?

Battery life in hours equals usable battery capacity divided by average current. Average current is the awake share times the awake current, plus the sleep share times the sleep current. Source: ProjectECH; DroneBot Workshop; Hubble.

Take a node that wakes for 20 seconds at 180 mA and sleeps at 15 microamps, on one 18650 cell with a realistic usable capacity of 2400 mAh. Source: ProjectECH.

Report interval Average current Battery life from 2400 mAh
Every 10 minutes (180 x 20 + 0.015 x 580) / 600 = about 6.0 mA About 400 hours, about 16 days
Every 60 minutes (180 x 20 + 0.015 x 3580) / 3600 = about 1.01 mA About 2376 hours, about 99 days

Three lessons fall out of that table. First, the interval dominates: 60-minute reports give roughly 6 times the battery life of 10-minute reports. Second, sleep current matters: with a 5 mA sleep the 60-minute column collapses to about 17 days. Third, awake time is the other lever: Wi-Fi can spend 3 to 8 seconds just joining the network, so cut the awake window to 5 seconds. Source: ProjectECH.

Radios differ too: Wi-Fi transmit runs about 160 to 260 mA, BLE about 95 to 130 mA, and LoRa about 20 to 120 mA transmit with about 0.2 microamps in sleep. Source: ProjectECH; Hubble.

Which sleep mode does your project need?

The ESP32 has five power states. The figures below are chip-level typicals; your board will draw more. Source: DroneBot Workshop; Espressif sleep modes documentation.

Mode CPU and peripherals Radio Typical chip current What survives
Active On On or off 240 mA Wi-Fi transmit peak Everything
Modem sleep On Off between checks About 3 to 20 mA Everything, Wi-Fi association kept
Light sleep Paused Off About 0.8 mA RAM and registers, resumes where it stopped
Deep sleep Off Off About 10 to 25 microamps RTC memory only, 8 KB slow memory
Hibernation Off Off About 2.5 microamps Nothing guaranteed, not even RTC memory

Active is the normal running state; the only saving is lowering the CPU clock. Modem sleep turns the radios off between transmissions while the CPU keeps running, staying associated with the router by waking the radio on the DTIM interval. Light sleep pauses the CPU clock but preserves RAM and registers. Deep sleep powers down almost everything; only the RTC domain and optionally the ULP coprocessor stay alive. Hibernation is the deepest state: even the 8 MHz RTC oscillator and the ULP coprocessor are off, and RTC memory is not guaranteed. The only wake source is an EXT0 GPIO interrupt. Source: DroneBot Workshop.

What wakes the ESP32 from deep sleep?

The wake source defines the whole power profile. Source: ProjectECH; DroneBot Workshop; Hubble.

Wake source How it works Best for
Timer wake RTC timer fires after N microseconds Periodic sensing: wake, read, send, sleep
EXT0 wake One RTC GPIO goes high or low One event: a PIR motion sensor, a float switch, a door switch
EXT1 wake Any of several RTC GPIOs changes Several events at once
Touch pad wake A configured touch pad crosses its threshold A manual “report now” button on a sealed enclosure
ULP coprocessor Runs while the main CPUs sleep, about 150 microamps typical Wake the main CPU only on a threshold

Timer wake is the workhorse: call esp_sleep_enable_timer_wakeup(), then esp_deep_sleep_start(). EXT0 and EXT1 wake on a pin: EXT0 watches one RTC GPIO at one level, ideal for a PIR sensor, and EXT1 watches several. On the standard ESP32, RTC-capable GPIOs are 0, 2, 4, 12 to 15, 25 to 27, and 32 to 39. Touch wake uses the capacitive touch pins. The ULP coprocessor can poll an ADC channel or a GPIO while the main CPUs sleep and wake the main CPU only on a threshold. Source: ProjectECH; DroneBot Workshop; Hubble.

Always configure a wake source first, or the chip sleeps forever. Source: ProjectECH.

State survives deep sleep through RTC slow memory: variables declared with RTC_DATA_ATTR survive deep sleep, but not a power loss or a hard reset. Source: ProjectECH; TheLinuxCode; post 23387.

Why does your dev board never reach the datasheet sleep current?

The datasheet deep sleep figure is the bare chip. A dev board adds parts that draw current around the clock, and those parts dominate the sleep budget. Source: ProjectECH; DroneBot Workshop; post 23387.

A typical 30-pin DevKit board carries an AMS1117-3.3 linear regulator with a quiescent current of about 5 mA typical. With the USB chip, power LED, and pull-ups added, a “sleeping” dev board typically draws 5 to 15 mA. At 10 mA, a 3000 mAh cell lasts 300 hours, under two weeks. Source: ProjectECH; DroneBot Workshop.

Fix it in one of three ways: power the board through the 3V3 pin from an efficient external regulator; use a bare ESP32 module on a minimal breakout; or use a board designed for battery use. Measure the sleep current yourself first. Source: ProjectECH.

The XIAO boards stocked at QRC are the battery-friendly end of this scale, and the figures conflict across sources, so they are stated here as a sourced range, never as a single bench-tested number. Seeed’s wiki lists the plain XIAO ESP32S3 at 14 microamps in deep sleep, 2 mA in light sleep, and 27 mA in modem sleep. The XIAO ESP32S3 Sense with its expansion board attached is listed at 3 mA in deep sleep: the expansion board costs roughly 200 times the plain board’s sleep current, so detach it for a battery build and use the detachable camera only when the project needs it. The XIAO ESP32S3 Plus is listed at 33.51 microamps in deep sleep, and the XIAO ESP32C3 at 44 microamps. CircuitDigest measured a plain XIAO ESP32S3 board at 130 microamps in deep sleep, against a bare ESP32-S3 chip rating of 7 to 8 microamps. Plan with the worst figure in the range. Source: Seeed Studio XIAO ESP32S3 wiki; CircuitDigest; Embedded Nerd.

How do you size the battery?

Measure the build that will actually run from the battery. Source: UMA Technology; Hubble.

Step 1: measure each operating state. Record current in each state with a USB power meter, and use a multimeter in series with the battery lead for sleep. Source: UMA Technology; Hubble.

Step 2: calculate the average current. For each state, multiply current by time in that state, then sum and divide by the cycle time. Example: wake every 15 minutes, transmit for 5 seconds at 150 mA, sleep the other 895 seconds at 15 microamps. Average equals (5 x 150 + 895 x 0.015) / 900, which is 0.85 mA. Source: Hubble.

Step 3: divide capacity by average current, then derate. A 3000 mAh battery at 0.85 mA average gives about 3,500 hours, about 146 days. Now derate: usable capacity is about 70 to 80 percent of the label after aging, temperature, and self-discharge, so plan on about 2400 mAh usable from a 3000 mAh cell. Source: ProjectECH; Hubble; e-fm.tech.

Step 4: pick the chemistry. A standard LiPo at 3.7 V is workable for 6 to 12 month projects. A LiFePO4 cell at 3.2 V has low self-discharge around 3 percent per year, so it suits solar recharging. A CR2032 at 220 mAh suits only the lowest-power applications. Source: Hubble.

The biggest lever is the awake time: every second of Wi-Fi connect time at 150 mA costs as much as 150 seconds of sleep at 1 mA. Source: post 23387.

How do you size a solar panel for an ESP32 project?

A solar panel only has to replace what the board uses, plus the charging losses. Size it from the worst month, not the average: a panel sized for summer sun dies by mid-December. Source: Hubble solar sizing guide; e-fm.tech.

Step 1: daily energy. Daily energy equals average current times supply voltage times 24 hours. The 0.85 mA node at 3.7 V uses about 76 mWh per day. Source: Hubble solar sizing guide.

Step 2: battery autonomy. Size for three cloudy days: three days at 76 mWh per day is 228 mWh, or about 62 mAh at 3.7 V. Source: e-fm.tech; post 23188; post 15185.

Step 3: worst-month peak sun hours. Peak sun hours are the hours per day of full sunlight that would deliver the same energy as the real day. Look it up for your coordinates with PVGIS or NASA POWER, and use the worst month. Source: e-fm.tech.

Step 4: panel watts. Panel watts are about equal to daily energy divided by (charging efficiency times peak sun hours times a derating factor). The worked example comes out to about 0.021 to 0.11 W. In practice, fit a panel several times larger than the paper minimum. Source: e-fm.tech; Hubble solar sizing guide.

Step 5: charge controller. A small panel charging a single lithium cell needs a charger that terminates at 4.2 V and a protection circuit. The TP4056 module below charges a single cell from USB or a solar panel at up to 1 A. Standard lithium-ion and LiPo cells should not be charged below about 0 degrees C. Source: ProjectECH; e-fm.tech.

No solar panel is stocked at QRC as of 2026-11-21, so no panel is linked in this guide. The BirdBox build in Run a BirdBox Camera for Months on Solar Power shows the same pattern: panel in full sun, short cable, battery sized for three cloudy days.

How do you charge and protect the pack?

Charging, protection, and regulation are three separate jobs, and one module does not always do all three. The full wiring chain is covered in How to Power ESP32 and Arduino Projects on LiPo Power. Source: post 19087.

The TP4056 load-sharing trap. The TP4056 has no load sharing: it cannot tell current going into the battery from current drawn by your circuit. With the load on the battery terminals, the charger sees the load current as charge current, never detects the proper termination taper, and can keep pushing current into an already-full cell. Wire battery to B+ and B-, supply to IN+ and IN-, and take system power from OUT+ and OUT-. The proper fix is a load-sharing power-path circuit. Source: ProjectECH; post 19087.

The cutoff voltage has no single agreed number. Sources disagree on the per-cell cutoff, with figures from 3.0 V to 3.5 V per cell. This guide states that range and does not pick one number. Read the cutoff from the docs for the protection module and the battery you own, and wire the protection so it disconnects the pack from everything. The stocked 3000 mAh pack below has a built-in protection board. Source: post 19087.

What mistakes drain a battery pack in days?

  • Trusting the chip sleep figure for the whole board. The chip sleeps at 10 to 25 microamps; the board sleeps at milliamps. Measure the whole board.
  • Leaving Wi-Fi on between readings. A board that idles with Wi-Fi connected draws 35 mA or more. Sleep between readings.
  • Letting Wi-Fi join slowly, every cycle. Every awake second at 150 mA costs as much as 150 seconds of sleep at 1 mA. Use a static IP and cap retries at three.
  • Sizing the solar panel for summer. The panel must cover the worst month, not the average. Size from worst-month peak sun hours, and test through a cloudy week.
  • Never measuring the sleep current. Every battery estimate in this guide is arithmetic from stated inputs. Measure your own board’s sleep current and redo the math.

How do you fix a low-power project that dies too soon?

The board draws milliamps in deep sleep. Measure the board alone, then the regulator or converter alone. The likely causes are the power LED, the USB-to-serial chip, or a regulator with high standby draw. Power the 3V3 pin directly from a regulated 3.3 V supply, or remove the power LED where the board allows it. Source: DroneBot Workshop; post 23387.

The node boot-loops when the battery gets low. A nearly empty cell sags under a Wi-Fi transmit burst, and if the sag crosses the brownout threshold the chip resets mid-transmission. Treat 3.2 to 3.3 V under load as the effective empty point. The brownout fix is covered in ESP32-CAM Troubleshooting: Brownout and Camera Init Failed. Source: ProjectECH.

The battery voltage falls every week even with solar. The panel is too small for the worst month, the panel is shaded or flat, or the charge current never tapers. Check the battery voltage after the first week, and add panel size if it keeps falling. Source: post 23188; ProjectECH.

Which low-power setup fits your project?

Project Wake source Sleep mode Battery Solar
Temperature sensor, hourly reports Timer Deep sleep 3000 mAh 1S LiPo pack Not needed
PIR wildlife or BirdBox camera EXT0 on the PIR output Deep sleep 3000 mAh pack or larger Yes, worst-month panel
Always-on display or dashboard None, it must stay awake Modem sleep between updates USB power bank or mains No, the radio stays too busy
BLE beacon Timer, duty-cycled BLE scan Deep sleep between scans XIAO board with on-board charging Optional

Parts used in this guide

Prices and stock verified live on 2026-11-21. All four items below are in stock and purchasable.

Also verified live in stock: XIAO ESP32C6 1-Pack (ID 17835) $15.99 sale; XIAO ESP32-C5 1-Pack (ID 18380) $17.99 sale; XIAO ESP32S3 Sense 1-Pack (ID 17842) $32.49 sale, detachable camera; ESP32 DevKit V1, $9.99 sale; USB-C LiPo Module 1200mAh (ID 18959) $14.99 sale; HC-SR501 PIR (ID 14636) $5.99 sale; CellMeter8 (ID 3485) $19.99. No solar panel is stocked at QRC, so none is linked.

Shipped fast and securely from our secure facility in Queensbury, NY. QRC ships within the USA only.

Related guides

FAQ

How long will an ESP32 run on a battery? It depends on the average current, not the pack size alone. A node that wakes 5 seconds at 150 mA every 15 minutes and sleeps at 15 microamps averages about 0.85 mA, so a 3000 mAh battery gives about 146 days. Source: Hubble.

Why does my ESP32 use milliamps in deep sleep? The datasheet figure is the bare chip. The dev board adds a linear regulator with about 5 mA quiescent current, a USB-to-serial chip, and a power LED. Source: ProjectECH; DroneBot Workshop.

What wakes an ESP32 from deep sleep? The RTC timer for periodic work, EXT0 for one pin event such as a PIR sensor, EXT1 for any of several pins, a touch pad for a button, and the ULP coprocessor at about 150 microamps. Source: ProjectECH; Hubble.

How big a battery do I need for an ESP32 sensor? Work out the average current first, then divide capacity by average current, then derate to about 70 to 80 percent usable. Source: ProjectECH; Hubble.

Can I run an ESP32 on solar power? Yes. Work out the daily energy, size the battery for three cloudy days, look up the worst-month peak sun hours, and divide daily energy by charging efficiency times peak sun hours times a derating factor. Source: Hubble; e-fm.tech.

What is a safe cutoff voltage for a LiPo on an ESP32 project? No single cutoff voltage is universal: sources disagree, with figures from 3.0 V to 3.5 V per cell. Use a protected pack or a protection module, read the cutoff from its docs, and wire it so it disconnects the pack from all loads. Source: post 19087.

Sources

Last updated: 2026-11-21

For the camera-specific numbers, see ESP32-CAM Battery: Power Draw, Runtime, and Deep Sleep.

For the ESP-NOW protocol behind the battery sensor pattern, see ESP-NOW Explained: Two ESP32 Boards, No Router.

ESP32 SuperMini vs XIAO: Which Tiny Board Wins?

Pick the XIAO for battery builds, WiFi range, or a board that solders flat onto a carrier PCB. Pick the SuperMini for the lowest price per board, a breadboard-friendly header, or an on-board LED for blink and debugging.

The two families share the same chips, so the decision is about the board around the chip: the antenna, the battery circuit, the pins, the mounting, the documentation, and the price per board. Both run the same Arduino, MicroPython, and ESP-IDF code for the same chip once the pin names are changed: the XIAO uses D0 to D10 names and the SuperMini uses GPIO numbers.

How big is each board, and how does it mount?

Board Size Mounting
XIAO ESP32C3 21 x 17.8 mm (Seeed wiki) Castellated, solders flat onto a carrier PCB
ESP32-C3 SuperMini About 22.5 x 18 mm (seller listings only) Through-hole header pins, fits a breadboard
XIAO ESP32S3 21 x 17.8 mm (Seeed wiki) Castellated, solders flat onto a carrier PCB
ESP32-S3 SuperMini About 23.5 x 18 mm (espboards) Through-hole header pins, fits a breadboard

The XIAO is smaller by about a millimetre and a half in each direction, and its castellated edges let it solder flat onto a carrier board like a module. That suits a finished product, a wearable, or a sensor tag that has to sit flat inside a case.

The SuperMini is the breadboard board. Its through-hole header pins plug straight into a breadboard with room to spare, which is why it is the easier pick for a first build, a classroom set, or a prototype you plan to rewire. The trade off is height.

Measure your own SuperMini before you design a case around it. There is no single manufacturer, so pin labels, LED color, flash size, and antenna layout can vary between sellers and revisions.

Which board has more pins?

The SuperMini breaks out more pins on both chips. The XIAO keeps the same 11-pin header on every board: a feature when a sketch moves between XIAO boards, a limit when the build needs more pins.

XIAO C3 SuperMini C3 XIAO S3 SuperMini S3
Broken-out GPIO 11 (D0 to D10) 13 (GPIO0 to GPIO10, 20, 21) 11 (D0 to D10) 13 plus TX/RX
Analog header pins 4 (D0 to D3) 6 (GPIO0 to GPIO5) 9 (D0 to D5, D8 to D10) 13 (GPIO1 to GPIO13)

Sources: Seeed wiki pin maps; NuttX docs; TeachMeMicro.

Three pin differences matter. First, the XIAO bus pins never move: I2C is always D4 and D5, SPI is always D8, D9, and D10, and UART is always D6 and D7 on every XIAO board. The SuperMini has no such promise: the bus pins follow the chip, and the I2C pins on the C3 SuperMini sit on GPIO8 and GPIO9, which are also strapping pins, so the NuttX docs recommend GPIO0 and GPIO1 for I2C instead.

Second, the SuperMini gives you more analog pins: 6 ADC-capable pins on the C3 against 4 on the XIAO C3, and 13 on the S3 against 9 on the XIAO S3. The store listing states 4 analog pins for the C3 SuperMini against 6 in the NuttX table; the gap is the ADC2 channel on GPIO5, which reads unreliably while WiFi is running. Use GPIO0 to GPIO4 for analog reads when WiFi is on.

Third, strapping pins need care on both families, but on different pins. On the XIAO C3, D0, D8, and D9 decide the boot mode. On the C3 SuperMini, GPIO2, GPIO8, and GPIO9 do. On the XIAO S3, D2 (GPIO3) is the strapping pin on the header. On the S3 SuperMini, GPIO3 is the one to use with care. A sensor that pulls a strapping pin to the wrong level at reset can stop either board from booting. Full pin tables are in our SuperMini guide and our XIAO pinout guide.

How do the C3 boards compare?

The C3 comparison is the cleanest one, because the chips are identical. The ESP32-C3 datasheet v2.5 is the source for the chip figures.

Feature XIAO ESP32C3 ESP32-C3 SuperMini
Chip ESP32-C3, single-core RISC-V, up to 160 MHz Same chip
SRAM / flash 400 KB SRAM, 4 MB flash Same
Deep sleep, board level 44 uA per the Seeed wiki No board-level figure published for the generic board
QRC price $13.99 for one board $22.99 for four boards ($5.75 per board)

Sources: Espressif C3 datasheet v2.5; Seeed wiki C3 page; Mischianti; NuttX docs.

The C3 decision comes down to two questions. Does the build run on a battery? The XIAO charges a LiPo over USB with no extra parts, and its 44 uA board-level deep sleep figure is published by Seeed. The SuperMini usually has no charging circuit, and no board-level figure is published for the generic board. The bare C3 chip can sleep near 5 uA, but a finished board draws more.

Does the build need WiFi range? The XIAO needs its external antenna connected, and with it fitted Seeed states over 100 m line of sight. The SuperMini ceramic antenna needs nothing fitted and works well at short range, but range varies by batch. One user test on the Seeed forum measured the SuperMini at -33 dBm next to a phone against about -60 dBm for a XIAO with no antenna fitted: with its antenna fitted, the XIAO is the stronger board.

How do the S3 boards compare?

The S3 comparison is where the memory gap shows up, and it is the biggest spec difference between the two families.

Feature XIAO ESP32S3 ESP32-S3 SuperMini
Chip ESP32-S3R8, dual-core Xtensa LX7, up to 240 MHz ESP32-S3, dual-core Xtensa LX7, up to 240 MHz
PSRAM / flash 8 MB PSRAM, 8 MB flash 4 MB flash, 2 MB PSRAM on the common FH4R2 version
Deep sleep, board level 14 uA per the Seeed wiki About 43 uA per the store listing
User LED User LED on GPIO21, plus charge LED RGB LED, typically WS2812 on GPIO48
QRC price $21.49 for one board $31.99 for five boards ($6.40 per board)

Sources: Seeed wiki S3 page; Espressif S3 datasheets; TeachMeMicro; Lingflux.

The memory gap is the whole S3 story. The XIAO ESP32S3 carries the S3R8 chip with 8 MB of PSRAM and 8 MB of flash. The common S3 SuperMini carries the S3FH4R2 chip with 4 MB of flash and 2 MB of PSRAM: four times the PSRAM and twice the flash on the XIAO. PSRAM holds camera frames, display buffers, and audio at runtime, so the XIAO S3 is the board for camera work, displays, and edge AI. The SuperMini S3 still handles bigger sketches, more sensors, and small displays, but with less headroom.

Check the chip marking on any S3 SuperMini before you trust a memory figure: FH4R2 means 4 MB of flash and 2 MB of PSRAM. Run the memory check sketch in our SuperMini guide to confirm flash size and PSRAM before you write code that needs them.

The S3 boards are closer on the other rows: both have a user LED, USB OTG, and battery charging in some form. The XIAO S3 still wins on range, deep sleep, and documentation; the SuperMini S3 on price per board and breadboard use. The Sense version is the XIAO-only option, adding a detachable camera, a digital microphone, and a microSD slot on an expansion board. There is no SuperMini equivalent. Camera projects are covered in our XIAO S3 Sense guide.

Which board is better on battery power?

The XIAO is the better battery board on both chips. Every XIAO has a built-in LiPo charging circuit with BAT pads on the back: plug a LiPo in and the board charges it over USB, with no extra module. The Seeed wiki publishes board-level deep sleep figures of 44 uA for the C3 and 14 uA for the S3, and the XIAO C3 has no user LED at all, so nothing drains the cell in deep sleep. The C3 SuperMini usually has no charging circuit, so a battery build needs an external charging module, and no board-level deep sleep figure is published for the generic board. The S3 SuperMini is better here: some S3 boards have battery pads with a charger, and the listing states deep sleep around 43 uA.

One safety note: the XIAO C3 charging circuit delivers a fast charge near 370 mA, so use a battery of 370 mAh or larger unless the battery has its own protection circuit. Source: Mischianti XIAO ESP32-C3 guide.

How much does each board cost?

Prices below are the live QRC store prices. The SuperMini boards sell as packs, so the per-board price is arithmetic from the pack price.

Board QRC listing Pack price Price per board
XIAO ESP32C3, 1-pack ID 17820 $13.99 $13.99
ESP32-C3 SuperMini, 4-pack ID 19646 $22.99 $5.75
XIAO ESP32S3, 1-pack ID 17839 $21.49 $21.49
ESP32-S3 SuperMini, 5-pack ID 19649 $31.99 $6.40

The SuperMini is far cheaper per board: about $5.75 against $13.99 on the C3, and about $6.40 against $21.49 on the S3. A four-pack of C3 SuperMinis costs less than two single XIAO C3 boards, and a five-pack of S3 SuperMinis costs about one and a half XIAO S3 boards.

Prices were verified against the live SuperMini guide (updated 2026-11-21) and the batch 2 verification of the same day. The public Store API returned HTTP 429 at draft time, so re-verify every price live before publishing.

Which one should you buy?

Pick by the build, not by the brand.

Buy the XIAO ESP32C3 if the build is a battery sensor, a wearable, a BLE beacon, or a node that has to sit in another room and stay connected. The charging circuit, the external antenna, and the 44 uA deep sleep are the reasons.

Buy the ESP32-C3 SuperMini if the build is a set of cheap sensor nodes, a classroom set, or a first ESP32 project, or anything where the lowest cost per board matters most. At $5.75 per board in the 4-pack, it is the cheapest way to put WiFi and Bluetooth on a tiny board, and the blue LED makes Blink work out of the box.

Buy the XIAO ESP32S3 if the build needs memory: camera work, a display with a frame buffer, audio, edge AI, or a large sketch. The 8 MB of PSRAM and 8 MB of flash are the reasons. Buy the Sense version instead for a camera, a microphone, and a microSD slot.

Buy the ESP32-S3 SuperMini if the build needs two cores, more pins, and some PSRAM, but does not need 8 MB of it: bigger sensor builds, small displays, and multi-node projects where $6.40 per board beats $21.49. Check the chip marking for FH4R2 before relying on the PSRAM figure.

If you are still unsure, buy the C3 SuperMini 4-pack first. It is the cheapest way to learn the setup, and the steps transfer to the other boards.

What are the common mistakes?

  • Running a XIAO with no antenna. The XIAO has no built-in antenna. WiFi and Bluetooth will barely work until the included external antenna is fitted to the U.FL connector.
  • Using a SuperMini pinout on a XIAO, or the reverse. D4 is GPIO6 on the XIAO C3 and GPIO4 on the C3 SuperMini. Use the pin table for your exact board.
  • Expecting Blink to work on the XIAO C3. There is no user LED on the XIAO C3, only a charge LED. Wire an external LED before you run Blink.
  • Assuming the S3 SuperMini has 8 MB of PSRAM. The common FH4R2 version has 2 MB of PSRAM and 4 MB of flash. Check the chip marking.
  • Comparing a chip deep sleep figure against a board deep sleep figure. The bare C3 chip can sleep near 5 uA, but a finished board draws more through its regulator, LEDs, and USB circuitry. Seeed publishes board-level figures for the XIAO (44 uA C3, 14 uA S3). No equivalent figure is published for the generic SuperMini.

How do I troubleshoot a SuperMini vs XIAO problem?

The board does not appear as a USB port. Try a USB-C data cable, not a charge-only cable. Then hold BOOT, connect the cable, release BOOT, and upload Blink. Full steps are in our SuperMini guide.

The Serial Monitor is blank but the sketch runs. Set USB CDC On Boot to Enabled under Tools and re-upload. Full steps are in our SuperMini guide.

WiFi will not connect on a XIAO. Check the antenna first. If the external antenna is not fitted, fit it and test again. If it is fitted, check the connector is fully seated.

WiFi will not connect on a SuperMini. Move the board closer to the router first. Some batches have weak WiFi that improves when the transmit power is lowered in code.

Parts used in this guide

Prices and stock were verified against the live SuperMini guide (updated 2026-11-21) and the batch 2 verification of the same day. The public Store API returned HTTP 429 at draft time. Re-verify every price and stock live before publishing.

Shipped fast and securely from our secure facility in Queensbury, NY. QRC ships within the USA only.

Related guides

FAQ

What is the difference between an ESP32 SuperMini and a XIAO ESP32? Same chip, different board. The XIAO has an external U.FL antenna, a built-in LiPo charging circuit, and no user LED on the C3. The SuperMini has a ceramic antenna, usually no charging circuit, and a blue LED typically on GPIO8. Pick the XIAO for battery sensors and range, the SuperMini for the lowest cost and breadboard work. Source: Mischianti; our SuperMini guide FAQ.

Can I use the same code on a SuperMini and a XIAO? Yes, with the pin names changed. Both run the same Arduino, MicroPython, and ESP-IDF code for the same chip. The XIAO uses D0 to D10 names and the SuperMini uses GPIO numbers. Source: The Engineering Projects XIAO ESP32-C3 guide.

Which board is better for battery projects? The XIAO, on both chips. It charges a LiPo over USB with no extra parts, and Seeed publishes board-level deep sleep figures of 44 uA for the C3 and 14 uA for the S3. The C3 SuperMini usually has no charging circuit and no published deep sleep figure. Source: Seeed wiki C3 and S3 pages; Mischianti XIAO ESP32-C3 guide.

Does the XIAO need an external antenna? Yes. The XIAO has a U.FL connector only and no built-in antenna. The antenna ships in the box and must be fitted before WiFi or Bluetooth will work properly. Source: Seeed wiki S3 page; Seeed forum BLE signal thread.

Which S3 board should I buy, the SuperMini or the XIAO S3? Buy the XIAO S3 if the build needs memory: camera work, displays, audio, or large sketches. It has 8 MB of PSRAM and 8 MB of flash against 2 MB of PSRAM and 4 MB of flash on the common S3 SuperMini FH4R2 version. Buy the S3 SuperMini for two cores, more pins, and some PSRAM at $6.40 per board in the 5-pack. Check the chip marking for FH4R2 before trusting the memory figure. Source: Seeed wiki S3 page; TeachMeMicro; Lingflux.

Sources

Last updated: 2026-11-21

Change log

  • 2026-11-21: Draft created. Direct SuperMini vs XIAO comparison across the C3 and the S3: size, pins, antenna, battery, memory, and price per board. Overlap checked against live posts 15176 (SuperMini guide, one C3-only comparison section) and 18592 (XIAO four-board comparison, no SuperMini coverage). Batch 2 XIAO pinout draft not live yet at draft time, so no link to it is included. Product prices carried from the live SuperMini guide (updated 2026-11-21) and batch 2 verification of the same day; the public Store API returned HTTP 429 at draft time, so prices and stock must be re-verified live before publishing, and the slug 404 must be re-checked at publish time for the same reason.
  • 2026-11-21: Trimmed from 3,492 to 2,797 publishable words (H1 through FAQ, plain wc -w; 2,969 H1 through Last updated, Sources included). Cut one FAQ, shortened table cells and Sources lines, and trimmed prose across size, pins, C3, S3, battery, price, buy, mistakes, troubleshooting, and parts sections. No facts, prices, or safety notes changed.

XIAO ESP32 Pinout: C3, C6, S3, and C5 GPIO Tables

Every XIAO ESP32 board breaks out the same 11 GPIO pins, D0 through D10, on the same 14-pin header with 5V, GND, and 3V3. What changes is the GPIO number behind each D pin, how many pins can read analog voltages, and which pins the chip watches at boot.

This guide gives the pin table for the C3, the C6, and the C5 from the Seeed wiki pin map for each board, and points to our full S3 pinout guide for the S3. It also covers shared pins, free pins, and strapping pins. Verify every table against the Seeed wiki page for your board variant before you solder. Pin tables conflict across sources.

Which pins do all four XIAO ESP32 boards share?

The header layout is the same on all four boards. The bus positions never move: I2C is always D4 and D5, SPI is always D8, D9, and D10, and UART is always D6 and D7. What moves is the GPIO number and the analog count.

Function C3 C6 S3 C5
I2C SDA / SCL D4 / D5 D4 / D5 D4 / D5 D4 / D5
SPI SCK / MISO / MOSI D8 / D9 / D10 D8 / D9 / D10 D8 / D9 / D10 D8 / D9 / D10
UART TX / RX D6 / D7 D6 / D7 D6 / D7 D6 / D7
Analog pins on the header 4 (D0 to D3) 3 (D0 to D2) 9 (D0 to D5, D8 to D10) 1 (D0)

Sources: Seeed wiki pin maps; our S3 pinout post for the S3 row. The C3 has a charge LED only, per the Seeed C3 wiki pin map.

How do I read a XIAO pinout diagram?

Three names describe the same physical pin, and mixing them up is the most common wiring mistake on these boards.

  • D name: the printed pad name, D0 through D10. Use it in Arduino code, for example digitalWrite(D4, HIGH).
  • GPIO number: the chip pin number, for example GPIO2 or GPIO22. Use it in ESP-IDF code and in datasheets.
  • A name: the analog name, A0 through A3 on the C3, A0 through A2 on the C6, A0 on the C5. Use it with analogRead(A0).

The Seeed wiki diagram for each board shows the front and the back: the D pins and USB-C port on the front, the battery pads and JTAG test pads (MTDO, MTDI, MTCK, MTMS) on the back. Keep the Seeed wiki page for your board open while you wire. Some third party pages number the same D pads differently, and a table built for the wrong board will compile cleanly and do nothing.

What is the XIAO ESP32C3 pinout?

The C3 is the cheapest board of the four, with one catch: three of its header pins are strapping pins, so what you connect to them at reset matters. The table below follows the Seeed wiki C3 pin map.

Pad GPIO Main function Shared with
D0 GPIO2 Analog A0, ADC1_CH2 Strapping
D1 GPIO3 Analog A1, ADC1_CH3 Wake
D2 GPIO4 Analog A2, ADC1_CH4 JTAG MTMS, wake
D3 GPIO5 Analog A3, ADC2_CH0 JTAG MTDI, wake
D4 GPIO6 I2C SDA JTAG MTCK
D5 GPIO7 I2C SCL JTAG MTDO
D6 GPIO21 UART TX Console
D7 GPIO20 UART RX Console
D8 GPIO8 SPI SCK Strapping
D9 GPIO9 SPI MISO Strapping, BOOT
D10 GPIO10 SPI MOSI Flash CS
5V / GND / 3V3 – Power 5 V, GND, 3.3 V out (700 mA max per Seeed wiki)

Source: Seeed wiki C3 pin map.

D3 is the only ADC2 channel on the header, and ADC2 readings can be unreliable while WiFi is running, so use D0 to D2 (ADC1) for analog sensors when WiFi is on. Source: studiopieters C3 pinout guide. Only D0 to D3 can wake the chip from deep sleep. The C3 has no onboard antenna.

What is the XIAO ESP32C6 pinout?

The C6 is the Matter, Thread, and Zigbee board, and the friendliest to wire: none of its header pins is a strapping pin. The table below follows the Seeed wiki C6 pin map.

Pad GPIO Main function Shared with
D0 GPIO0 Analog A0, ADC LP GPIO, wake
D1 GPIO1 Analog A1, ADC LP GPIO, wake
D2 GPIO2 Analog A2, ADC LP GPIO, wake
D3 GPIO21 GPIO SDIO DATA1
D4 GPIO22 I2C SDA SDIO DATA2
D5 GPIO23 I2C SCL SDIO DATA3
D6 GPIO16 UART TX Console
D7 GPIO17 UART RX Console
D8 GPIO19 SPI SCK SDIO clock
D9 GPIO20 SPI MISO SDIO DATA0
D10 GPIO18 SPI MOSI SDIO command
5V / GND / 3V3 – Power 5 V, GND, 3.3 V out

Source: Seeed wiki C6 pin map. The chip has 7 ADC channels, but only D0, D1, and D2 are broken out as analog header pins.

The board carries both a small onboard ceramic antenna and a U.FL connector, and the choice is made in firmware through an RF switch. Pull GPIO3 low to enable the switch, then GPIO14 low selects the built-in antenna (the default) and GPIO14 high selects the external antenna. Neither GPIO is a header pin. Source: Seeed wiki C6 RF switch section. Only the low-power GPIOs, GPIO0 to GPIO7, can wake the chip from deep sleep, and the XIAO breaks out three of them.

What is the XIAO ESP32-C5 pinout?

The C5 is the newest board and the only one with dual-band WiFi, 2.4 GHz and 5 GHz. Its GPIO numbers jump around, but the bus positions are the same as the other boards. The table below follows the Seeed wiki C5 pin map.

Pad GPIO Main function Shared with
D0 GPIO1 Analog A0, ADC LP GPIO, wake
D1 GPIO0 GPIO LP GPIO
D2 GPIO25 GPIO Strapping
D3 GPIO7 GPIO SDIO DATA1, strapping
D4 GPIO23 I2C SDA –
D5 GPIO24 I2C SCL –
D6 GPIO11 UART TX –
D7 GPIO12 UART RX –
D8 GPIO8 SPI SCK –
D9 GPIO9 SPI MISO –
D10 GPIO10 SPI MOSI –
5V / GND / 3V3 – Power 5 V, GND, 3.3 V out

Source: Seeed wiki C5 pin map. The chip has 5 ADC channels, but only D0 is broken out as an analog header pin.

The battery voltage reading is built in: GPIO6 reads the battery and GPIO26 enables the measurement circuit, so you can read the cell voltage in code with no divider to solder. Source: Seeed wiki C5 battery section. The user LED is GPIO27.

What is the XIAO ESP32S3 pinout?

The S3 pinout is covered in full in our dedicated guide, Seeed XIAO ESP32S3 Pinout: GPIO, Camera, and Power, so this section is a summary only. The S3 breaks out the same 11 D pins: D0 to D5 are GPIO1 to GPIO6, D6 and D7 are GPIO43 and GPIO44 for UART, and D8 to D10 are GPIO7, GPIO8, and GPIO9 for SPI. I2C is D4 and D5, and 9 of the 11 pins can read analog voltages. The boot button is GPIO0. The Sense version adds a detachable camera and a microSD slot on an expansion board on the back, and the microSD chip select is GPIO21.

Which pins are shared with other hardware?

A pin that looks free on the header may already have a job. Check this table before you assign pins.

Shared hardware Board Pins involved What it means for your wiring
Antenna RF switch C6 GPIO3 (power), GPIO14 (select) Internal, not header pins. GPIO3 low, then GPIO14 low for onboard or high for external. Source: Seeed wiki C6.
Antenna C3 U.FL connector only No onboard antenna. Attach the external antenna or WiFi range will be poor.
Battery voltage read C5 GPIO6 (read), GPIO26 (enable) Built-in divider. Drive GPIO26 high to read the battery on GPIO6. Source: Seeed wiki C5.
Camera, mic, microSD S3 Sense only Board-to-board connector, SD CS GPIO21 On the expansion board, not the D header. See the S3 pinout guide.

Which pins are free for your project on each board?

Free means no boot-time duty, no bus duty, and no shared hardware.

The bus pins are the same on all four boards (D4/D5 I2C, D6/D7 UART, D8 to D10 SPI) and are free whenever that bus is unused.

Board Free pins, no conditions Pins that need care
C3 D1 (GPIO3), D10 (GPIO10) D0, D8, D9 (strapping); D2, D3, D4, D5 (JTAG)
C6 D0, D1, D2, D3, D4, D5, D8, D9, D10 D6, D7 (UART console)
C5 D0, D1, D4, D5, D6, D7, D8, D9, D10 D2, D3 (strapping)
S3 D0, D1, D3, D4, D5, D8, D9 D2 (strapping), D6, D7, D10 (see the S3 pinout guide)

Sources: Seeed wiki pin maps; the S3 row follows our S3 pinout post.

Which pins are strapping and boot pins on each board?

Strapping pins are read by the chip at reset to pick the boot mode. A sensor that pulls one to the wrong level at reset can stop the board from booting or accepting an upload.

Board Strapping pins on the header Boot button GPIO
C3 D0 (GPIO2), D8 (GPIO8), D9 (GPIO9) GPIO9
C6 None on the header GPIO9
C5 D2 (GPIO25), D3 (GPIO7) GPIO28
S3 D2 (GPIO3), plus GPIO0 on the BOOT button GPIO0

The C3 pins come from the Seeed wiki C3 strapping section. The Seeed wiki has no strapping section for the C6 or the C5: the C6 list (GPIO4, GPIO5, GPIO8, GPIO9, GPIO15, all internal) comes from the SolderHub C6 guide, and the C5 pins come from the ESP32-C5 datasheet via the espboards C5 page, both secondary sources. Full S3 detail is in the S3 pinout guide.

If a board stops appearing as a USB port or refuses uploads after you wire something new, check the strapping pins first. Disconnect the new wiring, confirm the board uploads again, then rewire with the strapping pin left alone at boot.

What are the common mistakes?

  • Using a pin table from the wrong board. D4 is GPIO6 on the C3, GPIO22 on the C6, GPIO5 on the S3, and GPIO23 on the C5. The D name is the same and the GPIO number is not.
  • Wiring a sensor to a strapping pin on the C3. D0, D8, and D9 decide the boot mode. A sensor that pulls one low at reset can leave the board unresponsive.
  • Expecting analog reads on every D pin. Only D0 to D3 read analog on the C3, only D0 to D2 on the C6, and only D0 on the C5. The S3 is the analog-rich board with 9 analog header pins.
  • Running the C3 with no antenna. The C3 has no onboard antenna. WiFi will barely work without the external antenna on the U.FL connector.

How do I troubleshoot a XIAO pinout problem?

The board does not appear as a USB port. Try a different USB-C cable, one that carries data, not a charge-only cable. Then try bootloader mode: on the C6, hold BOOT, connect the cable, release BOOT, and upload Blink. Source: Seeed wiki C6 bootloader section.

Uploads fail after new wiring. Disconnect the new wiring and try again. If the upload works, a strapping pin is held at the wrong level. On the C3 check D0, D8, and D9 first. On the C5 check D2 and D3. On the S3 check D2.

analogRead returns 4095 or 0 all the time. Check that the pin is an analog pin on your board. On the C5 only D0 reads analog on the header. On the C6 only D0 to D2 do. On the C3 only D0 to D3 do. Also check that the sensor output stays inside 0 to 3.3 V.

Which pins can I use for my project?

Pick the board first, then the pins. If you have not picked a board, see XIAO ESP32C3 vs C6 vs S3 vs C5: Pick the Right Board.

Project Board Pins to use
I2C sensor or OLED Any D4 SDA, D5 SCL
SPI display or SD card Any D8 SCK, D9 MISO, D10 MOSI, plus a free pin for chip select (on the C3, use D1, not D0)
Analog sensor S3 first, C3 second S3: D0 to D5, D8 to D10; C3: D0 to D2
Battery-powered sensor node C6 or C5 C6: D0 to D2 for wake and analog; C5: D0 for wake

Parts used in this guide

Prices and stock were verified live on qualityrcparts.com on 2026-11-21 through the public Store API. All four items are in stock and purchasable.

Shipped fast and securely from our secure facility in Queensbury, NY. QRC ships within the USA only.

Related guides

FAQ

How many GPIO pins does a XIAO ESP32 board have? 11, named D0 through D10, on all four boards. The header also carries 5V, GND, and 3V3. Source: Seeed wiki pin maps.

Which pins are I2C on the XIAO ESP32 boards? D4 is SDA and D5 is SCL on all four boards. Source: Seeed wiki pin maps.

Which pins are SPI on the XIAO ESP32 boards? D8 is SCK, D9 is MISO, and D10 is MOSI on all four boards. Source: Seeed wiki pin maps.

Can I use 5 volt sensors with a XIAO ESP32 board? No. All four boards run 3.3 V logic, and a voltage above 3.3 V on a GPIO pin can damage the chip. Use a level shifter. Source: Seeed wiki power sections.

Which XIAO pins are strapping pins? On the C3, D0 (GPIO2), D8 (GPIO8), and D9 (GPIO9). On the C5, D2 (GPIO25) and D3 (GPIO7). On the S3, D2 (GPIO3). On the C6, none of the header pins is a strapping pin.

Why does my XIAO ESP32C3 not boot after I wire a sensor? The usual cause is a strapping pin held at the wrong level at reset. D0, D8, and D9 decide the boot mode on the C3. Disconnect the new wiring, confirm the board boots, then move the sensor to D1 or D10.

Does the XIAO ESP32-C5 have an analog pin? Yes, one on the header: D0 (GPIO1). The chip has 5 ADC channels in total, but the others are not broken out on the header. Source: Seeed wiki C5 pin map.

Sources

Last updated: 2026-11-21

Change log

  • 2026-11-21: Draft created. Full C3, C6, and C5 pin tables from the Seeed wiki pin maps; S3 covered as a summary with a link to the dedicated S3 pinout post. Shared-pin, free-pin, and strapping tables added. No live post gives full C3, C6, or C5 pin tables, verified against posts 23363, 22718, and 18592.

ESP8266 vs ESP32: Specs, Power, and Which to Pick

Microcontroller datasheet open beside an ESP32 board and a Raspberry Pi Pico

ESP8266 vs ESP32: Specs, Power, and Which to Pick

Pick the ESP32 for any new project that needs Bluetooth, more than one analog input, or more than about 50 KB of free RAM. Keep the ESP8266 only when you are maintaining a working design that already uses it. Espressif marks the ESP8266 as Not Recommended for New Designs, so new work should start on an ESP32 family chip.

ESP8266 vs ESP32 at a glance

The table below uses the Espressif ESP8266EX Datasheet v7.1 (2025-11-18, which updated the product status to Not Recommended for New Designs) and the Espressif ESP32 Series Datasheet v5.3.

Spec (unit) ESP8266 ESP32
CPU Single Tensilica L106, 32-bit Dual Xtensa LX6, 32-bit
Max clock (MHz) 80, up to 160 240
User RAM (KB) About 50 usable from 80 KB data RAM 520 SRAM
Flash (MB) Up to 16 external, 1 to 4 typical on boards 4 in package typical, up to 16 external
GPIO pins (count) 17 at chip level, 11 usable on common boards 34
ADC 1 channel, 10-bit, 0 to 1.0 V at chip 18 channels, 12-bit, two ADC units
DAC None 2 channels, 8-bit
Wi-Fi 802.11 b/g/n, 2.4 GHz 802.11 b/g/n, 2.4 GHz
Bluetooth None Classic plus BLE 4.2
UART (count) 2, one transmit only 3
SPI (count) 1 usable plus HSPI 2 usable plus flash SPI
I2C Software bit banged, 1 bus typical 2 hardware buses
PWM channels (count) Software PWM typical 16 LEDC channels
Logic voltage (V) 3.3 3.3
Deep sleep current (uA) 20, chip level About 10, board dependent

The RAM row deserves a note. The ESP8266EX datasheet describes about 50 KB of programmable space accessible in heap plus data when the chip runs in station mode. The ESP32 has 520 KB of SRAM. That gap is the single largest practical difference between the two chips, and it decides which libraries fit.

Is the ESP8266 still recommended for new designs?

No. Espressif marks the ESP8266EX as Not Recommended for New Designs, abbreviated NRND. Espressif defines NRND as a product that is still in production but not recommended for new designs, because newer products offer better function, lower cost or a longer future. NRND does not mean the chip is discontinued. Espressif lists the ESP8266 in its Longevity Commitment at a minimum of 15 years from January 1, 2014, so existing products built on it can still be supplied and repaired.

The practical meaning is simple. If you already ship a product on the ESP8266, you can keep ordering it and keep supporting it. If you are starting a new design, Espressif points you at the ESP8684, sold as the ESP32-C2, as the direct upgrade path: the v7.1 datasheet cover recommends the upgraded model ESP8684. The ESP32-C3 is the board level equivalent that most makers reach for. The ESP32-C3 has a single RISC-V core at 160 MHz, 400 KB of SRAM, 22 GPIO pins and Bluetooth LE 5, at a similar price point to ESP8266 boards.

Software support follows the same direction. Espressif directs new framework development at the ESP32 line. Community firmware projects have also moved on: ESPHome lists the ESP8266 as not recommended for new projects and recommends the ESP32-C3 instead at a similar price, while noting that existing ESP8266 devices keep working and keep receiving support. ESPEasy declared its ESP8266 builds feature complete in April 2025, because new plugins no longer fit in the limited binary space and RAM.

How do the CPUs and memory compare?

The ESP8266 has one Tensilica L106 core at 80 MHz by default, with 160 MHz available as a clock option. The ESP32 has two Xtensa LX6 cores at up to 240 MHz. Raw clock speed understates the gap, because the ESP32 also has a second core, a faster bus and far more RAM. A Wi-Fi stack plus a sensor task plus a display task runs comfortably on the ESP32 and strains the ESP8266.

Memory is where ESP8266 projects hit a wall. About 50 KB of heap is available to your code once the Wi-Fi stack is running. A TLS connection, a JSON document and a display buffer can consume that budget before your application logic starts. The ESP32 has 520 KB of SRAM, so the same project has room for a display buffer, a TLS session and a web server at once. Flash follows the same pattern: most ESP8266 boards carry 1 MB to 4 MB of flash, while most ESP32 boards carry 4 MB or more.

The lesson is to count RAM before you count pins. A project that fits in 50 KB of RAM runs fine on the ESP8266. A project that needs a secure connection, a large display or a camera does not fit, and the ESP32 is the correct pick.

How do GPIO, ADC and peripherals compare?

The ESP8266 exposes 17 GPIO pins at the chip level, but common boards such as the NodeMCU expose about 11 usable pins, and several of those carry boot duties. GPIO 0, GPIO 2 and GPIO 15 must sit at specific levels at boot, and GPIO 16 is tied to the deep sleep wake timer and supports no interrupts. A project with four sensors, a display and two buttons can run out of usable pins on an ESP8266 board.

The ESP32 exposes 34 GPIO pins, with 6 input only pins at GPIO 34 to 39, and far fewer boot traps. It has two hardware I2C buses, three UARTs, two usable SPI buses, 16 PWM channels and 10 touch pins. The ESP8266 has one ADC channel at 10-bit resolution, and the chip input range is 0 to 1.0 V, although NodeMCU style boards add a voltage divider that scales the board input to 0 to 3.3 V. The ESP32 has 18 ADC channels at 12-bit resolution, with the ADC2 and Wi-Fi conflict described in the ADC post linked below.

Peripheral count decides real projects. A robot with two motors, an ultrasonic sensor, a line sensor and a display needs more pins and more PWM channels than an ESP8266 board comfortably provides. The ESP32 provides them with pins to spare.

Which radios does each chip have?

Both chips have 2.4 GHz Wi-Fi 4, 802.11 b/g/n. Neither has 5 GHz Wi-Fi. The ESP8266 has no Bluetooth radio of any kind. The ESP32 has Bluetooth Classic and Bluetooth LE 4.2. That difference alone decides many projects: a phone app over Bluetooth, a Bluetooth beacon, or a classic serial link needs the ESP32.

ESP-NOW, the Espressif peer to peer protocol, runs on both chips, so a simple ESP-NOW remote works on either. But an ESP-NOW project that also needs Bluetooth, a display or more memory still belongs on the ESP32.

What about power use?

Both chips draw low current in deep sleep at the chip level, and board level deep sleep current is higher because of the USB to serial chip, the voltage regulator and the power LED on the board. The ESP8266 draws 20 uA in deep sleep at the chip level, and the ESP32 draws about 10 uA. Neither chip wins on sleep current alone. The difference is what each chip can do while awake: the ESP32 finishes a Wi-Fi task faster on two cores at 240 MHz and returns to sleep sooner, while the ESP8266 takes longer at 80 MHz.

For a battery sensor that wakes once an hour, posts a reading and sleeps again, both chips work, and the ESP32-C3 or ESP32-C6 is often the better low power pick than either. For a mains powered device, power use is not the deciding factor at all.

When should you keep the ESP8266?

Keep the ESP8266 in three cases. First, you are maintaining a product or a fleet that already runs on it, and a redesign costs more than the benefit. Second, you need a drop in replacement for a failed ESP8266 board in a working project, such as a NodeMCU with an OLED display or an ESP-01S module in an existing socket. Third, you are teaching a class or a workshop with existing ESP8266 boards and existing lesson material, and the lessons fit in the available RAM.

In every other case, start on the ESP32. The ESP32 DevKit V1 is the general purpose pick. The ESP32-C3 SuperMini is the low cost pick for a simple Wi-Fi sensor. Both cost little more than an ESP8266 board and remove the RAM, pin and Bluetooth limits that cause most ESP8266 project failures.

How do you migrate a project from ESP8266 to ESP32?

Start by listing the pins your ESP8266 project uses, including the boot pins and the single ADC pin. Map each one to an ESP32 pin, and move any ADC2 pin to an ADC1 pin, GPIO 32 to 39, when Wi-Fi is in use. Next, check the libraries: most Arduino libraries for sensors and displays work on both chips, but Wi-Fi and web server code uses different headers, so expect a short porting pass. Then check RAM: code that was squeezed to fit 50 KB of heap will have room to breathe, but a hard coded small buffer may still limit a display or a JSON document, so raise those buffers after the move.

Test the migrated project on the bench before you deploy it. Wi-Fi signal strength, boot behaviour and deep sleep wake timing all differ between the chips. A project that worked on the bench on the ESP8266 can behave differently on the ESP32 if a pin that was safe on one board is a strapping pin on the other.

For the wider family picture, see the ESP32 family comparison.

FAQ

Is the ESP8266 discontinued?

No. Espressif marks the ESP8266 as Not Recommended for New Designs, which is not the same as discontinued. Espressif lists a minimum 15 year production commitment from January 1, 2014, so existing designs can still be supplied.

Is the ESP32 better than the ESP8266?

Yes, for new projects. The ESP32 has two cores at 240 MHz, 520 KB of SRAM, 34 GPIO pins, 18 ADC channels and Bluetooth Classic plus BLE. The ESP8266 has one core at 80 MHz, about 50 KB of usable RAM, 11 usable GPIO pins on common boards and no Bluetooth.

Can I use ESP8266 code on an ESP32?

Most sensor and display code ports with small changes. Wi-Fi, web server and pin code needs a porting pass, because the headers and the pin numbers differ. Test the ported code on the bench before you deploy it.

What replaces the ESP8266 for new designs?

Espressif recommends the ESP32-C2 as the direct upgrade. At board level, the ESP32-C3 is the closest low cost equivalent, with a single RISC-V core, 400 KB of SRAM and Bluetooth LE 5.

Does the ESP-01S still have a use?

Yes, as a Wi-Fi add-on or a drop in replacement in an existing ESP-01 socket. It is a single purpose module with very few usable GPIO pins, so it suits a simple serial to Wi-Fi bridge, not a new multi sensor project.

Parts used

ESP8266 NodeMCU Development Board, 6-Pack: the NodeMCU board for maintaining existing ESP8266 projects. ESP32 DevKit V1 Development Board, 30-Pin WROOM-32: the ESP32 board for new projects that need more pins, RAM and Bluetooth. ESP8266 ESP-01S WiFi Module: the small ESP-01S module for serial to Wi-Fi bridges and drop in replacements.

Sources

Last updated: 2026-11-21. Search volume: not verified. Product links use the store short link form with the product ID; confirm the product slug at publish time.

ESP32 vs ESP32-S3 vs ESP32-C3 vs ESP32-C6: Which Chip for Your Project

ESP32-S2 Mini board beside an ESP32-S3 DevKitC board

ESP32 vs ESP32-S3 vs ESP32-C3 vs ESP32-C6: Which Chip for Your Project

ESP32 vs ESP32-S3 is the first choice to make: pick the S3 for cameras, displays and on-device AI, and pick the original ESP32 for Bluetooth Classic or the widest tutorial base. Pick the ESP32-C3 for a low cost Wi-Fi sensor, and pick the ESP32-C6 for Matter, Thread and Zigbee work.

ESP32 vs ESP32-S3 vs ESP32-C3 vs ESP32-C6 at a glance

The table below gives the chip level numbers from the Espressif datasheets. Board level GPIO counts differ, because a small board breaks out fewer pins than the chip provides. Check your exact board pinout before you wire anything.

Spec (unit) ESP32 ESP32-S3 ESP32-C3 ESP32-C6
CPU core Dual Xtensa LX6 Dual Xtensa LX7 Single RISC-V Single RISC-V plus LP core
Max clock (MHz) 240 240 160 160
SRAM (KB) 520 512 400 512
GPIO pins (count) 34 45 22 30
Wi-Fi Wi-Fi 4, 2.4 GHz Wi-Fi 4, 2.4 GHz Wi-Fi 4, 2.4 GHz Wi-Fi 6, 2.4 GHz
Bluetooth Classic plus BLE 4.2 BLE 5 BLE 5 BLE 5.3
802.15.4 Thread/Zigbee No No No Yes
Native USB No USB OTG USB Serial/JTAG USB Serial/JTAG
PSRAM support Up to 8 MB external Up to 16 MB in package No No
ADC channels (count, bits) 18, 12-bit 20, 12-bit 6, 12-bit 7, 12-bit
DAC channels (count) 2, 8-bit 0 0 0

Sources for the table: Espressif ESP32 Series Datasheet v5.3, ESP32-S3 Series Datasheet v2.2 (2026-03-05), ESP32-C3 Series Datasheet v2.5, and ESP32-C6 Series Datasheet v1.6 (2026-11-10).

Which ESP32 chip should you choose first?

Start from the radio and the workload, not from the price. A board that costs a few dollars less is a false saving when it lacks the radio your project needs. Work through the three questions below in order. The first question that gives a single answer decides the chip.

First, do you need Thread, Zigbee or Matter? Only the ESP32-C6 in this group has an 802.15.4 radio. The C6 also brings Wi-Fi 6 on 2.4 GHz and Bluetooth 5.3. If your device must join a Matter fabric over Thread, the C6 is the only pick here. Second, do you need a camera, a parallel display or on-device AI? The ESP32-S3 is the pick. Its dual cores, PSRAM support and vector instructions handle camera frames and display buffers that starve the smaller chips. Third, do you need Bluetooth Classic, for audio streaming or a legacy serial link? Only the original ESP32 in this group has Bluetooth Classic. The S3, C3 and C6 offer Bluetooth LE only.

If none of those three questions decides it, you are choosing between a general purpose board and a low cost sensor node. The original ESP32 is the general purpose default, with 34 GPIO pins and the largest body of tutorials. The ESP32-C3 is the low cost sensor node, with 22 GPIO pins and a single RISC-V core at 160 MHz. That core is ample for reading sensors and posting data over Wi-Fi.

How do the CPUs compare?

The original ESP32 and the ESP32-S3 each have two Xtensa cores at up to 240 MHz. The ESP32 uses LX6 cores. The S3 uses LX7 cores with vector instructions that speed neural network and signal processing work. In practice, the S3 runs the same Wi-Fi stack on one core while your application code runs on the other, with headroom left for a display or a camera.

The ESP32-C3 and ESP32-C6 each have one RISC-V core at up to 160 MHz. A single core at 160 MHz reads sensors, drives a small display and holds a Wi-Fi connection without strain. It struggles only when you add a second heavy job, such as continuous audio processing or a camera stream. The C6 adds a low power RISC-V core at 20 MHz that can run while the main core sleeps, which suits battery powered sensors that wake on a schedule.

Clock speed alone misleads. The S3 at 240 MHz with two cores and 512 KB of SRAM does roughly twice the concurrent work of the C3 at 160 MHz with one core and 400 KB of SRAM. For a temperature logger the difference is invisible. For a camera it decides whether the project works at all.

What radios does each chip have?

All four chips have 2.4 GHz Wi-Fi. The ESP32, S3 and C3 use Wi-Fi 4. The C6 uses Wi-Fi 6, which improves efficiency on a busy 2.4 GHz network but does not add a 5 GHz band. None of these four chips has 5 GHz Wi-Fi. If your network is 5 GHz only, none of them connects, and you need a different board or a 2.4 GHz access point.

Bluetooth splits the group. The original ESP32 has Bluetooth Classic and Bluetooth LE 4.2. Bluetooth Classic matters for audio profiles and for older serial port profile links. The S3 has Bluetooth LE 5, the C3 has Bluetooth LE 5, and the C6 has Bluetooth LE 5.3. Bluetooth LE suits sensors, beacons and phone apps. It does not carry classic audio streaming.

The ESP32-C6 is the only chip here with an IEEE 802.15.4 radio, which carries Thread and Zigbee. Espressif positions the C6 for Matter end devices, over Wi-Fi or over Thread. If you are building a smart home sensor that must speak Matter over Thread, the C6 is the chip. The other three cannot add that radio in software.

How much GPIO, ADC and memory do you get?

GPIO count decides how many sensors, buttons and outputs a board can carry. The ESP32-S3 leads with 45 programmable GPIO pins at the chip level. The original ESP32 has 34. The ESP32-C6 has 30 in the QFN40 package and 22 in the QFN32 package, so check the exact module. The ESP32-C3 has 22. Small boards break out fewer pins than the chip has, so a C3 SuperMini exposes fewer usable pins than the 22 the chip provides. Read the board pinout for the exact board you hold.

ADC channels follow the same pattern. The original ESP32 has 18 ADC channels at 12-bit resolution across two ADC units, and ADC2 cannot be read while Wi-Fi runs. The S3 has 20 ADC channels at 12-bit. The C6 has 7 and the C3 has 6. If your project reads four or more analog sensors plus a battery voltage, the C3 runs out of analog pins fast, while the ESP32 and S3 have room to spare.

Memory decides frame buffers and display work. The original ESP32 has 520 KB of SRAM. The S3 has 512 KB plus support for up to 16 MB of PSRAM in package, which is what makes camera frames and large displays practical. The C6 has 512 KB of SRAM with no PSRAM support. The C3 has 400 KB with no PSRAM support. A camera frame at usable resolution needs PSRAM or a large SRAM buffer, which is why camera projects belong on the S3.

What about USB, DAC and touch?

Native USB splits the group in a way that matters every time you flash a board. The ESP32-S3 has full speed USB OTG, so it can act as a USB device or host, and it has a USB Serial/JTAG controller for flashing and debugging over one USB cable. The C3 and C6 have USB Serial/JTAG for flashing and debugging, but no full USB OTG peripheral. The original ESP32 has no native USB at all, so its boards carry a USB to serial chip such as the CP2102, and flashing goes through that chip.

DAC output exists only on the original ESP32 in this group, with two 8-bit DAC channels. The S3, C3 and C6 have no DAC. If your project needs a true analog voltage out, rather than a filtered PWM signal, the original ESP32 is the pick, or you add an external DAC chip to one of the others.

Touch sensing is available on the original ESP32 with 10 touch pins and on the S3 with 14 touch pins. The C3 and C6 have no capacitive touch peripheral in the same form. A touch button project is simpler on the ESP32 or the S3.

Which board should you buy for each project type?

Use this verdict table as a starting point, then check the pinout post for the exact board before you order. Each verdict names the chip and the reason in one line.

Project type Pick this chip Why
Camera or AI vision ESP32-S3 PSRAM, dual cores, camera interface, vector instructions
Colour display or HMI ESP32-S3 PSRAM and LCD interface, 45 GPIO pins
Matter, Thread or Zigbee ESP32-C6 Only chip here with 802.15.4, plus Wi-Fi 6
Low cost Wi-Fi sensor ESP32-C3 Single core is ample, 22 GPIO pins, USB flashing
Bluetooth Classic audio or SPP ESP32 Only chip here with Bluetooth Classic
General purpose learning board ESP32 34 GPIO pins, DAC, touch, largest tutorial base
Battery sensor with deep sleep ESP32-C6 Low power core, 7 uA deep sleep class

The boards in stock that match these picks are linked in the parts section below. The ESP32 DevKit V1 is the original ESP32 board. The ESP32-S3 DevKitC-1 is the S3 board. The ESP32-C3 SuperMini and the ESP32-C6 SuperMini are the small form factor C3 and C6 boards.

What mistakes do builders make when they pick?

The first mistake is buying the C3 for a camera. The C3 has no camera interface and no PSRAM, so a camera project on a C3 fails at the hardware level, not in code. The second mistake is buying the S2 or C3 for Bluetooth Classic audio. Those chips have no Bluetooth Classic radio, and no library adds one. The third mistake is buying the original ESP32 for a Matter over Thread device. It has no 802.15.4 radio.

The fourth mistake is counting chip GPIO pins instead of board pins. A SuperMini board breaks out a subset of the chip pins, and some chip pins are used by flash memory or the USB circuit. Read the pinout post for your exact board variant and count the broken out, usable pins. The fifth mistake is ignoring the ADC2 and Wi-Fi conflict on the original ESP32. If your sensor sits on an ADC2 pin, readings stop when Wi-Fi starts. Move the sensor to an ADC1 pin, GPIO 32 to 39.

For the board behind this comparison, start with the ESP32 DevKit V1 guide: how to use the board for WiFi projects.

FAQ

Which ESP32 is best for beginners?

The original ESP32 DevKit V1 is the safest first board. It has 34 GPIO pins, Bluetooth Classic and BLE, a DAC and touch pins, and the largest set of tutorials. Start there unless a radio requirement points at another chip.

Is the ESP32-S3 better than the ESP32?

The S3 is faster for camera, display and AI work because of its dual LX7 cores, PSRAM support and vector instructions. It is not better for Bluetooth Classic audio, because it has no Bluetooth Classic radio, and it has no DAC.

Can the ESP32-C3 run a camera?

No. The C3 has no camera interface and no PSRAM support, so it cannot hold camera frames. Use the ESP32-S3 for camera projects.

Does the ESP32-C6 have Wi-Fi 6 on 5 GHz?

No. The C6 has Wi-Fi 6 on 2.4 GHz only. It has no 5 GHz radio. Its advantage is Wi-Fi 6 efficiency plus the 802.15.4 radio for Thread and Zigbee.

Can I use the same Arduino code on all four chips?

Most Arduino code ports across the four chips with a board selection change, because the Arduino core supports all of them. Code that uses chip specific features, such as the DAC on the original ESP32 or the camera interface on the S3, does not port.

Parts used

ESP32 DevKit V1 Development Board, 30-Pin WROOM-32: the original ESP32 board for general purpose projects and Bluetooth Classic work. ESP32-S3 Development Board DevKitC-1 N8R2 N16R8: the S3 board for camera, display and AI projects, with PSRAM options. ESP32-C3 SuperMini Development Board, 4-Pack: the low cost C3 board for Wi-Fi sensor nodes. ESP32-C6 SuperMini Development Board, 2-Pack: the C6 board for Matter, Thread and Zigbee projects.

Sources

Last updated: 2026-11-21. Search volume: not verified. Product links use the store short link form with the product ID; confirm the product slug at publish time.