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.

Bluetooth Robot Car with ESP32 BLE and a Phone

Phone showing a BLE control app next to an ESP32 robot car

Bluetooth Robot Car with ESP32 BLE and a Phone

Control this Bluetooth robot car from your phone with the ESP32 native Bluetooth Low Energy radio. No HC-05 or HC-06 module is needed, because the ESP32 DevKit V1 already has BLE built in. The car runs a BLE server with one writable characteristic, the phone writes drive commands to it, and the car stops by itself when the phone disconnects.

Quick facts

Item Value
Radio ESP32 native BLE 4.2, no extra module
Control app nRF Connect or any BLE scanner app, free
Service One custom service, one writable drive characteristic
Commands Single letters: F, B, L, R, S, plus speed digits 0 to 9
Driver L298N, 2 A per channel
Failsafe Car stops on BLE disconnect

Why use ESP32 native BLE instead of a Bluetooth module?

The ESP32 DevKit V1 has a Bluetooth radio on the chip. It supports Bluetooth Classic and Bluetooth Low Energy 4.2. A separate HC-05 module adds a second radio, a second serial port, and a second power draw for no benefit. This build uses the radio that is already on the board.

BLE is not a wireless serial port. It is a tree of named values. The car publishes a service with a characteristic, and the phone writes values to that characteristic. That sounds more complex than serial, but it gives you connection handling for free. The ESP32 knows when the phone connects and when it drops, and the sketch uses that event as the failsafe.

No HC-05 or HC-06 module is stocked for this build, so the design does not spec one. The phone app is a generic BLE scanner, not a custom app. That keeps the build to two parts: the car and the phone you already own.

Bluetooth robot car: how does BLE control work?

The car runs a BLE server. The server holds one service, identified by a UUID, and one characteristic inside it, identified by a second UUID. The characteristic accepts writes and sends notifications. The phone scans, finds the car by its advertised name, connects, and writes a short string to the characteristic.

The string is a drive command. F drives forward, B reverses, L turns left, R turns right, and S stops. A digit after the letter sets the speed from 0 to 9, so F8 means forward at speed 8. The sketch parses the letter and the digit, then drives the L298N the same way the wired car build does. Commands are two characters, far under the default 20-byte BLE payload, so no MTU change is needed.

The UUIDs in the code are examples from the standard BLE tutorial set. Generate your own UUIDs for a finished project, because reused UUIDs can confuse scanner apps when two devices advertise the same service. A free UUID generator online makes a fresh pair in seconds.

How do you drive it from a phone?

Install nRF Connect, a free BLE scanner app, on your phone. Power the car, open the app, and scan. The car advertises as ESP32-Robot-Car. Tap Connect, then open the service and the drive characteristic. Write F8 as text or bytes to drive forward at speed 8, and write S to stop.

nRF Connect is a test tool, not a joystick. Each command is a manual write, so the car holds the last command until you write a new one. That is fine for testing, but it is not smooth driving. A proper control app with buttons or a joystick sends commands continuously, and any app that writes to a BLE characteristic will work with this sketch.

Keep the phone within a few meters of the car for the first test. BLE range in open air is tens of meters, but walls and the metal chassis cut it. If commands lag, move closer before you blame the code.

What happens when the phone disconnects?

The sketch registers server callbacks for connect and disconnect. On disconnect it sets a flag, stops both motors, and restarts advertising so the phone can reconnect. That is the failsafe. A car that kept its last command after the phone died would drive until it hit a wall.

Test the failsafe on purpose. Drive forward, then switch the phone Bluetooth off or walk out of range. The car should stop within a second. If it keeps driving, the disconnect callback is not running, so check that the callbacks are set before the service starts.

The sketch also stops the car if no command arrives for 2 seconds while connected. That covers the case where the app is open but stops sending. Both timers together mean the car never runs away from a dead link.

Wiring

Wire the build with the power off. Check every connection in the table before you connect any battery or USB cable.

From To Notes
Battery box positive L298N 12 V terminal Motor supply, 6 V from 4 AA cells
Battery box negative L298N GND and ESP32 GND Common ground is required
L298N OUT1, OUT2 Left TT motor Swap these two wires to fix a reversed wheel
L298N OUT3, OUT4 Right TT motor Swap these two wires to fix a reversed wheel
ESP32 GPIO 25 L298N ENA Remove the ENA jumper; PWM speed, left motor
ESP32 GPIO 27 L298N IN1 Left motor direction A
ESP32 GPIO 14 L298N IN2 Left motor direction B
ESP32 GPIO 26 L298N ENB Remove the ENB jumper; PWM speed, right motor
ESP32 GPIO 12 L298N IN3 Right motor direction A; keep low at boot
ESP32 GPIO 13 L298N IN4 Right motor direction B
USB 5 V or battery 5 V ESP32 USB port Logic supply only; motor current never passes through USB

