ESP32-CAM Camera Init Failed and Brownout Fixes

You upload the CameraWebServer sketch, open the Serial Monitor, and instead of a stream URL you get Camera init failed with error 0x105, or the board prints Brownout detector was triggered and reboots. Both errors are common on the classic ESP32-CAM, and both usually come down to the same two things: the board is not getting clean, steady power, or the camera sensor is not talking to the chip. Work through the checks below in order and most boards start streaming without new hardware.

This guide covers the classic AI-Thinker style ESP32-CAM with the OV2640 camera. The power and PSRAM steps also apply to the ESP32-S3-CAM, but that board has a different pin map, so verify pins against your own board variant.

What does “Camera init failed” mean?

It means the ESP32 ran esp_camera_init() and the sensor did not answer. The driver first talks to the sensor over a small two-wire control bus (SCCB, like I2C) and asks it to identify itself. If nothing answers, setup stops and the sketch prints the error code, and no stream URL appears.

The usual reasons are a loose ribbon cable, the wrong camera model or board, or a supply that sags during the camera startup spike.

What is an ESP32-CAM brownout?

A brownout is a brief dip in supply voltage below the level the ESP32 needs to run. The chip has a built-in brownout detector that watches the 3.3V rail. When the rail sags too far, even for a moment, the detector resets the chip, and the Serial Monitor prints Brownout detector was triggered, often with rst:0xf (BROWNOUT_RST).

The ESP32-CAM is more prone to brownouts than a bare ESP32 board because the camera and Wi-Fi draw sharp current spikes at the same time. MakerGuides reports the board can draw up to about 500 mA with the camera and Wi-Fi active, and Projectech puts Wi-Fi transmit bursts at 160 to 260 mA with the camera and flash LED adding more on top. A laptop USB port, a thin cable, or a weak adapter cannot always deliver those spikes fast enough. The fix is a better supply, not a code change.

Which error are you seeing?

Match your Serial Monitor output to a row first. Starting in the wrong place is the most common way to waste an evening on this board.

What you see Most likely cause Check first
Camera init failed with error 0x105 on every boot Sensor not found: loose cable, wrong model, wrong pin map Ribbon cable seating, then camera model in the sketch
Camera init failed with error 0x105 sometimes Power sags during camera startup 5V 2A supply, short thick cable, capacitor across 5V and GND
Camera init failed with error 0x20001 Sensor not detected by the driver Ribbon cable, camera model, then power
Camera init failed with error 0x20004 or 0x103 Frame buffer could not be allocated, or the control bus timed out PSRAM enabled, lower resolution, one frame buffer
frame buffer malloc failed then Camera init failed with error 0xffffffff PSRAM not enabled or resolution too high PSRAM enabled, lower resolution, frame buffer count to 1
Brownout detector was triggered or rst:0xf (BROWNOUT_RST), then reboot loop Supply sagging under Wi-Fi or camera spikes 5V 2A supply, capacitor, short thick leads
Camera starts, board reboots when streaming starts or the flash LED turns on Wi-Fi or flash LED spike collapses the rail Capacitor across 5V and GND, separate 5V supply, test with flash off
Works on a wall adapter, fails on a laptop USB port USB port current limit or thin cable voltage drop Wall adapter, powered hub, shorter cable
Detected camera not supported with error 0x106 Newer drivers report a missing sensor this way Same steps as 0x105; replace the camera module if it persists

What do the error codes mean?

The camera driver returns a numeric code from esp_camera_init(). These are the codes builders actually see.

Error code Meaning First fix
0x105 ESP_ERR_NOT_FOUND: the camera probe found no sensor on the control bus. The sensor did not answer: no power, cable not seated, or wrong pins. Reseat the ribbon cable with power off, confirm the camera model in the sketch, check the supply
0x20001 Camera not detected by the esp32-camera driver. Same practical meaning as 0x105: the sensor did not answer the probe. Same as 0x105: cable, camera model, power
0x106 Newer drivers report a missing or unrecognised sensor as Detected camera not supported. Same steps as 0x105; try a known-good camera module
0x20004 / 0x103 Reported by some guides as a PSRAM allocation failure or a control bus timeout. Secondary sources disagree on the exact mapping for these codes. Enable PSRAM, lower the resolution, check the cable
0xffffffff Frame buffer memory could not be allocated, usually after a frame buffer malloc failed line. Enable PSRAM, lower the resolution, set frame buffer count to 1
rst:0xf Brownout reset: the brownout detector tripped and reset the chip. This is a reset reason, not a camera error. Power supply checklist below

Two notes on the codes. First, 0x105 is confirmed as ESP_ERR_NOT_FOUND by the driver log line itself, Camera probe failed with error 0x105(ESP_ERR_NOT_FOUND), which appears in Arduino Forum threads and in two of the guides below. Second, one guide maps 0x105 to a power fault while others map it to a probe fault. The log line supports the probe reading, and a weak supply can cause a probe fault too. See the unverified flags at the foot of this post.

How do I diagnose it step by step?

Do these in order. Each step rules out a whole category. Do not skip ahead to replacing the camera module until steps 1 to 5 pass.

  1. Read the exact error. Open the Serial Monitor at the baud rate your sketch uses (usually 115200) and copy the full line, including the hex code. 0x105 or 0x20001 means cable, model, or power; a malloc failure means PSRAM; a brownout line means power only.
  2. Fix the power first. Connect a regulated 5V 2A supply to the 5V pin with a short, thick USB cable. Do not use a laptop USB port or an adapter 3.3V output while diagnosing. If the error changes on the wall adapter, the supply was the problem.
  3. Reseat the ribbon cable with power off. Lift the black locking flap, pull the 24-pin ribbon cable out, push it back in straight and fully, then close the flap. Check the cable is not creased or nicked, then power on and read the error again.
  4. Confirm the board and camera model in the sketch. In the Arduino IDE, select AI Thinker ESP32-CAM, and check the sketch defines CAMERA_MODEL_AI_THINKER for a classic ESP32-CAM with an OV2640. A generic ESP32 Dev Module board can disable the PSRAM mapping the camera needs.
  5. Enable PSRAM. Set Tools, PSRAM to Enabled. Then lower the resolution one step (UXGA to SVGA), set the frame buffer count to 1, and test again. If a malloc error clears, memory was the limit.
  6. Remove GPIO0 from ground. If you jumpered GPIO0 to GND to flash the board, remove that jumper before running the sketch. Held low, GPIO0 keeps the board in flash mode and the camera never initialises.
  7. Test with Wi-Fi and the flash LED off. If the board resets when streaming starts or the flash turns on, the current spike is collapsing the rail. Add the capacitor and retest.
  8. Swap one part at a time. Try a different USB cable, then a different camera module, then a different board, changing one thing per test.

Why does power cause most ESP32-CAM failures?

