XIAO ESP32-S3 Sense
A thumb-sized ESP32-S3 development board that pairs 2.4GHz Wi-Fi and BLE with a detachable camera, digital microphone, and microSD slot for on-device AI, vision, and audio.
- Logic level3.3 V
- Clock speed240 MHz
- Flash8 MB
- RAM8 MB

The Seeed XIAO ESP32-S3 Sense is a thumb-sized board with an ESP32-S3R8 (dual-core LX7 at up to 240 MHz, 8 MB PSRAM, 8 MB flash), 2.4 GHz Wi-Fi and Bluetooth LE 5.0, plus an expansion board with a camera, a digital microphone and a microSD slot (Seeed XIAO ESP32S3 wiki, specifications). Power it from USB-C at 5 V or a 3.7 V LiPo on its battery pads, and connect parts to its 11 GPIO pads at 3.3 V logic: I2C on D4/D5, SPI on D8-D10, UART on D6/D7. Fit the supplied U.FL antenna before using Wi-Fi or BLE, and turn on PSRAM in the Arduino IDE for the camera.
The XIAO ESP32-S3 Sense is built around Espressif's ESP32-S3R8, a dual-core Xtensa LX7 32-bit processor that runs at up to 240 MHz with 8MB of flash and 8MB of PSRAM. It carries a complete 2.4GHz Wi-Fi subsystem plus Bluetooth Low Energy 5.0 and Bluetooth Mesh, giving a single tiny board both wireless connectivity and enough headroom for machine-learning workloads. The base board keeps the classic XIAO footprint, and with the expansion board fitted the stack measures 21 x 17.8 x 15 mm, so it drops into space-constrained and wearable projects.
The 'Sense' name comes from the detachable expansion board that clips onto the main module. It adds a plug-in camera, a PDM digital microphone, and a microSD/TF card slot that accepts FAT-formatted cards up to 32GB. Seeed's wiki says current boards ship with an OV5640 auto-focus camera (or an OV3660 during the changeover); the first Sense boards used an OV2640, which has been discontinued. That combination makes the board a popular choice for TinyML and edge AI: image classification, wake-word and keyword spotting, and camera-based detection all run locally, and captured frames or audio can be logged straight to the SD card.
Makers program it with the Arduino core or MicroPython over the USB-C port, which also powers the board and charges an attached lithium battery through the onboard charge circuit. The radio uses the supplied external antenna on a U.FL connector, and 11 GPIO pads (9 of them ADC-capable on the ESP32-S3's 12-bit ADC) break out I2C, SPI, UART, and I2S for external sensors and peripherals; the expansion board's B2B connector adds 2 more GPIOs.
XIAO ESP32-S3 Sense pinout
| Pin | Function | Type |
|---|---|---|
| D0 | ADC, Digital, PWM3.3 V | bidirectional |
| D1 | ADC, Digital, PWM3.3 V | bidirectional |
| D2 | ADC, Digital, PWM3.3 V | bidirectional |
| D3 | ADC, Digital, PWM3.3 V | bidirectional |
| D4 | ADC, Digital, PWM, I2C SDA3.3 V | bidirectional |
| D5 | ADC, Digital, PWM, I2C SCL3.3 V | bidirectional |
| D6 | Digital, PWM, UART TX3.3 V | bidirectional |
| 5V | 5V / VBUS | power in |
| GND | GND | power in |
| 3V3 | 3V33.3 V | power out |
| D10 | ADC, Digital, PWM, SPI MOSI3.3 V | bidirectional |
| D9 | ADC, Digital, PWM, SPI MISO3.3 V | bidirectional |
| D8 | ADC, Digital, PWM, SPI SCK3.3 V | bidirectional |
| D7 | Digital, PWM, UART RX3.3 V | bidirectional |
XIAO ESP32-S3 Sense code
Every example here compiles for its board.
// XIAO ESP32-S3 Sense on XIAO ESP32-S3 Sense: wiring and a free simulation at https://www.tinkered.ai/components/xiao-esp32-s3-sense
#include <I2S.h>
static int16_t block[512];
void setup() {
Serial.begin(115200);
I2S.setAllPins(-1, 42, 41, -1, -1); // sck unused, ws = PDM clock 42, data in 41
if (!I2S.begin(PDM_MONO_MODE, 16000, 16)) { Serial.println("I2S failed"); while (true) delay(1000); }
}
void loop() {
size_t got = 0;
esp_i2s::i2s_read(esp_i2s::I2S_NUM_0, block, sizeof(block), &got, portMAX_DELAY); // got / 2 samples, in order
// ... level, FFT, or append to a PSRAM recording buffer
}
Compiled for esp32:esp32:XIAO_ESP32S3 on 2026-10-29Specifications
- Logic level
- 3.3 V
- Clock speed
- 240 MHz
- Flash
- 8 MB
- RAM
- 8 MB
- GPIO pins
- 11
- ADC channels
- 9
- ADC resolution
- 12 bits
- PWM channels
- 8
- Bluetooth
- BLE 5.0
- Dimensions
- 21 × 17.8 × 15 mm
- Weight
- 4 g
From the Seeed Studio's datasheet, published by Seeed Studio.
Common mistakes
Treating the pins as 5V tolerant
The ESP32-S3 runs on 3.3V logic. Wiring a 5V sensor output or module directly to a GPIO can damage the chip. Use a level shifter or a 3.3V-native part.
Camera init fails because PSRAM is off
Camera capture relies on the 8MB PSRAM. If you forget to turn on PSRAM (OPI PSRAM) and select the XIAO_ESP32S3 board in the Arduino IDE, sketches return a 'camera init failed' error. Streaming examples also need a partition scheme with at least 3MB of app space.
Reusing pins that the Sense board already owns
With the expansion attached, the camera uses GPIO10-18, 38-40, 47 and 48, the microphone GPIO41 and 42, and the microSD slot GPIO21 (CS) plus GPIO7-9, which are also the SPI pads D8-D10. Assigning those pins to your own peripherals breaks the camera, mic or SD card.
Expecting the camera and mic on the bare module
The base XIAO ESP32-S3 has no camera, microphone, or SD slot. Those three features live only on the Sense expansion board, which must be clipped on.
Leaving the antenna disconnected
The board's radio is wired to the U.FL antenna connector, and Seeed's wiki has you take the supplied antenna out of the package and install it. Without it, Wi-Fi and BLE range is very short. Snap one side of the connector in first, then press the other side down.
XIAO ESP32-S3 Sense questions
Which camera does the XIAO ESP32-S3 Sense use?
Seeed's wiki says current Sense boards ship with an OV5640 auto-focus camera, and some ship with an OV3660 during the changeover; the original OV2640 has been discontinued (Seeed XIAO ESP32S3 wiki). Seeed's example code supports these sensors. For auto-focus on the OV5640, Seeed's camera page notes the frame size must be above 1280 x 1024.
Why does my XIAO ESP32-S3 Sense say camera init failed?
Usually PSRAM is off: the camera driver needs the 8 MB PSRAM, so set PSRAM to OPI PSRAM and select the XIAO_ESP32S3 board in the Arduino IDE (Seeed camera usage wiki). Also check the expansion board is pressed fully onto the B2B connector, and that your own code does not drive the camera's GPIOs.
Are the XIAO ESP32-S3 pins 5V tolerant?
No. The ESP32-S3 runs from a 3.3 V rail whose absolute maximum is 3.6 V (ESP32-S3 datasheet v2.2, Table 5-1), and its GPIOs work at 3.3 V logic. Bring 5 V signals down with a resistor divider or a level shifter before they reach a pad.
How do I power the XIAO ESP32-S3 Sense from a battery?
Solder a 3.7 V LiPo to the battery pads on the underside, with negative on the side nearest the USB port (Seeed XIAO ESP32S3 wiki). The onboard charger tops it up whenever USB-C is connected. Note the 5V pin reads 0 V on battery power, so feed 5 V parts another way.
Which pins are free on the XIAO ESP32-S3 Sense?
The 11 pads D0-D10 are yours, but the microSD slot shares GPIO7-9 with the SPI pads D8-D10 and uses GPIO21 as its chip select (Seeed XIAO ESP32S3 wiki). The camera and microphone sit on internal GPIOs that never reach the pads. Leave D8-D10 to the SD card if you use it, or put other SPI parts on a separate chip select.
XIAO ESP32-S3 Sense vs ESP32-CAM: which should I buy?
Both run camera projects on an ESP32. The XIAO Sense adds native USB-C programming, an ESP32-S3 with 8 MB PSRAM, a PDM microphone and LiPo charging in a 21 x 17.8 x 15 mm stack (Seeed XIAO ESP32S3 wiki). The ESP32-CAM is larger and needs a USB-serial adapter to program.
Build something with the XIAO ESP32-S3 Sense
- Build this
Wireless streaming camera
Serve a live MJPEG video feed over Wi-Fi from the plug-in camera, an ESP32-CAM style build in a much smaller footprint.
- Build this
TinyML image classification
Train a model in Edge Impulse and run inference on-device so the board recognizes objects or gestures from the camera without a cloud connection.
- Build this
Keyword spotting with the digital mic
Use the onboard PDM microphone to detect wake words or simple voice commands locally for hands-free control.
- Build this
Trail and wildlife camera
Trigger captures on motion, timestamp the JPEGs, and log them to the microSD card while running from a lithium battery.
- Build this
Battery-powered BLE sensor node
Read external I2C sensors, broadcast readings over Bluetooth Low Energy 5.0, and deep-sleep between samples on a single LiPo cell.
- Build this
Smart video doorbell
Combine camera capture, on-device person detection, and Wi-Fi notifications for a compact DIY doorbell or entry monitor.
This page as plain Markdown, for ChatGPT, Claude or your own agent. /components/xiao-esp32-s3-sense.md