Power budget

The motors run from 4 AA cells at about 6 V into the L298N, which drops about 2 V, so each TT motor sees about 4 V. Two TT motors draw about 1 to 2 A together at full load. The ESP32 runs from USB 5 V or a separate 5 V supply and draws about 80 to 160 mA with BLE advertising and connected.

BLE uses less power than Wi-Fi, but the car still needs its motors on a separate supply. Never power the motors from the ESP32 5 V pin. The L298N logic draws only a few milliamps from its onboard regulator when the 5 V jumper is fitted at 6 V.

For outdoor driving, a USB power bank powers the ESP32 while the AA box powers the motors. Keep both supplies separate except for the shared ground between the battery negative, the L298N ground, and the ESP32 ground.

Build steps

  1. Assemble the chassis kit, fit the TT motors and wheels, and mount the L298N and the ESP32 on the top plate.
  2. Wire the L298N and the motors from the wiring table. Leave the 5 V jumper on for a 6 V pack.
  3. Remove the ENA and ENB jumpers. Wire the six control pins and join the battery negative to the ESP32 ground.
  4. Upload the sketch below to the ESP32 DevKit V1. No extra library is needed, because BLE ships with the core.
  5. Install nRF Connect on your phone. Power the car and scan for ESP32-Robot-Car.
  6. Connect, open the drive characteristic, and write S to confirm the link. Then write F5 and confirm both wheels spin forward.
  7. Lift the car first, then set it on the floor. Test the disconnect failsafe by switching the phone Bluetooth off while driving.

Code

Libraries: none beyond the ESP32 Arduino core (BLE ships with the core). Board: ESP32 DevKit V1. The sketch uses the core 4.0.0 BLE API (BLE.h handles, BLEProperty/BLEPermission) and will not compile on core 2.x/3.x, whose BLEDevice pointer API was removed in 4.0. The UUIDs below are the standard tutorial pair; generate your own for a finished project.

// Bluetooth robot car: ESP32 native BLE server + L298N
// Board: ESP32 DevKit V1. Library: BLE (ships with the core).
// Requires Arduino ESP32 core 4.0.0 or later (ESP-IDF 6.1.1).
// The core 2.x/3.x BLEDevice pointer API does not compile on 4.0.
#include 

static const BLEUUID SERVICE_UUID("4fafc201-1fb5-459e-8fcc-c5c9c331914b");
static const BLEUUID CHARACTERISTIC_UUID("beb5483e-36e1-4688-b7f5-ea07361b26a8");

const int ENA = 25;  // Left motor PWM (remove the ENA jumper)
const int IN1 = 27;
const int IN2 = 14;
const int ENB = 26;  // Right motor PWM (remove the ENB jumper)
const int IN3 = 12;
const int IN4 = 13;

bool deviceConnected = false;
unsigned long lastCommandMs = 0;
const unsigned long COMMAND_TIMEOUT_MS = 2000;  // Stop if silent for 2 s

void driveMotor(int pwmPin, int inA, int inB, int speed) {
  if (speed >= 0) {
    digitalWrite(inA, HIGH);
    digitalWrite(inB, LOW);
    analogWrite(pwmPin, speed);
  } else {
    digitalWrite(inA, LOW);
    digitalWrite(inB, HIGH);
    analogWrite(pwmPin, -speed);
  }
}

void drive(int left, int right) {
  driveMotor(ENA, IN1, IN2, left);
  driveMotor(ENB, IN3, IN4, right);
}

void stopCar() {
  analogWrite(ENA, 0);
  analogWrite(ENB, 0);
}