Three facts stack against this board. First, the classic ESP32-CAM has no onboard USB-to-serial chip, so most builders power it through an adapter whose 3.3V output typically supplies only 50 to 100 mA, far below what the camera and Wi-Fi draw together. Second, the onboard AMS1117-3.3 regulator needs a 5V input with headroom to hold the rail steady during spikes. Third, the camera and Wi-Fi spike at the same moment during startup and streaming, so the worst load lands exactly when the driver probes the sensor.

  • Power the board through the 5V pin, not the 3.3V pin. The 3.3V pin bypasses the onboard regulator, and a weak 3.3V source sags under load.
  • Use a regulated 5V 2A supply. A 1A supply is the minimum several guides quote, and 2A leaves headroom for the spikes. A phone charger rated 5V 2A works; a laptop USB port often does not.
  • Use a short, thick USB cable. Long thin cables add resistance, and resistance turns a current spike into a voltage drop.
  • Add a bulk capacitor across 5V and GND. A 470uF to 1000uF electrolytic capacitor near the board supplies the millisecond spikes the regulator cannot track. Add a 0.1uF ceramic capacitor in parallel for high-frequency noise. Watch the polarity: the marked side goes to ground.
  • Keep the serial adapter at 3.3V logic. The adapter is fine for the TX and RX signal lines, and its logic jumper should stay at 3.3V, since ESP32 GPIO pins are not 5V tolerant.
  • Do not share the rail with hungry peripherals. Motors, servos, and LED strips draw their own spikes, so give them a separate regulated supply with a common ground.

For a battery-powered build, the battery path must still deliver a steady 5V under spike load. A small lithium cell alone cannot do that without a boost stage, so use a battery module with a regulated 5V USB output and test under streaming load, not just at idle.

Power-supply checklist

Check Pass looks like Fail looks like
Supply rating Regulated 5V adapter rated 2A Laptop USB port, unbranded 5V 500 mA charger
Power pin 5V pin fed from the adapter 3.3V pin fed from an adapter
USB cable Short, thick, data rated Long thin charging cable
Capacitor 470uF to 1000uF electrolytic across 5V and GND, close to the board No capacitor, or one far from the board
Breadboard Power wired direct to the board pins Power through a breadboard with loose jumpers
Flash and stream test Board stays up with the flash LED on and the stream running Board resets when the flash turns on or the stream starts
Battery test Battery module with regulated 5V output Bare cell wired direct

Is the ribbon cable the problem?

The 24-pin ribbon cable between the camera module and the board is the most fragile part of the build, and a bad seating produces exactly the 0x105 probe failure. Power the board off first, then lift the black locking flap, slide the cable out, and look at it: the gold fingers should be clean and straight, the cable should not be creased, and the blue stiffener should sit flat. Push the cable in straight and all the way, then close the flap. If it went in crooked, the sensor gets power on the wrong pins or no connection at all.

Two more checks. Clean the gold fingers with isopropyl alcohol and a cotton swab if the module sat unused in a damp room; oxidation on the contacts is a real failure mode. If reseating changes nothing, try a different camera module on the same board. If a known-good module works, the first module or its cable is faulty.

Is PSRAM enabled and the right board selected?

The ESP32-CAM needs its external PSRAM to buffer image frames. The classic board carries 4MB of PSRAM. If the Arduino IDE is not told the PSRAM exists, the driver fails to allocate memory, and you see a malloc failure or an init error at higher resolutions.

Check three settings. First, the board must be AI Thinker ESP32-CAM, not a generic ESP32 Dev Module, because the board selection carries the pin definitions and PSRAM mapping. Second, Tools, PSRAM must be set to Enabled. Third, the partition scheme must leave enough app space. If the error clears at a lower resolution or with one frame buffer, memory was the limit.

Is the wrong camera model selected?

The sketch must define the camera model that matches the hardware. For the classic ESP32-CAM with an OV2640, that is CAMERA_MODEL_AI_THINKER. Other boards use different definitions and pin maps, so a sketch written for one board fails on another with the same 0x105 probe error. Check the definition at the top of the sketch before changing anything else.

The sensor matters too. An OV2640 and an OV5640 are not interchangeable: the OV5640 needs its own initialisation settings, and OV2640 settings fail the probe on an OV5640 module. The ESP32-S3-CAM in the parts list below carries an OV5640, so use the S3 board definition and the S3 guide for that hardware. Verify the pin table for your board variant before wiring, because published pin tables disagree on some signals.

Is the SD card the problem?

If the sketch prints “Card Mount Failed”, the card is usually the wrong format or too large, not broken. The ESP32 SD library reads FAT32 only. Cards over 32 GB ship as exFAT, and the library will not mount them, so reformat the card to FAT32 on a computer first. The official documentation lists cards up to 4 GB, but FAT32 cards from 8 to 32 GB usually work fine in practice.

Use 1-bit mode unless you have a reason not to. The standard examples start the card in 1-bit mode, which uses GPIO 2, 14, and 15 only and leaves the other SD pins free. The 4-bit SDMMC mode uses CMD 15, CLK 14, D0 2, D1 4, D2 12, and D3 13, and leaves no free GPIO pins. Do not switch a working 1-bit setup to 4-bit mode without checking the pin conflicts first.

MessageMost likely causeFix
Card Mount FailedCard is not FAT32 or is too largeReformat the card as FAT32, use 32 GB or less, try 1-bit mode
Failed to mount filesystemBad contact or exFAT cardReseat the card, reformat on a computer, try a different card
Card works in a reader, not in the board4-bit pin conflict or power dip on writeRun 1-bit mode, power from a regulated 5V 2A supply

There is no standalone microSD card product in the store, so use a FAT32 card you already own.

Why will the ESP32-CAM not connect to WiFi?

The ESP32 only speaks 2.4 GHz WiFi, so a 5 GHz-only network is invisible to it. If your router joins the 2.4 GHz and 5 GHz bands under one name, split the bands or connect to the 2.4 GHz network by its own name. Use WPA2-PSK security; WPA3 may not be supported by the ESP32.

Read the status code before changing anything. The sketch reports it through WiFi.status().

Status codeMeaningCheck first
WL_NO_SSID_AVAIL (1)No network with that name was foundNetwork name, 2.4 GHz band, distance from the router
WL_CONNECT_FAILED (4)The router rejected the connectionPassword, security mode, MAC filter on the router
WL_CONNECTION_LOST (5)An established connection droppedSignal strength, power supply, antenna position
WL_DISCONNECTED (6)Not connected, still trying or the attempt failedThe disconnect reason code: 201 means the access point was never found, 15 means a wrong password

Dropouts have three usual causes. First, the supply sags during WiFi transmit bursts, which pull about 300 mA, so fix the power first using the brownout sections above. Second, a weak signal: an RSSI below -70 dBm is poor, so move the board closer to the router and keep metal, batteries, and wires away from the PCB antenna at the end of the module. Third, a crowded 2.4 GHz channel or a DHCP lease that does not renew cleanly. The phone hotspot test settles it fast: if the board connects to a hotspot, the problem is the router, not the board.

Why is the picture dark, washed out, or blurry?

Most image problems are settings or the lens, not a broken sensor. Start with the lens, then the settings, then the resolution.

The OV2640 is fixed focus with no autofocus. You can carefully rotate the threaded lens barrel to shift the focal distance, but do not force it; some lenses are glued in place. Clean the lens first with a soft lint-free cloth, because a dirty lens looks like a focus problem. If you need autofocus, step up to an OV5640 AF module.

Set the image in code after the camera starts. Add these lines after esp_camera_init() in your sketch.

sensor_t * s = esp_camera_sensor_get();
s->set_brightness(s, 0);     // -2 to 2
s->set_contrast(s, 0);       // -2 to 2
s->set_saturation(s, 0);     // -2 to 2
s->set_whitebal(s, 1);       // 0 = disable, 1 = enable
s->set_awb_gain(s, 1);       // 0 = disable, 1 = enable
s->set_ae_level(s, 0);       // -2 to 2
s->set_aec_value(s, 300);    // 0 to 1200
s->set_gainceiling(s, (gainceiling_t)0);  // 0 to 6
SettingRangeUse it for
Brightness-2 to 2Dark or washed-out picture
Contrast-2 to 2Flat picture with no depth
Saturation-2 to 2Colors too dull or too strong
White balanceOn or off, mode 0 to 4Wrong color cast under indoor light
Exposure level-2 to 2Picture too dark or too bright overall
JPEG quality10 to 63, lower is betterBlocky picture; default is 12

Resolution is the other half of image quality. UXGA needs PSRAM, so a board without PSRAM enabled fails at high resolutions. Without PSRAM, use SVGA or lower. A high resolution on a weak WiFi link also looks bad, because frames arrive late and the stream stutters; drop the resolution before suspecting the camera.

Why is the board or regulator hot?

The AMS1117-3.3 regulator on the board is a linear regulator, so the voltage it drops turns directly into heat. At 5V in and 3.3V out with the camera and WiFi drawing about 500 mA, the regulator burns about 0.85 W in a small SOT-223 package, and it runs hot by design. The package sheds heat at about 120 to 135 degrees C per watt, so under heavy load it can throttle and let the 3.3V rail sag to 2.8V or lower, which triggers the brownout detector and resets the board.

Cut the current before adding cooling. Turn the flash LED off when you do not need it by setting GPIO4 LOW; a floating or accidentally HIGH flash LED drains 100 mA or more on its own. Lower the frame rate and resolution to cut the camera and WiFi load. Give the board open air instead of a closed box. For a permanent install, feed a clean external 3.3V supply rated 1A or more direct to the 3.3V pin, and do not feed 5V at the same time.

A hot regulator is a fault, not normal load, when the board gets too hot to touch within seconds of power-on with no camera running, or when you smell burning. Power it off and check for a short: a ribbon cable seated crooked can short the 3.3V line to ground or to the data pins and destroy the regulator.

What if the upload itself fails?

Upload failures are flashing problems, not camera problems. If the IDE prints “Failed to connect to ESP32” or “Timed out waiting for packet header”, the board never entered download mode: check the GPIO0 jumper, use a data cable, install the CH340 or CP2102 driver, and try a lower upload speed. If it prints “Sketch too big”, set the partition scheme to Huge APP. The full flash-errors table lives in the pinout post: https://qualityrcparts.com/esp32-cam-pinout/

The one upload fault that belongs here: a GPIO0 to GND jumper left in place after flashing keeps the board in download mode, so the camera never starts. Remove the jumper and press reset once.

What are the common mistakes?

  • Powering the board from the 3.3V pin of a USB-to-serial adapter instead of the 5V pin.
  • Using a laptop USB port or a long thin charging cable.
  • Leaving the GPIO0 to GND jumper in place after flashing.
  • Selecting a generic ESP32 Dev Module board instead of AI Thinker ESP32-CAM.
  • Leaving PSRAM disabled, then running UXGA resolution with two frame buffers.
  • Reseating the ribbon cable with power on, or pushing it in crooked.
  • Setting the USB-to-serial adapter to 5V logic and feeding 5V into the RX pin.
  • Changing the sketch, the cable, and the power supply all at once.

When is the board or camera module dead?

If the power checklist passes, the cable is reseated, the board and camera model are correct, PSRAM is enabled, and a known-good camera module still fails with 0x105 or 0x20001, the board itself is the suspect. Check the connector for a lifted flap or bent pins, and look for a damaged AMS1117 regulator if the board browns out on a known-good 5V 2A supply. Before replacing anything, run the same module on a second board: a module that fails on two boards is a bad module, and a board that fails with two modules is a bad board.

Parts used in this guide

These parts are in stock at Quality RC Parts in Queensbury, NY, shipping within the USA. Prices verified live on 2026-11-21.

Related guides on this site: ESP32-CAM Getting Started, ESP32-CAM Flashing and First Camera Stream, ESP32-CAM Pinout, ESP32 Brownout Reset and Boot Loop: Causes and Fixes, ESP32-CAM S3-CAM Camera Projects Guide, ESP32-S3-CAM Guide, ESP32-CAM RTSP Streaming, Which ESP32 Should I Buy?, ESP32 DevKit V1 Pinout, ESP32-S3 DevKitC-1 Pinout.

Frequently asked questions

How do I fix the ESP32-CAM “Camera init failed” error?

Check the error code first. For 0x105 or 0x20001, reseat the ribbon cable with power off, confirm CAMERA_MODEL_AI_THINKER for a classic board, enable PSRAM, and power the board from a regulated 5V 2A supply. For a malloc failure, enable PSRAM and lower the resolution. (Source: Bluegrays; Robotics Engineering.)

What does “Brownout detector was triggered” mean?

It means the supply voltage dipped below what the ESP32 needs and the built-in detector reset the chip. The usual cause is a weak supply, a thin or long USB cable, or current spikes from Wi-Fi and the camera. Fix it with a regulated 5V 2A adapter, a short thick cable, and a 470uF to 1000uF capacitor across 5V and GND. (Source: MakerGuides; ESPBoards.)

What does error 0x105 mean on the ESP32-CAM?

It is ESP_ERR_NOT_FOUND: the camera probe found no sensor on the control bus. The sensor did not answer, usually because the ribbon cable is loose, the wrong camera model is selected, or the power sagged at startup. (Source: Robotics Engineering; Bluegrays; Arduino Forum.)

Can I power the ESP32-CAM from the 3.3V pin?

You can, but you should not. The 3.3V output of a typical USB-to-serial adapter supplies only about 50 to 100 mA, and the board draws far more with the camera and Wi-Fi running. Power the board through the 5V pin and let the onboard regulator step it down. (Source: MakerGuides; ElectricalFlux.)

What size capacitor fixes an ESP32-CAM brownout?

A 470uF or larger electrolytic capacitor across 5V and GND, close to the board, is what MakerGuides and Projectech recommend; ESPBoards gives a 470uF to 1000uF range. Add a 0.1uF ceramic capacitor in parallel for high-frequency noise. The capacitor fixes spikes, not a supply that is too weak overall. (Source: MakerGuides; ESPBoards; Projectech.)

Why does my ESP32-CAM say “Card Mount Failed”?

The card is usually the wrong format or too large. Reformat it to FAT32 on a computer and use 32 GB or less. Cards over 32 GB ship as exFAT, and the ESP32 SD library will not mount them. If it still fails, run the card in 1-bit mode and check that the supply holds 5V during writes.

Why can the ESP32-CAM not see my WiFi network?

The ESP32 only speaks 2.4 GHz WiFi. A 5 GHz-only network is invisible to it, so connect to the 2.4 GHz network by its own name and use WPA2-PSK security. Check the status code: WL_NO_SSID_AVAIL means the name was not found, and WL_CONNECT_FAILED means the router rejected the connection, usually over the password or the security mode.

Why does the WiFi keep dropping?

Fix the power first. WiFi transmit bursts pull about 300 mA, and a sagging supply drops the connection before anything else. Then check the signal: an RSSI below -70 dBm is poor, so move the board closer to the router and keep metal, batteries, and wires away from the PCB antenna. A crowded 2.4 GHz channel or a DHCP lease that does not renew can also drop it.

Why is my picture blurry?

Clean the lens first, then rotate the threaded lens barrel gently to shift the focus. The OV2640 is fixed focus with no autofocus, so a close subject stays soft unless you turn the barrel. If the lens is glued in place, do not force it. Check the settings next: brightness, contrast, and exposure level run -2 to 2, and a low JPEG quality number means a better picture.