// Command format: letter plus speed digit 0 to 9.
// F8 = forward speed 8, L5 = left speed 5, S = stop.
void handleCommand(String cmd) {
  if (cmd.length() < 1) return;
  char dir = cmd.charAt(0);
  int level = 5;  // Default speed level
  if (cmd.length() > 1 && isDigit(cmd.charAt(1))) {
    level = cmd.charAt(1) - '0';
  }
  int speed = map(level, 0, 9, 0, 255);
  lastCommandMs = millis();
  if (dir == 'F') drive(speed, speed);
  else if (dir == 'B') drive(-speed, -speed);
  else if (dir == 'L') drive(-speed, speed);
  else if (dir == 'R') drive(speed, -speed);
  else if (dir == 'S') stopCar();
}

void setup() {
  Serial.begin(115200);
  pinMode(ENA, OUTPUT); pinMode(IN1, OUTPUT); pinMode(IN2, OUTPUT);
  pinMode(ENB, OUTPUT); pinMode(IN3, OUTPUT); pinMode(IN4, OUTPUT);
  stopCar();
  BLE.begin("ESP32-Robot-Car");
  BLEServer server = BLE.createServer();
  server.onConnect([](BLEServer &s, const BLEConnInfo &conn) {
    deviceConnected = true;
    lastCommandMs = millis();
  });
  server.onDisconnect([](BLEServer &s, const BLEConnInfo &conn, uint8_t reason) {
    deviceConnected = false;
    stopCar();  // Failsafe: halt on disconnect
  });
  server.advertiseOnDisconnect(true);
  BLEService svc = server.createService(SERVICE_UUID);
  BLECharacteristic chr = svc.createCharacteristic(
    CHARACTERISTIC_UUID,
    BLEProperty::Read | BLEProperty::Write | BLEProperty::Notify,
    BLEPermission::ReadWriteOpen);
  // Notify auto-creates the CCCD on core 4.0; no BLE2902 descriptor needed.
  chr.onWrite([](BLECharacteristic &c, const BLEConnInfo &conn) {
    handleCommand(c.getStringValue());
  });
  server.start();
  BLE.getAdvertising().addServiceUUID(SERVICE_UUID);
  BLE.startAdvertising();
  Serial.println("BLE car advertising as ESP32-Robot-Car");
}

void loop() {
  // Stop if connected but silent for 2 seconds.
  if (deviceConnected && millis() - lastCommandMs > COMMAND_TIMEOUT_MS) {
    stopCar();
  }
  delay(50);
}

Test and tune it

Write F5 in nRF Connect and confirm both wheels spin forward while the car is lifted. Write S and confirm they stop. If nothing moves, check that the characteristic accepts writes and that the command letter is uppercase.

Write R5 and confirm the car turns right. If it turns left, swap the left and right motor wiring as a pair, or swap the L and R cases in handleCommand().

Switch the phone Bluetooth off while driving forward. The car should stop within a second. If it keeps driving, the disconnect callback is not registered, so check that onDisconnect is registered before server.start().

FAQ

Do I need an HC-05 module for Bluetooth on an ESP32?

No. The ESP32 DevKit V1 has Bluetooth Classic and BLE built in. This build uses native BLE, so no extra module is fitted and no second serial port is needed.

What phone app controls the car?

Any BLE scanner app that can write to a characteristic works. nRF Connect is free and shows the service, the characteristic, and the write box. A custom app with buttons is smoother, but it is not needed to test the build.

Why does the car stop when my phone locks?

Many phones drop BLE connections when the screen locks to save power. Keep the screen on while driving, or reconnect and write a new command after unlocking.

Can BLE and Wi-Fi run at the same time on an ESP32?

Yes, but they share the 2.4 GHz radio, so throughput drops when both are active. This build uses BLE only, so the radio is free for the car link.

How far can the phone control the car?

BLE range in open air is tens of meters, but walls and the metal chassis cut it. Test outdoors in open space, and keep the phone within a few meters for the first run.

Parts used

Build it with the ESP32 DevKit V1 Development Board, 30-Pin WROOM-32, the Smart Robot Car Chassis Kit with Speed Encoder and Battery Box for Arduino, 2WD / 4WD, and the L298N Dual H-Bridge Motor Driver Module for Arduino. The wired version is L298N Robot Car: Wire and Drive Two DC Motors, and the no-router radio version is ESP-NOW Joystick Robot Car: Two ESP32 Boards, No Router. For the chip radios behind the choice, see ESP32 vs ESP32-S3 vs ESP32-C3 vs ESP32-C6.

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-S2 vs ESP32-S3: USB, Bluetooth, and Camera Compared

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

ESP32-S2 vs ESP32-S3: USB, Bluetooth, and Camera Compared