Why is the regulator hot?

The AMS1117 is a linear regulator, so the 1.7 V it drops from 5V to 3.3V turns into heat at about 0.85 W under full camera and WiFi load. Turn the flash LED off by setting GPIO4 LOW, lower the frame rate and resolution, and give the board open air. For a permanent install, feed a clean external 3.3V supply rated 1A or more direct to the 3.3V pin. A regulator too hot to touch within seconds of power-on with no camera running means a short: power it off and check the ribbon cable seating.

Sources


Last updated: 2026-11-22

ESP32-CAM RTSP Streaming: Setup Guide for VLC and NVR

The ESP32-CAM is a cheap way to build a WiFi camera, but the sketch most beginners start with does not speak RTSP. The stock Espressif CameraWebServer example streams MJPEG over HTTP, and that is all it does. If you want VLC, Frigate, Blue Iris, or an NVR to pick the camera up as a standard network camera, you need RTSP, which needs different firmware or a different library.

This guide covers the working routes, the board each one fits, the exact RTSP URL each serves, VLC viewing, Frigate and Home Assistant setup, and expected frame rate. Nothing here needs a paid app or a cloud account.

What is RTSP, and when does it beat MJPEG?

RTSP, Real Time Streaming Protocol, is the standard way network cameras hand video to players and recorders. A client asks for a stream, the two agree on transport settings, and video flows over RTP. VLC, ffmpeg, Frigate, Blue Iris, ZoneMinder, and most NVR software all speak RTSP.

MJPEG over HTTP, the /stream endpoint in the stock CameraWebServer sketch, is simpler: the camera sends one JPEG image after another in a single HTTP response, and any browser can show it. NVR software generally cannot record it, and detection tools cannot consume it directly.

Use RTSP to record footage, run motion or person detection, watch several cameras in one app, or feed the camera into Home Assistant through Frigate or go2rtc. Stick with MJPEG over HTTP for a quick live view in a browser. If you have not set up the board yet, start with our ESP32-CAM getting started guide first.

How do I watch the stream in a browser?

The stock CameraWebServer example is the fastest way to a live picture in a browser. It serves MJPEG over HTTP: the camera sends one JPEG image after another in a single HTTP response, and any browser shows it with no plugin and no extra app.

Flash it from the Arduino IDE. Open File, then Examples, then ESP32, then Camera, then CameraWebServer. Select the AI-Thinker camera model in board_config.h, enter your 2.4 GHz WiFi network name and password, and set the partition scheme to Huge APP (3MB No OTA/1MB SPIFFS); the camera example needs at least 3 MB of app space. Flash the board the same way the flashing walkthrough shows.

Watch the serial monitor at 115200 baud. When the board connects it prints “Camera Ready! Use ‘http://’ followed by its IP address”. Open that address in a browser on the same network. Press Start Stream for the live picture, or Get Still for a single photo. The example starts at QVGA resolution for a higher initial frame rate; raise it from the menu once the stream is stable.

The page has two servers behind it. The settings page and the single-photo endpoint live on port 80, and the live stream lives on port 81.

AddressWhat it servesUse it for
http://<IP>/Settings page with Start Stream and Get Still buttonsWatching and changing settings in a browser
http://<IP>/captureOne JPEG photo, port 80Saving a single still from a browser or a script
http://<IP>:81/streamLive MJPEG stream, port 81Embedding the stream in your own page or home automation software

Use the left-hand menu on the settings page to change the resolution, JPEG quality, brightness, contrast, and white balance while the stream runs. With PSRAM the example starts at UXGA and a JPEG quality of 10; without PSRAM it drops to SVGA and a quality of 12, because the frame buffer does not fit in internal RAM. If the picture stutters, lower the resolution first; the frame rate section below shows what to expect at each size.

Which board works for RTSP?

Any ESP32 camera board with PSRAM can run an RTSP server. The classic AI-Thinker style ESP32-CAM has an ESP32 chip with 4 MB PSRAM and an OV2640 camera. The ESP32-S3-N16R8 CAM board runs an ESP32-S3 chip with 8 MB PSRAM and an OV5640 camera, and its two USB-C ports mean no serial adapter is needed. Both boards stream MJPEG video over RTSP, not H.264, which matters for bandwidth and Home Assistant (see the frame rate section).

Pin tables conflict across sources. A wrong camera pin map is the most common reason a build compiles cleanly and shows no video, so verify the pins against your exact board variant before flashing, using that variant’s own documentation.

What are the RTSP setup options?

There is no single official RTSP example from Espressif for the classic ESP32-CAM. The working routes are community firmware and libraries. Pick one row and follow its section.

Approach Best for Boards RTSP URL pattern Code or config needed
esp32cam-rtsp firmware by rzeldent Fastest setup, no code changes ESP32, ESP32-S2, ESP32-S3 camera modules rtsp://IP:554/mjpeg/1 Flash with PlatformIO, configure in a browser
Micro-RTSP library by geeksville Arduino or PlatformIO sketch you control Classic ESP32-CAM (OV2640) rtsp://IP:8554/mjpeg/1 Arduino sketch plus the Micro-RTSP library
Tasmota32 webcam firmware Users who already run Tasmota and want MQTT control Classic ESP32-CAM (AI-Thinker template) rtsp://IP:8554/mjpeg/1 Flash the webcam binary, run one command
ESPHome rtsp_server component ESP32-S3 boards already in ESPHome ESP32 camera boards running ESPHome rtsp://IP:554/ Add two lines to your ESPHome YAML

Sources: esp32cam-rtsp at https://www.esp32.diy/esp32cam-rtsp/ ; Micro-RTSP at https://github.com/geeksville/Micro-RTSP ; circuit.rocks tutorial at https://learn.circuit.rocks/esp32-cam-with-rtsp-video-streaming ; Tasmota guide at https://cgomesu.com/blog/Esp32cam-tasmota-webcam-server/ ; ESPHome docs at https://beta.esphome.io/components/rtsp_server/ .

How do I set up esp32cam-rtsp, the no-code route?

Recommended route for most buyers. The firmware turns the board into an RTSP server, an HTTP MJPEG streamer, and a snapshot endpoint at once, all configured through a web page, with no code changes. Latest release at the time of writing: 1.0.8 (2026-09-29).

  1. Install PlatformIO (VS Code extension or CLI) and clone the project: git clone https://github.com/rzeldent/esp32cam-rtsp.git.
  2. Enter download mode. USB-C boards do this on their own; if an upload fails, hold BOOT, press and release RESET, then release BOOT. On a classic ESP32-CAM, use a 3.3 V USB-to-serial adapter or an ESP32-CAM-MB carrier, and hold GPIO0 low while resetting. 5 V logic damages the board.
  3. Flash your board target, for example pio run -t upload -e esp32cam_ai_thinker for the AI-Thinker board.
  4. On first boot the firmware starts its own WiFi access point. Join it, open the config page shown in the serial monitor, enter your WiFi credentials and camera settings, then save. The board reboots onto your network.
  5. Open VLC and play rtsp://<ip address>:554/mjpeg/1.

The same firmware also serves MJPEG at http://<ip address>/stream and a still at http://<ip address>/snapshot. Turn on RTSP authentication in the web interface if anyone outside your household can reach your network, and never forward port 554 through your router.

How do I set up Micro-RTSP in an Arduino sketch?

Use this route when you want the RTSP server inside your own sketch, for example a camera that also reads sensors or drives outputs. Micro-RTSP is a small RTSP server library implementing RTSP and JPEG-over-RTP, with a reference streamer built for the OV2640 on the classic ESP32-CAM.

  1. Install Micro-RTSP from the ZIP in the circuit.rocks ESP32-RTSP repo, or as a PlatformIO dependency; it is not in the Arduino Library Manager. Full example: https://github.com/circuitrocks/ESP32-RTSP .
  2. Put your WiFi credentials in the sketch’s credentials header before compiling.
  3. Wire the classic ESP32-CAM: 5 V and ground to the header pins, adapter TX to board U0R and RX to U0T, and a button between IO0 and ground. Use a 5 V, 2 A supply; a computer USB port is often not enough.
  4. Hold the download button while powering up or resetting, then upload. The serial monitor at 115200 baud shows the boot message and board IP.
  5. In VLC play rtsp://<ip address>:8554/mjpeg/1. Note the port: 8554, not 554.

The example loop sends a frame about every 100 ms, roughly 10 fps at 800 by 600, per the Micro-RTSP docs for that example. Run only one streaming server at a time; enabling both web and RTSP makes streaming very slow.

How do I enable RTSP on Tasmota?

Use this route only if you already run Tasmota or want its MQTT control and web interface. Flash the tasmota32-webcam firmware, apply the AI-Thinker template, then enable the RTSP server from the Tasmota console:

WcRtsp 1

The stream is then live at rtsp://<device IP>:8554/mjpeg/1. Enable it once; the RTSP server runs independently of the HTTP stream. The Tasmota guide reports VLC is the most reliable viewer. Full steps: https://cgomesu.com/blog/Esp32cam-tasmota-webcam-server/ .

How do I add RTSP to an ESPHome camera?

If your camera already runs ESPHome, add the RTSP server component next to your configured esp32_camera block:

rtsp_server:

That is the whole configuration. The stream is served at rtsp://<device IP>:554/ with no path after the port. Optional settings: port (default 554), max_connections (1 to 4, default 2), and allowed_ips (addresses or networks allowed to connect).

Two facts catch people out. First, the stream is MJPEG over RTSP, and the camera only streams while at least one client is playing. Second, there is no encryption or authentication; allowed_ips filters by address but authenticates nobody, so use it only on a trusted local network. Source: ESPHome RTSP docs.

How do I watch the stream in VLC?

VLC is the best first test for any of the four routes, because its RTSP support is solid and its error messages point at the real problem.

  1. Open VLC, go to Media, then Open Network Stream, or press Ctrl+N.
  2. Paste the RTSP URL for your firmware: port 554 for esp32cam-rtsp and ESPHome, port 8554 for Micro-RTSP and Tasmota. The path is /mjpeg/1 for esp32cam-rtsp, Micro-RTSP, and Tasmota, and the root path / for ESPHome.
  3. Click Play. If the picture appears, the camera, firmware, and network path all work, and any later failure is in the next app, not the camera.

If the video lags by a second or more, the cause is usually VLC network caching, not the camera. VLC buffers network streams at 1000 ms by default. In the stream dialog, click Show more options and lower caching to 300 ms, or to 0 ms for the lowest delay. Zero caching makes the picture more sensitive to WiFi jitter, so on a weak signal keep some caching and fix the signal instead.

How do I add the camera to Home Assistant and Frigate?

Two warnings first, because most tutorials get this part wrong.

Warning one: Home Assistant Generic Camera cannot play this stream. Its pipeline plays only H.264 and HEVC, and every RTSP route in this guide serves MJPEG. The ESPHome docs state this directly. Source: ESPHome RTSP docs.

Warning two: if the camera runs ESPHome, Home Assistant does not need RTSP at all. The ESPHome native API already exposes the camera entity. RTSP is for other software.

The route that works is Frigate, with go2rtc if your Frigate version uses it. Frigate reads the MJPEG RTSP stream with ffmpeg and handles detection and recording. A working Frigate camera entry from the Home Assistant community, using the Tasmota or Micro-RTSP URL:

cameras:
  esp32_cam:
    ffmpeg:
      inputs:
        - path: rtsp://192.168.1.72:8554/mjpeg/1
          roles:
            - detect
            - record
    detect:
      width: 640
      height: 360
      fps: 5

Replace the IP address with your camera IP, and use port 554 with the matching path for esp32cam-rtsp or ESPHome. Keep detection resolution low; community users run 640 by 360 at 5 frames per second. Source: Home Assistant community Frigate thread.

If you only want a live dashboard view, skip RTSP and use the ESPHome native camera entity or the HTTP MJPEG stream. RTSP earns its place when Frigate or an NVR must record or analyze the feed.

How do I save a snapshot or record the stream?

A live stream is only useful while you watch it. Three ways to keep what the camera sees: a single still from the browser, a photo saved to the SD card, or a recording of the RTSP stream on your computer.

For one still, open http://<IP>/capture in a browser and save the JPEG it returns. The esp32cam-rtsp firmware serves the same thing at http://<IP>/snapshot. Both return a single frame, so you can also fetch them from a script on a schedule.

For a photo saved on the board itself, use the SD card slot. The sketch below wakes the camera, takes one photo when you press the button on GPIO 13, and saves it as /photo001.jpg, /photo002.jpg, and so on, with the counter kept in flash so it survives a reset. The card must be FAT32, 32 GB or less. The sketch mounts the card in 1-bit mode, which uses GPIO 2, 14, and 15 only, so GPIO 13 stays free for the button.

camera_fb_t *fb = esp_camera_fb_get();
if (fb) {
  File file = SD_MMC.open("/photo001.jpg", FILE_WRITE);
  file.write(fb->buf, fb->len);
  file.close();
  esp_camera_fb_return(fb);
}

The full sketch is the compiled source for this section: it sets up the AI-Thinker camera pins, mounts the card, and saves one numbered photo per button press. It compiled clean with PlatformIO on the ESP32-CAM board.

For a recording, use ffmpeg on your computer against the RTSP URL. The command below copies the stream straight to a file with no re-encoding, so it costs almost no CPU and loses no quality. TCP transport keeps packets from dropping, which matters for MJPEG because a lost packet corrupts the frame it lands in.

ffmpeg -rtsp_transport tcp -i "rtsp://<IP>:554/mjpeg/1" -c copy capture.mp4

Replace <IP> with your camera IP and 554 with 8554 for Micro-RTSP or Tasmota. For long recordings, split the file every 15 minutes so one crash does not lose the whole capture: add -f segment -segment_time 900 -segment_format mp4 -reset_timestamps 1 and name the output capture_%03d.mp4. Frigate does the same job continuously if you already run it; its camera entry in this guide has a record role for exactly this.

What latency and frame rate should I expect?

No source gives one tested frame rate for every board and firmware, so this guide gives no universal number. The numbers below are what named sources measured on their own setups. Your result moves with resolution, JPEG quality, WiFi signal, and client count.

  • ESPHome measured about 5 fps over WiFi and 10 over Ethernet at 640 by 480 on an ESP32-S3 with an OV5640, using its high performance network settings; without them the same test ran at about 1 fps over WiFi. Source: ESPHome RTSP docs.
  • The Micro-RTSP example sends a frame about every 100 ms, roughly 10 fps at 800 by 600 in its own documentation. Source: Micro-RTSP docs.
  • The esp32cam-rtsp project states that resolution and frame rate are bounded by the ESP32 processor and available PSRAM. Source: esp32cam-rtsp project page.