Pick the ESP32-S3 for most new projects. It adds a second core, Bluetooth LE, more SRAM, PSRAM support and vector instructions to the same Wi-Fi and native USB base as the S2. Pick the ESP32-S2 only when you need Wi-Fi plus native USB without Bluetooth, or when you need its built in DACs.

ESP32-S2 vs ESP32-S3 at a glance

The table below uses the Espressif ESP32-S2 Series Datasheet v1.9 and the Espressif ESP32-S3 Series Datasheet v2.2 (2026-03-05).

Spec (unit) ESP32-S2 ESP32-S3
CPU Single Xtensa LX7 Dual Xtensa LX7
Max clock (MHz) 240 240
SRAM (KB) 320 512
GPIO pins (count) 43 45
Wi-Fi Wi-Fi 4, 2.4 GHz Wi-Fi 4, 2.4 GHz
Bluetooth None BLE 5
USB USB OTG full speed USB OTG full speed plus USB Serial/JTAG
PSRAM Up to 2 MB external Up to 16 MB in package
ADC channels (count, bits) 20, 12-bit 20, 12-bit
DAC channels (count) 2, 8-bit 0
Vector instructions No Yes, 128-bit SIMD
Camera interface Yes, DVP 8 to 16 bit (via I2S, up to 40 MHz) Yes, DVP 8 to 16 bit
Touch pins (count) 14 14

How do the CPUs compare?

Both chips use the Xtensa LX7 architecture at up to 240 MHz. The difference is core count: the S2 has one LX7 core and the S3 has two. A single core at 240 MHz handles a Wi-Fi connection plus a sensor task without strain. Two cores handle that same load plus a display, a camera or an audio pipeline at the same time.

The S3 also has 512 KB of SRAM against 320 KB on the S2. That 192 KB gap matters when a project holds a display buffer or a network buffer plus application state. The S3 adds 128-bit vector instructions that speed neural network and signal processing work. The S2 has no vector unit, so on-device AI runs slower or not at all.

For a simple Wi-Fi sensor that wakes, reads and posts, the second core is invisible. For a project that streams, displays and networks at once, the second core is the difference between smooth operation and dropped frames.

What is the Bluetooth difference?

The ESP32-S2 has no Bluetooth radio at all. It cannot do Bluetooth LE, Bluetooth Classic, beacons or phone pairing, and no software adds a radio that is not on the chip. The ESP32-S3 has Bluetooth LE 5, with 1 Mbps, 2 Mbps and coded PHY data rates plus extended advertising. It does not have Bluetooth Classic, so classic audio streaming and classic serial port profile links are still out.

This is the most common reason a builder regrets an S2 pick. A Wi-Fi sensor that later gains a phone app for setup needs Bluetooth LE for provisioning, and the S2 cannot provide it. If there is any chance your project will need Bluetooth, buy the S3. The price gap between S2 and S3 boards is small, and a board swap late in a project costs far more.

How does USB compare?

Native USB is the shared strength of both chips. The S2 and the S3 each have a full speed USB OTG peripheral with an integrated transceiver. Either chip can act as a USB device, such as a keyboard, a MIDI device or a serial port, or as a USB host that reads a flash drive or a keyboard. That is a step up from the original ESP32, which needs an external USB to serial chip for every USB connection.

The S3 adds a USB Serial/JTAG controller, which gives flashing and debugging over the same USB cable without a separate debug probe. The S2 has USB OTG but no dedicated Serial/JTAG controller, so its debug path is less direct. For a USB gadget project, both chips work. For a USB gadget that also needs debugging over USB, the S3 is the smoother board.

Which chip handles cameras and displays?

Both chips have a DVP camera interface at 8 to 16 bit, implemented with the I2S hardware, so the S2 can run a camera. The S3 is still the camera pick in this pair. It has an LCD interface, PSRAM support up to 16 MB in package, dual cores and the vector instructions that make image work practical. A camera frame needs a buffer that the S2 struggles to hold: the S2 has 320 KB of SRAM and only up to 2 MB of external PSRAM, and it lacks the LCD interface and the vector unit that the S3 uses for image work.

Displays follow the same split. A small SPI display works on either chip. A large parallel RGB display with a frame buffer needs the S3 PSRAM and LCD interface. If your project has a large display, the S3 is the only pick in this pair. If it has a small SPI OLED or TFT, either chip works, and the S2 is the cheaper board.

What does the S2 still do better?