Start at 640 by 480 and raise resolution only after the stream is stable. MJPEG uses more bandwidth than H.264 at the same picture quality, since every frame is a full JPEG. Assume one viewer at a time on a classic ESP32-CAM; ESPHome defaults to two RTSP clients.

How much bandwidth does MJPEG need?

MJPEG sends every frame as a full JPEG image, so the bandwidth is the frame size times the frame rate. A higher resolution means a bigger frame and a lower frame rate, and there is no compression between frames to hide it. The table below uses measured frame rates from the sources cited; your result moves with JPEG quality, WiFi signal, and how many viewers are connected.

ResolutionExpected frame rateWhat it is good for
QVGA 320 by 24020 to 30 fpsFastest motion, lowest detail; best first test of a new setup
VGA 640 by 480About 5 fps over WiFi, 10 over Ethernet on an ESP32-S3The starting point this guide recommends; good balance of detail and speed
SVGA 800 by 600About 10 fpsMore detail for a door or driveway camera on a strong signal
UXGA 1600 by 12002 to 5 fpsStill photos and slow scenes only; a 1600 by 1200 JPEG frame is 100 to 250 KB

Worked example, from the cited frame sizes: a UXGA frame of 100 to 250 KB at 3 frames per second is 300 to 750 KB per second, about 2.4 to 6 Mbit per second, for one viewer. Drop to 640 by 480 and the same stream needs a fraction of that, which is why this guide starts there. Assume one viewer at a time on a classic ESP32-CAM; a second viewer halves the rate each one sees. ESPHome defaults to two RTSP clients for the same reason.

If the stream is slow, do not add bandwidth first. Lower the resolution, raise the JPEG quality number (a higher number means more compression and a smaller frame), disconnect other viewers, and move the board closer to the router. The frame rate section above shows the numbers each route measured on its own setup.

What are the common mistakes?

  • Flashing the stock CameraWebServer sketch and expecting RTSP. It serves MJPEG over HTTP only.
  • Using the wrong port. Port 554 belongs to esp32cam-rtsp and ESPHome; port 8554 belongs to Micro-RTSP and Tasmota. The wrong port gives a connection refused error even when the camera runs fine.
  • Using the wrong path. The path is /mjpeg/1 for esp32cam-rtsp, Micro-RTSP, and Tasmota, and the root path / for ESPHome.
  • Powering the classic ESP32-CAM from a weak USB port. The board needs a stable 5 V, 2 A supply. Brownouts during WiFi connection look like firmware bugs and are usually power.
  • Running two streaming servers at once in the Micro-RTSP sketch. The tutorial warns this makes streaming very slow. Pick one.
  • Pointing Home Assistant Generic Camera at an MJPEG RTSP URL. It cannot play it. Use Frigate or go2rtc, or the ESPHome native camera entity.
  • Opening RTSP to the internet. None of these routes is built for that, and ESPHome RTSP has no authentication at all. Keep the camera on your local network.
  • Trusting a pin table from a different board variant. Pin maps conflict across sources. Verify the camera pins against your exact board variant before blaming the firmware.

How do I troubleshoot a stream that will not play?

Work through this list in order; each step rules out one layer.

VLC says “Your input can’t be opened” or times out. Check the board IP in the serial monitor or your router, confirm the camera and computer share a network, and confirm the port and path match your firmware in the table above. Check the router is not isolating WiFi clients (AP isolation) and that no firewall blocks the RTSP port.

VLC connects but shows a black or frozen frame. Drop to 640 by 480 and move closer to the router. The ESP32-CAM is 2.4 GHz only, so a 5 GHz network name will never work.

The stream stutters or drops frames. Lower the resolution and frame rate, disconnect other viewers, and check the power supply, since a marginal 5 V supply causes this under load. In VLC, force RTP over RTSP (TCP) when UDP packets drop.

The camera boots but never joins WiFi. Re-enter the network name and password, watching case and trailing spaces. Check the serial monitor at 115200 baud for connection messages and the assigned IP. A reboot loop usually means power first, then a loose camera ribbon cable.

The camera works in VLC but Frigate reports “Unable to read frames”. Confirm the URL in VLC first, then copy it exactly into Frigate. The common cause is port 554 when the firmware serves on 8554, or an ESPHome web server port, which is HTTP, not RTSP. Source: Home Assistant community thread.

Wrong colors or artifacts. Reseat the camera ribbon cable and lower the resolution.

Parts used in this guide

Prices and stock were verified live on qualityrcparts.com on 2026-11-21 through the public Store API. All three items are in stock and purchasable; the live product page is the current price.

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

Related guides

Frequently asked questions

Does the ESP32-CAM support RTSP out of the box?

No. The stock CameraWebServer example serves MJPEG over HTTP only, with no RTSP server. Add RTSP with esp32cam-rtsp firmware, the Micro-RTSP library, Tasmota webcam firmware, or the ESPHome rtsp_server component. Source: Home Assistant community, Tasmota guide.

What is the RTSP URL for an ESP32-CAM?

It depends on the firmware: rtsp://IP:554/mjpeg/1 for esp32cam-rtsp, rtsp://IP:8554/mjpeg/1 for Micro-RTSP and Tasmota, rtsp://IP:554/ for ESPHome. Replace IP with the camera IP from your router or serial monitor. Source: esp32cam-rtsp, Micro-RTSP, Tasmota, and ESPHome docs.

Can I add an ESP32-CAM RTSP stream to Home Assistant?

Not through Generic Camera: its pipeline plays only H.264 and HEVC, and ESP32-CAM RTSP serves MJPEG. Feed the stream to Frigate or go2rtc instead, or use the ESPHome native camera entity. Source: ESPHome RTSP docs.

Why does VLC say it cannot open my ESP32-CAM stream?

The usual causes are a wrong IP address, the wrong port (554 vs 8554), the wrong path (/mjpeg/1 vs the ESPHome root path), AP isolation, or a firewall blocking the RTSP port. Check the stream in VLC first, then copy that working URL into any other app. Source: Micro-RTSP and circuit.rocks docs.

What frame rate will I get from an ESP32-CAM over RTSP?

There is no single tested number. ESPHome measured about 5 fps over WiFi and 10 over Ethernet at 640 by 480 on an ESP32-S3 with an OV5640, and the Micro-RTSP example runs about 10 fps at 800 by 600. Start at 640 by 480. Source: ESPHome and Micro-RTSP docs.

Is RTSP better than MJPEG for an ESP32-CAM?

RTSP is better when a recorder, NVR, or detection tool needs the feed, because those tools speak RTSP and generally cannot consume an MJPEG HTTP stream. MJPEG over HTTP is better for a quick live view in a browser. Both carry the same MJPEG video, so RTSP does not improve the picture, it makes the feed usable by more software. Source: ESPHome docs, esp32cam-rtsp page.

Can I view an RTSP stream in a web browser?

No, not directly. Browsers do not play RTSP. Use VLC or an NVR app for RTSP, the HTTP MJPEG stream at http://IP/stream for a browser view, or Frigate or go2rtc between the camera and the browser. Source: circuit.rocks docs, esp32cam-rtsp page.

How do I watch the MJPEG stream in a browser?

Flash the stock CameraWebServer example, open the IP address the serial monitor prints, and press Start Stream. The live stream itself is at http://<IP>:81/stream, and a single still is at http://<IP>/capture. The example starts at QVGA; raise the resolution from the menu once the stream is stable.

How do I save a single photo from the camera?

Open http://<IP>/capture in a browser and save the JPEG it returns, or use http://<IP>/snapshot on esp32cam-rtsp firmware. To save on the board itself, use the SD snapshot sketch in this guide: press the button on GPIO 13 and the photo lands on the card as /photoNNN.jpg. The card must be FAT32, 32 GB or less.

How do I record the RTSP stream to a file?

Run ffmpeg on your computer: ffmpeg -rtsp_transport tcp -i “rtsp://<IP>:554/mjpeg/1” -c copy capture.mp4. Use port 8554 for Micro-RTSP or Tasmota. Add -f segment -segment_time 900 to split long recordings into 15-minute files. Frigate records continuously if you already run it.

Why is the stream slow at high resolution?

Every MJPEG frame is a full JPEG image, so a UXGA frame of 100 to 250 KB at a few frames per second needs several Mbit per second for one viewer. Drop to 640 by 480, raise the JPEG quality number for smaller frames, disconnect other viewers, and move the board closer to the router.

Sources

Last updated: 2026-11-22

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.

Seeed XIAO ESP32S3 Pinout: GPIO, Camera, and Power

seeed studio xiao esp32c6 development board 1-pack

XIAO ESP32S3 Pinout: GPIO, Camera, and Power Pins

Answer in brief: The XIAO ESP32S3 gives you 11 GPIO pins, named D0 through D10. It also gives you native USB, I2C, SPI, UART, and ADC on those same pins. The Sense version adds a camera and a microSD card on a rear connector. This guide maps each pin and its shared uses.

Quick Facts

Item Detail Source
Board XIAO ESP32S3 Seeed Studio XIAO ESP32S3 wiki
GPIO pins 11 pins, D0 to D10 Seeed Studio XIAO ESP32S3 wiki
Logic voltage 3.3 volts Seeed Studio XIAO ESP32S3 wiki
USB port USB-C, native USB Seeed Studio XIAO ESP32S3 wiki
Native USB pins GPIO19 D- and GPIO20 D+ Seeed Studio XIAO ESP32S3 wiki
Boot pin GPIO0 Seeed Studio XIAO ESP32S3 wiki
I2C pins D4 SDA and D5 SCL Seeed Studio XIAO ESP32S3 wiki
SPI pins D8 SCK, D9 MISO, D10 MOSI Seeed Studio XIAO ESP32S3 wiki
UART pins D6 TX and D7 RX Seeed Studio XIAO ESP32S3 wiki
Sense SD chip select GPIO21 Seeed Studio XIAO ESP32S3 wiki

XIAO ESP32S3 Pinout Table

This table is an original pinout table built from the Seeed wiki pin multiplexing page. It is not a copied image. The D names are the printed pad names on the board. The GPIO numbers are the chip pin numbers in code.

Pad GPIO Main function Shared functions
D0 GPIO1 ADC input Touch input
D1 GPIO2 ADC input Touch input
D2 GPIO3 ADC input Touch input, strapping pin
D3 GPIO4 ADC input Touch input
D4 GPIO5 I2C SDA ADC input, touch input
D5 GPIO6 I2C SCL ADC input, touch input
D6 GPIO43 UART TX UART transmit only
D7 GPIO44 UART RX UART receive only
D8 GPIO7 SPI SCK ADC input, touch input
D9 GPIO8 SPI MISO ADC input, touch input
D10 GPIO9 SPI MOSI ADC input, touch input
BOOT GPIO0 Boot button Hold low at reset for download mode
5V Power 5 volt input USB 5 volt rail when USB is connected
3V3 Power 3.3 volt output Power for low-current 3.3 volt parts
GND Power Ground Common ground for all wiring

Power Pins

Power the board through the USB-C port or the 5V pad. The USB-C port supplies 5 volts from the host. The 5V pad accepts 5 volts from an external supply. Use one 5 volt source at a time. Do not feed 5 volts into the 3V3 pad.

The 3V3 pad is a 3.3 volt output from the SGM6029 buck converter on the board. The schematic v1.3 marks that converter Imax 600 mA, so keep external 3.3 volt loads under 600 mA in total. The Seeed wiki says 700 mA can be drawn from the 3V3 pad, which is above the schematic Imax, so the 600 mA schematic figure is the safe limit to plan on. The 5V pad is the USB VBUS rail. No separate 5V input current limit is published in schematic v1.3, so the USB source and cable set that limit in practice.

Strapping and Boot Pins

GPIO0 is the BOOT pin. The board has a BOOT button tied to GPIO0. Hold BOOT low at reset to enter download mode. The Arduino IDE and esptool handle this step in most cases. Press BOOT only when an upload fails to start.

GPIO3 on pad D2 is also a strapping pin. Keep D2 free of strong pull-downs at boot. A wrong level at boot can change the boot mode. Check the Seeed wiki strapping notes before you wire a sensor to D2.

ADC and Touch Pins

ADC input is available on D0, D1, D2, D3, D4, D5, D8, D9, and D10. That is 9 ADC pins in total. Each ADC pin reads a voltage from 0 volts to 3.3 volts. Use a voltage divider for any higher voltage. Never feed 5 volts into an ADC pin.

D11 is GPIO42 and D12 is GPIO41 on Sense and Plus variants. Those two pins serve the PDM microphone on the Sense board. Note that D11 and D12 do not support ADC on the S3 chip. Do not plan an analog read on those two pins. Use them only for their Sense roles unless the wiki for your variant says otherwise.

PWM Pins

PWM output works on the GPIO pins through the LEDC peripheral. Use PWM for a dim LED, a small buzzer, or a servo signal. The servo signal is a control signal only. It does not power the servo. Power the servo from a separate supply.

Every D pad can carry a PWM signal in code. The limit is the pin count, not the PWM peripheral. Pick a free D pad for each PWM output. Keep I2C and SPI pins free when those buses are in use. A PWM output on D4 would clash with I2C SDA.

I2C Pins

I2C uses D4 for SDA and D5 for SCL. The chip GPIO numbers are GPIO5 and GPIO6. Those two pins are the default I2C pair in most XIAO examples. Use them for an OLED display, a sensor, or a real-time clock.

Both I2C pins also support ADC and touch. That sharing means a choice. A pin on the I2C bus cannot read an analog voltage at the same time. Plan the pin budget before you add a second sensor.

SPI Pins

SPI uses D8 for SCK, D9 for MISO, and D10 for MOSI. The chip GPIO numbers are GPIO7, GPIO8, and GPIO9. Pick any free GPIO pin for the SPI chip select. D0 is a common chip select choice when it is free.

All three SPI pins also support ADC and touch. That sharing is the same trade as I2C. A SPI device claims all three pins. Plan for that claim before you add an analog sensor to D8, D9, or D10.

UART Pins

UART uses D6 for TX and D7 for RX. The chip GPIO numbers are GPIO43 and GPIO44. Those two pins carry the hardware serial port on the board pads. Use them for a GPS module, a serial sensor, or a second microcontroller.

The USB-C port carries a separate native USB serial link. That link is the programming and debug console. It does not use D6 or D7. You can use D6 and D7 for a device while the USB console stays open. That split is handy for GPS logging.

USB Pins

Native USB uses GPIO19 for D- and GPIO20 for D+. Those pins are internal. They do not appear on the D pads. The USB-C connector ties to them on the board. You cannot reassign them to other uses.

Native USB supports serial, HID, and mass storage modes in code. The Arduino core exposes USB serial by default. Use the USB link for uploads and debug output. Use D6 and D7 when you need a separate hardware UART.