The S2 has two built in 8-bit DAC channels, which the S3 lacks. A project that needs a true analog voltage output, such as a simple waveform generator or a control voltage, can use the S2 DAC directly, while the S3 needs an external DAC chip or a filtered PWM signal. The S2 DACs are DAC_1 on GPIO 17 and DAC_2 on GPIO 18 in the S2 datasheet. That DAC difference is the one S2 advantage that decides a real project.

The S2 also suits a Wi-Fi only USB device with no Bluetooth requirement, such as a USB sensor dongle or a Wi-Fi to USB bridge. Its single core and lower SRAM are ample there, and its 43 GPIO pins are only two fewer than the S3. An existing S2 design that works should stay on the S2; a redesign to the S3 buys nothing if the project uses neither Bluetooth nor a camera.

Which board should you pick?

Project type Pick this chip Why
Camera or AI vision ESP32-S3 Both have DVP, S3 adds PSRAM, LCD interface and vector instructions
Bluetooth LE sensor or beacon ESP32-S3 S2 has no Bluetooth radio
Colour display or HMI ESP32-S3 PSRAM and LCD interface
USB keyboard, MIDI or HID Either, S3 preferred Both have USB OTG; S3 adds Serial/JTAG debug
Wi-Fi only sensor, no Bluetooth ESP32-S2 Single core is ample, lower cost, 43 GPIO pins
Analog voltage output ESP32-S2 Built in DACs, two 8-bit channels
Existing S2 design in production ESP32-S2 No redesign cost when Bluetooth and camera are not needed

How do you migrate a project from S2 to S3?

Migrating a project from the ESP32-S2 to the ESP32-S3 is mostly a board selection change, because both chips run the same Arduino core and the same ESP-IDF. Start by listing the pins your S2 project uses and mapping each one to the S3 board, because the pin numbers differ between the S2 Mini and the S3 DevKitC-1. Check the strapping pins on the new board before you wire anything, and move any sensor off a pin that is a strapping pin on the S3.

Next, check the libraries. Code that uses Wi-Fi, I2C, SPI, UART and USB OTG ports across both chips with no change, because the APIs are the same. Code that uses the S2 DAC needs a rework, because the S3 has no DAC: replace the DAC output with a filtered PWM signal or an external DAC chip. Code that uses Bluetooth needs a fresh start on the radio side, because the S2 had no Bluetooth stack to port from, so add the BLE setup from an S3 example and test it on the bench.

Then check memory and partitions. The S3 has 512 KB of SRAM against 320 KB on the S2, and its DevKitC-1 boards offer 8 MB or 16 MB of PSRAM, so a project that was tight on the S2 has room to breathe. Raise the display buffer or the network buffer only after the basic port works, and 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, and a project that worked on the S2 can behave differently on the S3 if a pin that was safe on one board is a strapping pin on the other.

For the S2 pins in this comparison, see the ESP32-S2 Mini pinout guide.

FAQ

Does the ESP32-S2 have Bluetooth?

No. The ESP32-S2 has no Bluetooth radio. If your project needs Bluetooth LE, choose the ESP32-S3.

Is the ESP32-S3 better than the S2 for Wi-Fi?

Wi-Fi itself is the same on both chips: 2.4 GHz Wi-Fi 4. The S3 is better at everything around the Wi-Fi, because it has a second core, more SRAM and Bluetooth LE.

Can the ESP32-S2 run a camera?

Yes. The S2 has a DVP 8 to 16 bit camera interface, implemented with the I2S hardware, with a clock up to 40 MHz. It holds smaller frames than the S3, because it has only 320 KB of SRAM and up to 2 MB of external PSRAM, and it has no LCD interface or vector unit. Camera projects that need large frames belong on the S3.

Do both chips have native USB?

Yes. Both have full speed USB OTG, so either can act as a USB device or host. The S3 adds a USB Serial/JTAG controller for flashing and debugging.

Should I upgrade an S2 project to the S3?

Upgrade when the project gains Bluetooth, a camera, a large display or AI work. Keep the S2 when the project is a working Wi-Fi only USB device with no new radio or display requirement.

Parts used

ESP32-S2 Mini Development Board: the S2 board for Wi-Fi only USB projects. ESP32-S3 Development Board DevKitC-1 N8R2 N16R8: the S3 board for camera, display, Bluetooth and AI 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.

For the full pin table, see the ESP32-S3 DevKitC-1 pinout guide.

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.