Sense Camera and SD Card

The Sense version adds an OV2640 camera and a microSD card slot. Both sit on a rear board-to-board connector. The standard XIAO ESP32S3 has no camera and no SD slot. Check which version you hold before you follow the Sense wiring.

Sense feature Detail Source
Camera OV2640 on rear connector Seeed Studio XIAO ESP32S3 wiki
SD card chip select GPIO21 Seeed Studio XIAO ESP32S3 wiki
PDM microphone pins GPIO42 and GPIO41 Seeed Studio XIAO ESP32S3 wiki
Standard board camera None fitted Seeed Studio XIAO ESP32S3 wiki

The Sense camera uses the rear connector, not the D pads. That design keeps D0 through D10 free for your own wiring, except for the SD card sharing below. The SD card chip select is GPIO21. The SD card shares the SPI lines D8, D9, and D10, which are GPIO7, GPIO8, and GPIO9, with chip select on GPIO21. Do not put a second SPI device on D8, D9, and D10 while the SD card is mounted unless it has its own chip select pin. GPIO21 is also the user LED, so the LED flickers with card access.

For the Sense board guide, see the live post Seeed XIAO ESP32S3 Guide: Standard Board vs Sense Board (live post #18362). That guide compares the standard board and the Sense board in full.

Pins to Avoid

Avoid GPIO19 and GPIO20 for general wiring. They are the native USB pins. Avoid GPIO0 as a permanent output. It is the BOOT pin. Avoid D2 as a boot-time output. It is a strapping pin.

Avoid D11 and D12 for ADC reads. Those pins do not support ADC on the S3 chip. Avoid 5 volt logic on any D pad. This board uses 3.3 volt logic. A 5 volt signal needs a level shifter.

Avoid using D4 and D5 for other roles when I2C is active. Avoid D8, D9, and D10 for other roles when SPI is active. A shared pin causes a clash that is hard to trace in code.

Max Current and Logic Voltage

Logic voltage is 3.3 volts on every D pad. That value comes from the Seeed Studio XIAO ESP32S3 wiki. Treat 3.3 volts as the high level. Treat 0 volts as the low level. Keep sensor outputs at 3.3 volts or below.

At the strongest drive setting, a GPIO pin sources about 40 mA (IOH) and sinks about 28 mA (IOL), per the Espressif ESP32-S3 Series Datasheet v2.2, Table 5-4. Those are drive-strength values at 3.3 volts, not a recommended continuous load. Cumulative IO output current for the chip is 1500 mA at absolute maximum, per section 5.1 of the same datasheet. Treat a small LED through a resistor as the practical per-pin load, not 40 mA.

Use a driver for any load above a small LED. Keep LED current low with a series resistor. A 220 ohm resistor is a common bench value for a 3.3 volt LED test. Check the LED datasheet for its own forward voltage before you pick a resistor.

Wiring and Power Warnings

Power the board at 5 volts through USB-C or the 5V pad. Do not feed 5 volts into the 3V3 pad. Double-check the pad labels before you connect power. The pads are small and close together.

Keep wires short. Use a cable under 3 feet for bench tests when you can. Long wires pick up noise. Noise causes I2C errors and ADC jitter. Twist power and ground wires together when the run is long.

Solder the header pins with care. A solder bridge between two small pads shorts the board. Check each joint with a magnifier. Test for shorts with a meter before first power-up. A short on the 5 volt rail can damage the USB host.

Pin Test Sketch

Language: Arduino. Library: Arduino ESP32 core version 2.0.14. No extra library install is needed for this test. Code status: code not compiled. No arduino-cli or PlatformIO is installed in this environment.

// XIAO ESP32S3 pin test sketch
// Board: XIAO ESP32S3
// Arduino ESP32 core version 2.0.14
// Code status: code not compiled

// D pad to GPIO map from the Seeed wiki.
const int pinD0 = 1;  // ADC and touch.
const int pinD1 = 2;  // ADC and touch.
const int pinD4 = 5;  // I2C SDA, ADC, touch.
const int pinD5 = 6;  // I2C SCL, ADC, touch.
const int pinD6 = 43; // UART TX.
const int pinD7 = 44; // UART RX.
const int pinD8 = 7;  // SPI SCK, ADC, touch.

void setup() {
  // Start USB serial at 115200 baud for debug output.
  Serial.begin(115200);
  delay(1000); // Wait 1 second for the monitor to open.

  // Set D0 as an output for the blink test.
  pinMode(pinD0, OUTPUT);

  // Set the ADC pins as inputs.
  pinMode(pinD1, INPUT);
  pinMode(pinD4, INPUT);
  pinMode(pinD5, INPUT);

  Serial.println("XIAO ESP32S3 pin test started");
}

void loop() {
  // Read the ADC value on D1.
  // ADC range is 0 to 4095 counts on the ESP32-S3.
  int adcValue = analogRead(pinD1);
  Serial.print("D1 ADC value: ");
  Serial.println(adcValue);

  // Blink D0 for 500 milliseconds on and 500 milliseconds off.
  digitalWrite(pinD0, HIGH);
  delay(500); // Wait 500 milliseconds.
  digitalWrite(pinD0, LOW);
  delay(500); // Wait 500 milliseconds.
}

Expected result: the serial monitor shows a D1 ADC value each 1 second. The value changes when you touch a wire on D1 or feed it a voltage below 3.3 volts. The D0 output blinks at a 1 second period. If no serial output appears, check the USB cable and the board selection in the IDE.

Frequently Asked Questions

How many GPIO pins does the XIAO ESP32S3 have?

It has 11 GPIO pins on the pads, named D0 through D10. The GPIO numbers run from GPIO1 to GPIO9, plus GPIO43 and GPIO44. Native USB uses GPIO19 and GPIO20 internally.

Which pins are I2C on the XIAO ESP32S3?

D4 is SDA and D5 is SCL. The chip numbers are GPIO5 and GPIO6. Both pins also support ADC and touch. They cannot serve two roles at once.

Does the standard XIAO ESP32S3 have a camera?

No, the standard board has no camera. The Sense version adds an OV2640 camera and a microSD slot on a rear connector. The SD chip select is GPIO21 on the Sense board.

Can I use 5 volt sensors with this board?

No, not directly. The board uses 3.3 volt logic. A 5 volt sensor output needs a level shifter. A direct 5 volt input can damage the pin.

Boards That Match This Pinout

These boards use the pinout in this guide. Check the product page for current stock before you order. Stock changes over time.

Related reading: compare this board with the wider ESP32 family in the staged pillar ESP32 vs ESP32-S3 vs ESP32-C3 vs ESP32-C6 (row 22, staged). For sibling pinouts, see ESP32-CAM Pinout and ESP32 38-Pin Boards Compared: Narrow, DevKitC, and 32E.

Sources

  • Seeed Studio XIAO ESP32S3 pin multiplexing, https://wiki.seeedstudio.com/xiao_esp32s3_pin_multiplexing/
  • Seeed Studio XIAO ESP32S3 wiki, https://wiki.seeedstudio.com/xiao_esp32s3_getting_started/
  • Seeed Studio XIAO ESP32S3 schematic version 1.3, https://wiki.seeedstudio.com/xiao_esp32s3_getting_started/
  • Espressif ESP32-S3 Datasheet v2.2, https://www.espressif.com/sites/default/files/documentation/esp32-s3_datasheet_en.pdf

Last updated 2026-11-21.

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.