XIAO ESP32S3 Pinout, Datasheet, Schematic [Ultimate Guide]

In this guide, you’ll find the XIAO ESP32S3 pinout diagram (ESP32S3 Sense), its datasheet and schematic diagram, and every pin group explained with its default pins. It’s the complete Seeed XIAO ESP32S3 pinout (XIAO ESP32S3 Sense) in the same article. Without further ado, let’s get right into it!

The XIAO ESP32S3 is Seeed Studio’s thumb-sized board built on the ESP32-S3R8: a dual-core 240MHz Xtensa LX7 with 8MB PSRAM, 8MB flash, Wi-Fi and Bluetooth LE 5. On a 21 × 17.8mm board, it gives you 11 GPIO pins (all 3.3v), native USB-C, a Li-ion charger, and a U.FL antenna connector. The Sense version adds a plug-in board with a camera, a digital microphone, and a microSD slot.


XIAO ESP32S3 Pinout Diagram

Here is a detailed XIAO ESP32S3 Pinout Diagram with colored labels and legends to help you easily identify the functionalities that each pin can perform. It shows all 14 edge pins with their XIAO names (D0–D10), the ESP32-S3 GPIO numbers, and each pin’s analog, touch, UART, SPI, and I2C functions. The XIAO ESP32S3 Sense has exactly the same 14 edge pins.

XIAO ESP32S3 pinout diagram with GPIO, ADC, touch, PWM, UART, SPI and I2C pin functions (also XIAO ESP32S3 Sense)
Seeed Studio XIAO ESP32S3: 14 edge pins (same on the XIAO ESP32S3 Sense)

Each row shows the XIAO pin number, the Arduino pin name (D0, A1…), the ESP32-S3 GPIO number, and its functions, color-coded by peripheral. The square symbol means every pin is 3.3v only, the PWM symbol means every GPIO can output PWM, and the numbered badges point to the notes at the bottom right. The “also known as” box lists the other names this board is sold under, including the misnomer “XIAO ESP32-S3-MINI” (there’s no ESP32-S3-MINI module on it; the chip sits directly on the board).

With the USB-C connector at the top, the left edge runs from D0 (pin 1) down to D6 (pin 7), and the right edge runs from D7 (pin 8, bottom) up to 5V (pin 14, top), counter-clockwise like Seeed’s numbering. The pads are castellated, so you can solder the board flat onto a PCB, or fit 2.54mm headers for a breadboard.

XIAO ESP32S3 Back Pads Pinout

The underside of the XIAO ESP32S3 has the battery pads (BAT+ / BAT−), the four JTAG pads (MTDO, MTDI, MTCK, MTMS = GPIO40, 41, 39, 42), EN, GND, and the USB D+ / D− test pads (GPIO20 / GPIO19).

XIAO ESP32S3 back pads pinout: JTAG MTDO MTDI MTCK MTMS, EN, USB D+ D-, battery BAT+ BAT- pads
Back pads: battery, JTAG, EN and USB D+/D−

XIAO ESP32S3 Sense Pinout Diagram

The XIAO ESP32S3 Sense adds a plug-in expansion board with an OV2640 (or OV3660 / OV5640) camera, a PDM digital microphone, a microSD slot, and two extra pads, D11 and D12. This diagram shows which GPIOs each part uses and the three jumpers (J1, J2, J3) that free them.

XIAO ESP32S3 Sense pinout: camera, PDM microphone, microSD pins and D11 D12 pads
XIAO ESP32S3 Sense expansion board: camera, microphone, microSD, D11/D12

XIAO ESP32S3 Sense B2B Connector Pinout

The Sense board plugs into the 30-pin B2B connector (J3, a Hirose DF40 plug) on the underside of the XIAO ESP32S3. Here is every one of its pins, plus the 24-pin camera FPC connector on the Sense board.

XIAO ESP32S3 Sense pinout of the 30-pin B2B connector: camera DVP, PDM microphone and microSD GPIOs, plus the 24-pin camera FPC
The 30-pin B2B connector (J3) and the 24-pin camera FPC

Buy a XIAO ESP32S3 or XIAO ESP32S3 Sense: If you don’t have one yet, you can get the genuine Seeed Studio XIAO ESP32S3 from Amazon or AliExpress, or the XIAO ESP32S3 Sense (with the camera board) from Amazon or AliExpress. Both ship with the U.FL antenna you need for Wi-Fi and Bluetooth.

Download XIAO ESP32S3 Pinout Diagrams (Full Resolution)

All 4 XIAO ESP32S3 pinout diagrams (edge pins, back pads, the Sense board, and the Sense B2B connector) in full resolution (5120 px wide WebP), in one ZIP file. Print them, zoom in, or keep them next to your bench. Please consider supporting my work if it helped you.


XIAO ESP32S3 Datasheet

This development board is built around the ESP32-S3R8 SoC (the ESP32-S3 with 8MB of octal PSRAM inside the package). So the XIAO ESP32S3 datasheet set has two parts: Seeed Studio’s documents for the board and the Sense camera board, and Espressif’s for the chip. Here are the official documents you’ll need, linked to their original sources:

DocumentSourceRevisionWhat You’ll Use It ForLink
XIAO ESP32S3 wiki (getting started + specs)Seeed Studioonline (updated 2026-11-04)Specs, pin list, power pins, battery, bootloader, heat sinksWeb
XIAO ESP32S3 pin multiplexing wikiSeeed Studioonline (2026-04-27)Seeed’s per-peripheral pin notes and the Sense J1/J2/J3 jumpersWeb
XIAO ESP32S3 schematicSeeed Studiov1.4 file (title block Rev V1.3, 2026-02-10)The full board circuit (see the next section)PDF
XIAO ESP32S3 KiCad filesSeeed Studiov1.4Schematic and PCB source, footprint for your carrier boardZIP
XIAO ESP32S3 Sense schematic (base board)Seeed StudioV1.51 (2026-06-11)The Sense’s XIAO board (same circuit and B2B connector)PDF
Sense expansion board schematicSeeed Studiov1.2 (2026-08-10)Camera LDOs and FPC, microSD slot, microphone, J1/J2/J3PDF
XIAO ESP32S3 Sense pinout sheetSeeed StudioonlineSeeed’s pin-by-pin function listXLSX
ESP32-S3 Series datasheetEspressifv2.2 (2026-03)Pin functions (IO MUX, ADC, touch, RTC), strapping pins, electrical limitsPDF
ESP32-S3 technical reference manualEspressiflatestRegisters, the GPIO matrix, and every peripheralPDF
ESP32-S3 Series SoC errataEspressiflatestKnown silicon limitations per chip revisionWeb

Which document do I need? The Seeed wiki for the power options and the Sense board, the schematics for what’s connected to each pin, the ESP32-S3 datasheet for pin functions and electrical limits, and the technical reference manual for register-level code.


XIAO ESP32S3 Schematic

The XIAO ESP32S3 schematic is Seeed Studio’s XIAO ESP32-S3 v1.4. Its circuit fits on one sheet, so here is the block diagram, the full sheet, close-ups of each block, and two close-ups of the Sense expansion board v1.2. Click a page to view it full screen.

XIAO ESP32S3 schematic page 1: block diagram (XIAO ESP32S3 v1.4 / Rev V1.3)
Page 1 of 9 · Block Diagram
XIAO ESP32S3 schematic page 2: full circuit sheet (XIAO ESP32S3 v1.4 / Rev V1.3)
Page 2 of 9 · Full Circuit Sheet
XIAO ESP32S3 schematic page 3: battery/USB power path, SGM6029 3.3v buck converter and SGM40567 battery charger (XIAO ESP32S3 v1.4 / Rev V1.3)
Page 3 of 9 · Power Path, SGM6029 Buck & SGM40567 Charger
XIAO ESP32S3 schematic page 4: USB-C connector, CC resistors and USB series resistors (XIAO ESP32S3 v1.4 / Rev V1.3)
Page 4 of 9 · USB-C Connector
XIAO ESP32S3 schematic page 5: ESP32-S3R8, 40MHz crystal and U.FL antenna (XIAO ESP32S3 v1.4 / Rev V1.3)
Page 5 of 9 · ESP32-S3R8, Crystal & U.FL Antenna
XIAO ESP32S3 schematic page 6: BOOT and RESET buttons, user LED, 8MB flash and test pads (XIAO ESP32S3 v1.4 / Rev V1.3)
Page 6 of 9 · Buttons, User LED, Flash & Test Pads
XIAO ESP32S3 schematic page 7: B2B connector J3 for the Sense board (XIAO ESP32S3 v1.4 / Rev V1.3)
Page 7 of 9 · B2B Connector (J3)
XIAO ESP32S3 schematic page 8: Sense camera LDOs, camera FPC and B2B socket (Sense expansion board v1.2)
Page 8 of 9 · Sense Board: Camera LDOs & FPC
XIAO ESP32S3 schematic page 9: Sense microSD slot, J3 pull-ups and PDM microphone with J1/J2 (Sense expansion board v1.2)
Page 9 of 9 · Sense Board: microSD & Microphone
Page 1 of 4

Official sources: the XIAO ESP32S3 schematic v1.4 (PDF) and the Sense expansion board schematic v1.2 (PDF), both from the Seeed Studio wiki. Here’s what to look at:

  • Power path: USB-C VBUS reaches the system rail (VIN) through the LMBR4010 Schottky diode (D2), and the battery reaches it through the P-channel MOSFET Q1 (LP0404N3T5G). Q1’s gate sits on VBUS with a 100kΩ pull-down, so the battery is switched off whenever USB is plugged in. The 5V pin is VBUS itself, before the diode.
  • 3.3v regulator: an SGM6029 buck converter (U3, 470nH inductor) makes the 3.3v rail. The schematic notes Imax = 600mA; Seeed’s wiki says you can draw 700mA from the 3V3 pin. A buck (not an LDO) is why the board runs efficiently from a 3.7v cell.
  • Battery charger: an SGM40567-4.2 linear charger (U4) fed from VBUS. R10 (220kΩ) sets the charge current, noted as 24000 / 220k ≈ 110mA; Seeed’s spec table says 100mA (fast charge). The charger’s NCHG pin drives the red charge LED through 10kΩ. No GPIO is wired to the battery.
  • USB-C: 5.1kΩ pull-downs on CC1/CC2, and D+/D− go through 22Ω resistors straight to the ESP32-S3’s native USB on GPIO20 / GPIO19 (also on two test pads on the back). There’s no USB-UART chip.
  • ESP32-S3R8 (U1): a 40MHz crystal, and the RF pin runs through a matching network to the U.FL connector only (no PCB antenna). The 8MB flash is a GD25Q64ENIGR (U5) on the SPI pins.
  • Buttons and LED: BOOT pulls GPIO0 to GND (10kΩ pull-up), RESET pulls EN to GND (10kΩ + 1µF). The yellow user LED runs from 3.3v through 1.5kΩ into GPIO21, so it lights when GPIO21 is LOW.
  • B2B connector (J3): a 30-pin Hirose DF40 plug rated 0.3A per pin, carrying VIN (3.7v–5v), 3.3v, the camera GPIOs, the microphone pins (GPIO41/42), the SD pins (D8–D10 + GPIO21) and D2. The plain {B} has the same connector, unused.
  • Sense expansion board: VIN feeds two SGM2036S LDOs that make the camera’s 2.8v (analog and I/O) and 1.5v core supplies (v1.2 changed the core LDO to 1.5v; the net is still labelled VCC_1V3). The camera’s RESET has a 10kΩ pull-up and PWDN a 10kΩ pull-down, with no GPIO on either. The microSD slot is wired in SPI mode only (22Ω series resistors, CS on GPIO21 through R12 = 0Ω; R11 to D2 is not fitted), with 4.7kΩ pull-ups through jumper J3. The PDM microphone (MSM261D3526H1CPM) gets CLK and DATA through jumpers J1 and J2.

XIAO ESP32S3 Specs

The XIAO ESP32S3 packs the most memory of any XIAO ESP32 board into the same 21 × 17.8mm footprint. Here are its specifications, including the board-level parts that chip-only spec lists usually skip.

XIAO ESP32S3 development board (Seeed Studio, ESP32-S3R8) with U.FL antenna connector, BOOT and RESET buttons

Get a XIAO ESP32S3: The genuine Seeed Studio board is the one I recommend. Grab the XIAO ESP32S3 from Amazon or AliExpress, or the XIAO ESP32S3 Sense from Amazon or AliExpress.

ItemXIAO ESP32S3
SoCEspressif ESP32-S3R8 (8MB octal PSRAM in the package)
CPU2x Xtensa LX7 cores up to 240MHz, plus ULP-RISC-V and ULP-FSM co-processors
Memory512KB SRAM, 384KB ROM, 8MB PSRAM, 8MB QSPI flash (GD25Q64)
WirelessWi-Fi 4 (802.11 b/g/n, 2.4GHz) and Bluetooth LE 5 (no Bluetooth Classic)
AntennaU.FL connector, external antenna included (no PCB antenna)
Logic level3.3v on every pin, not 5v tolerant (abs max 3.6v)
GPIO pins11 (D0–D10) on 14 castellated edge pads, plus 4 JTAG pads on the back
Analog / touch9 ADC pins (all ADC1, 12-bit), 9 touch pins
Board supplyUSB-C 5v, or a 3.7v Li-ion/LiPo cell on the BAT pads
3.3v regulatorSGM6029 buck: 700mA (Seeed wiki) / Imax 600mA (schematic note)
Battery chargerSGM40567: 100mA (Seeed wiki) / ≈110mA (schematic formula), red charge LED
Pin current40mA source, 28mA sink per pin at the strongest drive (default 20mA); 1500mA total
USB connectorUSB-C to the ESP32-S3’s native USB (OTG or Serial/JTAG); no USB-UART chip
Buttons and LEDsBOOT (GPIO0), RESET; yellow user LED (GPIO21, active LOW), red charge LED
Deep sleep14µA (Seeed, 3.8v battery); 3mA for the Sense with its expansion board
Size21 × 17.8mm (Sense: 21 × 17.8 × 15mm), XIAO form factor, surface-mountable
Temperature−20 °C to 65 °C
Seeed SKU113991114 ({B})
NoDAC, 5v-tolerant pins, battery-voltage pin

XIAO ESP32S3 Specifications Summary

  • The XIAO ESP32S3 runs an ESP32-S3R8: dual-core LX7 at 240MHz, 8MB PSRAM, and 8MB flash.
  • It has 11 GPIOs on the edge (D0–D10), and every pin is 3.3v only: none of them is 5v tolerant.
  • It has 9 analog pins (A0–A5, A8–A10), all on ADC1, so analogRead() keeps working with Wi-Fi on. D6/D7 aren’t analog.
  • The same 9 pins are touch inputs (T1–T9), and all 11 GPIOs can output PWM.
  • Serial is USB CDC; Serial0 (UART0) is on D6 (TX) / D7 (RX).
  • The Arduino Wire pins are D4 (SDA) and D5 (SCL); SPI is D8 (SCK), D9 (MISO), D10 (MOSI), and the core’s default SS is D7 (the RX pin).
  • LED_BUILTIN is GPIO21, and the LED is active LOW.
  • Power it from USB-C or a 3.7v battery on the back pads. The 5V pin is raw USB VBUS: an input only through a diode, and dead on battery.
  • The 3V3 pin is rated 700mA by Seeed’s wiki and 600mA by the schematic’s regulator note.
  • PSRAM is off by default in the Arduino IDE: enable Tools > PSRAM > OPI PSRAM (the Sense camera needs it).
  • Deep sleep: 14µA on the {B}; 3mA on the Sense with its expansion board attached.

XIAO ESP32S3 Peripherals: ESP32-S3 vs On the Pins

The ESP32-S3 routes most peripherals through its GPIO matrix, so UART, I2C, SPI, PWM, I2S and CAN can go to almost any of the 11 edge pins. This table shows what the chip has and what you can reach on the XIAO.

PeripheralESP32-S3On the XIAO ESP32S3
GPIO45 GPIOs11 (D0–D10) + 4 JTAG pads (GPIO39–42)
ADC2x 12-bit SAR ADC, 20 channels9 pins, all ADC1
Touch14 channels9 (D0–D5, D8–D10)
DACnone–
UART3UART0 on D6/D7; UART1/UART2 on any pins via the matrix
SPI (general purpose)2 (SPI2, SPI3)Arduino SPI on D8–D10
I2C2Arduino Wire on D4/D5; the second bus on any pins
I2S2any pins (the Sense microphone uses PDM on GPIO41/42)
TWAI (CAN 2.0)1any two pins, with an external CAN transceiver
PWMLEDC 8 channels + 2x MCPWMall 11 pins
USBUSB OTG (full speed) + USB Serial/JTAGUSB-C connector (GPIO19/20)
Camera (DVP)8-bit LCD/camera interfaceSense board only, through the B2B connector

XIAO ESP32S3 Quick Pin Selection Guide

Not sure which pin to use? Here are the XIAO ESP32S3 pins I’d pick first for each job, and why.

Use CaseRecommended PinsWhy
Serial to the PCUSB-C (Serial)USB CDC, enabled by default
Serial to a module (GPS, servo bus…)D7 (RX), D6 (TX)UART0’s own pins: Serial0, or Serial1 with the pins passed
I2C sensors and displaysD4 (SDA), D5 (SCL)The Arduino Wire pins, same on every XIAO
SPI devicesD8 (SCK), D9 (MISO), D10 (MOSI), CS on D0–D3The Arduino SPI pins; never leave CS on the default SS (D7)
Analog inputsA0–A5, A8–A10All ADC1, work with Wi-Fi on
Touch buttonsD0–D3 (T1–T4)Touch-capable, free on the Sense too
Battery voltageA0 (with a 2x 200kΩ divider)No on-board sense pin
Deep-sleep wake buttonD0–D5RTC GPIOs (D6/D7 can’t wake the chip)
WS2812 / NeoPixel dataD0–D3Free pins with no boot role
OneWire (DS18B20)D0–D5Users report trouble on D6/D7
Safest general GPIOD0, D1, D3, D4, D5No strapping, USB, SD or UART role

XIAO ESP32S3 Pins to Use With Caution

PinReasonWhat to Do
D7 (GPIO44)UART0 RX, and the core’s default SPI SSPass your own CS pin to SPI.begin() and to every SPI library
D6 (GPIO43)UART0 TX: the boot ROM prints on it at every resetUse it for TX, or for an output that tolerates glitches
D8–D10On the Sense, also the microSD slot (with CS on GPIO21)Share the SPI bus with your own CS, or cut J3 and leave the card out
D2 (GPIO3)JTAG-source strapping pin (only read if an eFuse is burned)Normally a free pin; avoid hard pull-ups/downs at reset to be safe
GPIO21 (user LED)Active-LOW LED, and the Sense microSD CSDon’t blink the LED while using the SD card
GPIO19 / GPIO20 (back pads)The native USB D−/D+Never reuse them, or the USB port disappears
GPIO39–42 (JTAG pads)On the Sense: camera SCCB (39/40) and microphone (41/42)Free only on the plain S3, or on the Sense with J1/J2 cut (41/42)
5VRaw USB VBUS, no reverse protection, 0v on batteryFeed it only through a diode; don’t count on it on battery power
All pins3.3v only, no 5v toleranceLevel-shift every 5v signal

XIAO ESP32S3 Pin Numbering: XIAO Pins vs GPIO Numbers

The XIAO ESP32S3 has three numbering systems on the same pins: the XIAO pin number (1–14, physical), the XIAO name (D0–D10), and the ESP32-S3 GPIO number. In the Arduino core, a bare number is the GPIO number, so digitalWrite(1, HIGH) drives GPIO1 = D0, not D1. MicroPython, CircuitPython, and ESP-IDF use GPIO numbers only.

XIAO PinXIAO NameGPIOXIAO PinXIAO NameGPIO
1D0 / A0GPIO18D7 / RXGPIO44
2D1 / A1GPIO29D8 / A8 / SCKGPIO7
3D2 / A2GPIO310D9 / A9 / MISOGPIO8
4D3 / A3GPIO411D10 / A10 / MOSIGPIO9
5D4 / A4 / SDAGPIO5123V3–
6D5 / A5 / SCLGPIO613GND–
7D6 / TXGPIO43145V–

The safe habit is to write the pin names ( D4, A0, SDA) in Arduino sketches. The XIAO_ESP32S3 variant of the ESP32 Arduino core defines D0–D10, A0–A5, A8–A10, T1–T9, TX, RX, SDA, SCL and the SPI pins. There’s no A6/A7: D6 and D7 have no analog channel.


XIAO ESP32S3 Pins Functions

The 14 edge pins of the XIAO ESP32S3 (plus the back pads) are divided into the following groups based on the hardware functionality they’re used for. Thanks to the GPIO matrix, most pins belong to several groups at once.

We’ll discuss each pin group in the following sections one by one in more detail.


XIAO ESP32S3 Power Pins

The XIAO ESP32S3 is powered from the USB-C port (5v) or from a 3.7v Li-ion/LiPo battery soldered to the BAT+ / BAT− pads on the back. The 3V3 pin is the buck converter’s output, and the 5V pin is the raw USB VBUS line. The power pins are highlighted in red in the pinout diagram.

XIAO ESP32S3 power pins (5V USB VBUS, 3V3 output, GND)

PinXIAO PinRangeNotes
5V145v in/outUSB VBUS. 5v out on USB power, 0v on battery; as an input, only through a diode
3V3123.3v outSGM6029 buck output: 700mA (Seeed wiki) / Imax 600mA (schematic note)
GND130vPlus the GND pad and the thermal pad on the back
BAT+ / BAT−back pads3.7v nominal (4.2v full)BAT− is the pad nearer the USB-C connector; charged at 100mA (wiki) / ≈110mA (schematic)

What is the input voltage of the XIAO ESP32S3? 5v through USB-C (or the 5V pin, through a diode), or a single 3.7v Li-ion/LiPo cell (3.7v–4.2v) on the BAT pads. You can leave the battery connected with USB plugged in: the power path runs the board from USB while the SGM40567 charges the battery. The red charge LED blinks while charging and turns off when the battery is full.

Note: The 5V pin is wired straight to the USB-C connector’s VBUS. Feeding 5v into it without a diode while USB is plugged in back-feeds your PC’s USB port, so Seeed requires a diode (anode at your supply, cathode at the 5V pin). And on battery power the 5V pin is dead, so a 5v module powered from it won’t run; power it from 3V3 or add a boost converter.

XIAO ESP32S3 Battery Voltage Reading

The XIAO ESP32S3 has no battery-voltage pin: no ADC channel is wired to BAT+ (the XIAO ESP32S3 Plus has one, the S3 and Sense don’t). Add a divider of two 200kΩ resistors from BAT+ to GND with the middle point on A0. A full 4.2v cell gives 2.1v on A0, inside the ADC’s range (0–2.9v at the default attenuation (ESP32-S3 datasheet v2.2)).

XIAO ESP32S3 Sleep Current

Seeed specifies 14µA in deep sleep for the XIAO ESP32S3 on a 3.8v battery (modem-sleep 27mA, light-sleep 2mA). The XIAO ESP32S3 Sense with its expansion board attached measures 3mA in deep sleep (light-sleep 5mA), because the camera’s LDOs stay powered, so remove the Sense board for long battery runs. Measure from the battery pads, not through USB. Any of D0–D5 and D8–D10 (RTC GPIOs) can wake the chip; D6 and D7 can’t.

Learn more in our ESP32 Sleep Modes & Power Consumption Guide.


XIAO ESP32S3 GPIO Pins

The XIAO ESP32S3 has 11 GPIO pins on the edge: D0–D10 (GPIO1–9, GPIO43 and GPIO44). They all work at 3.3v, and none of them is 5v tolerant. Each one can be a digital input, a digital output, a PWM output, or an interrupt source.

XIAO ESP32S3 GPIO pins (D0-D10) with their ESP32-S3 GPIO numbers

Each GPIO can be an input (floating, or with the internal pull-up or pull-down), a push-pull or open-drain output, or a peripheral pin through the GPIO matrix. Here are the electrical limits (ESP32-S3 datasheet v2.2):

  • Logic level 3.3v; never apply more than 3.6v to any pin.
  • Up to 40mA source and 28mA sink per pin at the strongest drive setting (the default is 20mA), and 1500mA total for all I/Os together.
  • Every GPIO can trigger an interrupt: attachInterrupt(digitalPinToInterrupt(D3), isr, FALLING) works on any of the 11 pins.
  • The GPIOs you don’t see: GPIO26–32 (flash/PSRAM SPI) and GPIO33–37 (octal PSRAM) are taken inside the chip, GPIO19/20 are the USB, and GPIO10–18, 38, 47 and 48 go only to the B2B connector (the Sense camera).

Note: The user LED on GPIO21 is active LOW: digitalWrite(LED_BUILTIN, LOW) turns it on. The Blink example still works (it just starts in the opposite phase), but code that writes HIGH for “on” leaves it dark.

Learn more in our ESP32 GPIO Tutorial.


XIAO ESP32S3 ADC and Touch Pins

The XIAO ESP32S3 has 9 ADC pins: A0–A5 (D0–D5) and A8–A10 (D8–D10), all on ADC1. That matters on an ESP32: ADC2 is shared with the Wi-Fi driver, but no edge pin uses it, so analogRead() works with Wi-Fi on. The same 9 pins are capacitive touch inputs (T1–T9). The analog pins are highlighted in green in the pinout diagram.

XIAO ESP32S3 ADC pins (A0-A5 GPIO1-6, A8-A10 GPIO7-9, all ADC1)

PinGPIOADC ChannelTouch
A0 / D0GPIO1ADC1_CH0T1
A1 / D1GPIO2ADC1_CH1T2
A2 / D2GPIO3ADC1_CH2T3
A3 / D3GPIO4ADC1_CH3T4
A4 / D4GPIO5ADC1_CH4T5
A5 / D5GPIO6ADC1_CH5T6
A8 / D8GPIO7ADC1_CH6T7
A9 / D9GPIO8ADC1_CH7T8
A10 / D10GPIO9ADC1_CH8T9

analogRead() returns 0 to 4095 (12-bit), and analogReadMilliVolts() gives a calibrated value. At the default attenuation the datasheet’s effective range is 0–2.9v (ESP32-S3 datasheet v2.2), so readings flatten out above that; use a divider for higher voltages. touchRead(T1) returns a raw value that rises when you touch the pad.

Note: D11 and D12 on the Sense board have no ADC and no touch. They’re GPIO42 and GPIO41, and the ESP32-S3 has ADC only on GPIO1–20 and touch only on GPIO1–14 (ESP32-S3 datasheet v2.2). Seeed’s wiki pin table lists them as “Analog” with “TOUCH12/TOUCH13”, and some pages even call them “A11/A12”, but the core defines no A11/A12, and Seeed’s own multiplexing page warns about it. Use them as digital pins only.

There are so many sensors that we can read with the ADC pins, which include: potentiometers, LDRs, NTC thermistors, soil moisture sensors, joysticks, battery dividers, and much more.

Learn more in our ESP32 ADC Tutorial.

ESP32 ADC Analog Read Arduino Example Tutorial - Calibration And Filtering

Also Read

ESP32 ADC Tutorial


XIAO ESP32S3 PWM Pins

All 11 GPIO pins on the XIAO ESP32S3 can output PWM. The ESP32-S3’s LEDC peripheral has 8 channels routed to any pin through the GPIO matrix, plus two MCPWM units for motor control. In the Arduino core, analogWrite(D3, 128) just works.

XIAO ESP32S3 PWM Pins: D0–D10 (8 LEDC channels at a time).

For more control, use the LEDC API: ledcAttach(D3, 5000, 10) sets 5kHz with 10-bit resolution, and ledcWrite(D3, 512) sets 50% duty. Prefer D0–D5 for PWM: D6 glitches at reset, and on the Sense, D8–D10 are shared with the SD card (a common MCPWM vs SD conflict in the Seeed forum).

There are so many things that we can control with PWM, which include: LED dimming, RGB LEDs, DC motor speed (with a driver), servo motors, buzzers, and much more.

Learn more in our ESP32 PWM Tutorial.

ESP32 PWM tutorial thumbnail: ESP32 DevKit V1 board and a real oscilloscope capture of two PWM signals

Also Read

ESP32 PWM Tutorial


XIAO ESP32S3 UART Pins

The XIAO ESP32S3 has 3 hardware UARTs, plus the USB CDC port. Serial is the USB-C port, Serial0 is UART0 on D7 (RX) and D6 (TX), and Serial1 / Serial2 default to pins that aren’t usable on this board, so you must pass the pins. The UART pins are highlighted in blue in the pinout diagram.

XIAO ESP32S3 UART pins (D6 TX GPIO43, D7 RX GPIO44)

XIAO ESP32S3 Default UART Pins: D7 (RX) and D6 (TX) for Serial0.

PortArduino ObjectDefault PinsOn the XIAONote
USB CDCSerialUSB-CUSB-CUSB CDC On Boot is Enabled by default
UART0Serial0RX GPIO44, TX GPIO43D7 / D6Boot ROM messages come out on D6
UART1Serial1RX GPIO15, TX GPIO16Not on the edge (Sense camera Y2/Y5)Pass the pins: Serial1.begin(baud, SERIAL_8N1, D7, D6)
UART2Serial2GPIO19 / GPIO20The USB pins!Never use the defaults; pass free pins

This is the #1 question on the forums (Arduino forum): Serial1.begin(9600) alone talks to GPIO15/16, not to the TX/RX pads. Pass the pins, or simply use Serial0:

Note: Don’t start a battery-powered sketch with while (!Serial);: it waits for a USB host forever, so the board looks dead on battery. Use a timeout: while (!Serial && millis() < 3000);. And if a OneWire sensor misbehaves on D6/D7, move it to D0–D5 (arduino-esp32 #8324).

There are so many modules that we can interface with the UART pins, which include: GPS modules, GSM/LTE modules, serial servos, fingerprint sensors, RS485 transceivers, other microcontrollers, and much more.

Learn more in our ESP32 Serial Print Tutorial.


XIAO ESP32S3 I2C Pins

The XIAO ESP32S3 has 2 I2C controllers. The default Arduino Wire pins are D4 (SDA) and D5 (SCL), the same place as on every XIAO board, so Grove shields and XIAO expansion boards work out of the box. The I2C pins are highlighted in yellow in the pinout diagram.

XIAO ESP32S3 I2C pins (D4 SDA GPIO5, D5 SCL GPIO6)

XIAO ESP32S3 Default I2C Pins: D4 (SDA) and D5 (SCL).

SignalPinGPIONote
SDAD4GPIO5Also A4 / T5
SCLD5GPIO6Also A5 / T6

The second controller ( Wire1) can go to any two free pins: Wire1.begin(D0, D1). On the Sense, the camera’s SCCB bus (GPIO39/40) is driven by the camera driver, not by Wire, so keep your own sensors on D4/D5.

Note: There are no I2C pull-up resistors on the XIAO ESP32S3, so add 4.7kΩ pull-ups to 3.3v (not 5v) unless your module already has them.

There are so many modules and sensors that we can interface with the I2C bus, which include: OLED displays (SSD1306), RTC modules (DS3231), IMUs (MPU6050), BME280 sensors, port expanders, and much more.

Learn more in our ESP32 I2C Tutorial.

ESP32 I2C Tutorial in Arduino IDE - Set I2C Pins - I2C Scanner - Multiple Device Addresses

Also Read

ESP32 I2C Tutorial


XIAO ESP32S3 SPI Pins

The XIAO ESP32S3 has 2 general-purpose SPI ports (SPI2 and SPI3). The default Arduino SPI pins are D8 (SCK), D9 (MISO) and D10 (MOSI). There’s no CS pin on the silkscreen, and the core’s default SS is GPIO44, which is D7, the RX pin. The SPI pins are highlighted in pink in the pinout diagram.

XIAO ESP32S3 SPI pins (D8 SCK GPIO7, D9 MISO GPIO8, D10 MOSI GPIO9, default SS D7 GPIO44)

XIAO ESP32S3 Default SPI Pins: D8 (SCK), D9 (MISO), and D10 (MOSI), with CS on a pin you choose.

SignalPinGPIONote
SCKD8GPIO7Sense: microSD SCK
MISOD9GPIO8Sense: microSD MISO
MOSID10GPIO9Sense: microSD MOSI
SS (core default)D7GPIO44Clashes with RX: choose another CS

Note: Libraries that fall back to SS (Ethernet W5500, some displays and radios) grab D7 and kill UART0 RX. Users fixed “SPI device not found” by changing the CS line (Seeed forum). Always pass your CS pin to the library.

There are so many modules that we can interface with the SPI bus, which include: TFT displays (ST7789, GC9A01), SD card modules, LoRa radios (SX1262), W5500 Ethernet, MAX7219 LED drivers, and much more.


XIAO ESP32S3 USB and JTAG Pins

The XIAO ESP32S3’s USB-C connector is wired straight to the ESP32-S3’s native USB on GPIO20 (D+) and GPIO19 (D−). There’s no USB-UART chip: the same port does uploads, the Serial port and JTAG debugging. Unlike the ESP32-C3, the S3 also has full-speed USB OTG, so the board can act as a USB keyboard, mouse, MIDI device or mass-storage drive (TinyUSB).

XIAO ESP32S3 JTAG strapping pin D2 (GPIO3) highlighted in the pinout diagram

SignalGPIO / PadOn the XIAO ESP32S3
USB D+ / D−GPIO20 / GPIO19USB-C, plus two test pads on the back
JTAG MTCKGPIO39Back pad (Sense: camera SCL)
JTAG MTDOGPIO40Back pad (Sense: camera SDA)
JTAG MTDIGPIO41Back pad (Sense: microphone DATA / D12)
JTAG MTMSGPIO42Back pad (Sense: microphone CLK / D11)
ENCHIP_PUBack pad: reset input (10kΩ pull-up)

You rarely need the JTAG pads: OpenOCD debugging works over the USB cable through the built-in USB Serial/JTAG controller. The chip only switches JTAG to the pads after an eFuse change (EFUSE_DIS_USB_JTAG, or STRAP_JTAG_SEL plus the D2 strap), which is permanent, so most users never touch them. On the plain S3 you can use the four pads as extra GPIOs.

Note: Never reconfigure GPIO19/GPIO20 (as I2C, Serial2’s defaults, or plain GPIO): the USB port disappears from your PC until you recover the board with the BOOT button (arduino-esp32 #11283).


XIAO ESP32S3 Strapping and Boot Pins

The ESP32-S3 reads its strapping pins at reset. On the XIAO ESP32S3, only GPIO0 (the BOOT button) and D2 (GPIO3) are reachable; GPIO45 and GPIO46 aren’t brought out. In practice, D2 is a normal GPIO: the chip only reads it if the STRAP_JTAG_SEL eFuse has been burned.

PinGPIOStrapping RoleOn the Board
B buttonGPIO0HIGH = boot from flash, LOW = download mode10kΩ pull-up, BOOT button to GND
D2GPIO3JTAG source (only with the eFuse burned)Free edge pin
R button / EN padCHIP_PUReset (LOW = chip off)10kΩ pull-up + 1µF, RESET button to GND

XIAO ESP32S3 Bootloader Recovery Steps

If your XIAO ESP32S3 isn’t detected anymore, or the upload fails with “port not found” (a crashing sketch, deep sleep, TinyUSB code, or a sketch that touched GPIO19/20), use these steps:

  1. Press RESET once with the board connected. Many hangs end here.
  2. Force download mode: hold B (BOOT), plug in the USB cable (or press and release R), then release B. The board waits in the ROM bootloader with a new port.
  3. Upload a working sketch, then press RESET to run it.

Seeed also offers a UF2 bootloader for the XIAO ESP32S3 (on the wiki): after flashing it, press RESET and then BOOT quickly, and the board shows up as a USB drive you drag .uf2 files onto. Handy for batch flashing, but the normal Arduino upload doesn’t need it.

Note: The ROM download mode is inside the ESP32-S3 itself, so it can’t be erased: whatever your sketch did, BOOT + RESET always brings the board back.


XIAO ESP32S3 Sense Pinout

The XIAO ESP32S3 Sense is the same XIAO ESP32S3 board plus a plug-in expansion board on the B2B connector. The expansion board uses 14 GPIOs for the camera, 2 for the PDM microphone, and 4 for the microSD slot (D8–D10 + GPIO21). The 14 edge pins stay the same, and the Sense adds two pads, D11 (GPIO42) and D12 (GPIO41).

XIAO ESP32S3 Sense Camera Pins

The camera (OV2640 as standard; Seeed also sells OV3660 and OV5640 modules for the same 24-pin FPC) uses the ESP32-S3’s 8-bit DVP camera interface. Here is the pin map for camera_config_t in the esp32-camera driver:

Camera SignalGPIOCamera SignalGPIO
XCLK10Y2 (D0)15
PCLK13Y3 (D1)17
VSYNC38Y4 (D2)18
HREF47Y5 (D3)16
SIOD (SCCB SDA)40Y6 (D4)14
SIOC (SCCB SCL)39Y7 (D5)12
PWDN−1 (not wired)Y8 (D6)11
RESET−1 (not wired)Y9 (D7)48

Note: “Camera init failed” almost always means PSRAM is disabled: in the Arduino IDE set Tools > PSRAM > OPI PSRAM (Edge Impulse forum). Also set PWDN and RESET to −1, and make sure the Sense board is pressed fully onto the connector (it clicks).

XIAO ESP32S3 Sense Microphone and D11 / D12 Pins

The PDM microphone uses GPIO42 (CLK) and GPIO41 (DATA) through jumpers J1 and J2 on the Sense board. The same two GPIOs are the D11 and D12 pads. To use D11/D12 as GPIOs, cut J1 and J2 (you lose the microphone), as Seeed’s pin multiplexing wiki explains. They’re digital only (no ADC, no touch), and in the I2S library the microphone is i2s.setPinsPdmRx(42, 41).

XIAO ESP32S3 Sense microSD Card Pins

The microSD slot is wired in SPI mode: SCK D8 (GPIO7), MISO D9 (GPIO8), MOSI D10 (GPIO9) and CS GPIO21 (the user LED pin). Older Seeed drawings showed CS on D2; the current expansion board has both options, with the GPIO21 resistor fitted and the D2 one not (Seeed forum). Seeed supports cards up to 32GB, formatted FAT32.

Use SD.h, not SD_MMC: the slot’s DAT1/DAT2 lines aren’t connected, so SD_MMC (4-bit or 1-bit mode) fails (Seeed forum). See Seeed’s Sense file system wiki for more examples.

Note: The microSD slot sits on D8–D10, so it shares the SPI bus with anything you wire to those pins. Another SPI device works on the same bus with its own CS. To use D8–D10 for something else (PWM, a motor driver, I2S), cut J3 on the Sense board (it disconnects the SD pull-ups) and leave the card out.

XIAO ESP32S3 Sense Jumpers and B2B Connector

JumperConnectsCut It To
J1GPIO42 to the microphone CLKUse the D11 pad as a GPIO (no microphone)
J2GPIO41 to the microphone DATAUse the D12 pad as a GPIO (no microphone)
J3The microSD pull-ups (MISO, MOSI, CS)Free D8–D10 for other uses (no SD card)

The B2B connector carries VIN (3.7v–5v, after the power path) and 3.3v to the Sense board, rated 0.3A per pin (two pins each). To remove the Sense board, slide it off parallel to the connector; pulling it straight up or rocking it can bend or tear the connector off, Seeed warns.

Note: The camera makes the Sense hot: users report boards too hot to touch while streaming (Seeed forum), and the camera stream draws about 140mA on average (≈347mA peaks) at 5v. Seeed now ships heat sinks with the camera models and measured 63.6 °C dropping to 53.5 °C with the dual heat sinks. Stream at lower frame rates if you can, and give the board some airflow.


XIAO ESP32S3 On-Board Features

Besides the edge pins, the XIAO ESP32S3 has two buttons, two LEDs, a U.FL antenna connector, the B2B connector and pads on the back. Here’s what each one does.

PartPin / ConnectionWhat It Does
B (BOOT button)GPIO0 to GNDHold at reset for download mode; readable as a button in your sketch
R (RESET button)CHIP_PU (EN) to GNDResets the ESP32-S3
User LED (yellow)GPIO21, active LOWLED_BUILTIN; also the Sense microSD CS
Charge LED (red)SGM40567 NCHG pinBlinks while charging, off when full; not software-controllable
U.FL connectorESP32-S3 RF pinPlug in the supplied antenna before using Wi-Fi or BLE
B2B connector (J3)Camera, mic, SD GPIOs + powerTakes the Sense board (or other Seeed add-ons)
BAT+ / BAT− padsCharger and power path3.7v Li-ion/LiPo input
MTDO / MTDI / MTCK / MTMS padsGPIO40 / 41 / 39 / 42External JTAG (after an eFuse change) or extra GPIOs
EN, GND, D+ / D− padsCHIP_PU, ground, GPIO20 / GPIO19External reset; USB test pads

Once the board is running, the BOOT button is a free user button: pinMode(0, INPUT_PULLUP) and read it LOW when pressed.

Note: Weak or no Wi-Fi is almost always a missing or loose antenna: the XIAO ESP32S3 has no PCB antenna at all. Click the antenna’s U.FL plug straight down onto the connector until it snaps, and don’t pull on the thin cable.


Getting Started With XIAO ESP32S3

You can program the XIAO ESP32S3 with the Arduino IDE, MicroPython, CircuitPython, PlatformIO, ESPHome or Espressif’s ESP-IDF, all over the USB-C cable. No external programmer is needed.

  • Arduino IDE: in the Boards Manager, install “esp32” by Espressif Systems, then select XIAO_ESP32S3. For the Sense camera (or any sketch that uses PSRAM), set Tools > PSRAM > OPI PSRAM.
  • MicroPython / CircuitPython: flash the ESP32-S3 build and use GPIO numbers: Pin(1) is D0.
  • PlatformIO: board ID seeed_xiao_esp32s3, with the Arduino or ESP-IDF framework (enable PSRAM in the build flags for the camera).
  • ESP-IDF / ESPHome: target esp32s3, octal PSRAM, GPIO numbers everywhere.
Arduino Setting / NameDefaultNote
Tools > USB ModeUSB-OTG (TinyUSB)Switch to Hardware CDC and JTAG for OpenOCD debugging
Tools > USB CDC On BootEnabledSerial = USB-C
Tools > PSRAMDisabledSet OPI PSRAM for the camera and big buffers
Flash size / partitions8MB, default 8MB schemePick a larger app partition for camera or ML sketches
WireD4 (SDA), D5 (SCL)I2C0
SPID8 / D9 / D10, SS = D7Choose your own CS
LED_BUILTINGPIO21Active LOW

Since the XIAO ESP32S3 runs the ESP32 Arduino core, almost every ESP32 tutorial applies to it: just use the XIAO pin names, and remember it has Bluetooth LE only (no Classic Bluetooth serial). The PSRAM and the dual cores make it a good fit for camera streaming, audio, and running small machine-learning models on the Sense.

Learn more in our ESP32 WiFi Tutorial.


XIAO ESP32S3 Common Problems & Fixes

Why doesn’t Serial1 work on the TX/RX pins? Serial1 defaults to GPIO15/16, which aren’t on the edge. Use Serial1.begin(baud, SERIAL_8N1, D7, D6), or Serial0.

Why did my SPI device stop RX, or never respond? The core’s default SS is D7 (RX). Pass your own CS pin to SPI.begin() and to the library.

Why does the camera fail with “Camera init failed”? Enable OPI PSRAM, set PWDN/RESET to −1, and press the Sense board fully onto the connector.

Why doesn’t the SD card mount on the Sense? Use SD.begin(21) (CS = GPIO21), not SD_MMC, with a FAT32 card up to 32GB. Don’t use the user LED at the same time.

Why does my motor driver, TFT or PWM on D8–D10 misbehave on the Sense? The microSD slot shares those pins. Share the bus with separate CS pins, or cut J3 and remove the card.

Why did the USB port disappear? Something reconfigured GPIO19/20 (Serial2 defaults, I2C on those pins), or the sketch crashed or sleeps. Recover with BOOT + RESET.

Why is the Sense so hot? The camera streaming draws up to ~347mA. Fit the heat sink, lower the frame rate, and give it airflow.

How do I read the battery level? There’s no sense pin on the S3 or Sense: add a 2x 200kΩ divider from BAT+ to A0 and multiply by 2.

Why is the Wi-Fi range so poor? Plug in the U.FL antenna; there is no PCB antenna.

Why is deep sleep 3mA instead of 14µA? That’s the Sense with its expansion board attached. Remove the camera board for low-power builds.


XIAO ESP32S3 vs Sense vs Plus

Seeed sells three boards under the XIAO ESP32S3 name. The XIAO ESP32S3 and the Sense are the same board (the Sense adds the camera board), while the XIAO ESP32S3 Plus is a different PCB.

FeatureXIAO ESP32S3XIAO ESP32S3 SenseXIAO ESP32S3 Plus
SoCESP32-S3R8ESP32-S3R8ESP32-S3R8
Flash / PSRAM8MB / 8MB8MB / 8MB16MB / 8MB
Edge pinsD0–D10 (14 pins)D0–D10 (14 pins)D0–D10, same positions
Extra pinsJTAG pads on the backD11/D12 pads on the camera boardD11–D19 pads on the back
Camera / mic / microSDNoYes (plug-in board)No
B2B connectorYes (unused)Camera boardDifferent: fits the Wio-SX1262 LoRa board, not the camera
Battery voltage pinNoNoYes (ADC_BAT on GPIO10)
Deep sleep (Seeed)14µA3mA (with the camera board)33.5µA

Pick the XIAO ESP32S3 for small, battery-powered projects, the Sense for camera, audio or vision projects, and the Plus when you need more pins, 16MB flash or the LoRa add-on. Note that the Plus’s extra pads are not on our diagrams.

XIAO ESP32S3 vs Other XIAO ESP32 Boards and the Arduino Nano ESP32

FeatureXIAO ESP32S3XIAO ESP32C3XIAO ESP32C6Arduino Nano ESP32
SoCESP32-S3R8, 2x LX7 240MHzESP32-C3, RISC-V 160MHzESP32-C6, RISC-V 160MHz + LP coreESP32-S3R8 (u-blox NORA-W106)
PSRAM / flash8MB / 8MB– / 4MB– / 4MB8MB / 16MB
WirelessWi-Fi 4, BLE 5Wi-Fi 4, BLE 5Wi-Fi 6, BLE 5, Zigbee/ThreadWi-Fi 4, BLE 5
AntennaU.FL onlyU.FL onlyCeramic + U.FL (RF switch)PCB antenna
GPIO / analog11 / 9 (all ADC1)11 / 3 usable11 / 3 (+3 on back pads)24 / 8
USBOTG + Serial/JTAGSerial/JTAGSerial/JTAGOTG + Serial/JTAG
Battery chargerYesYesYesNo (VIN 6v–21v instead)
Size21 × 17.8mm21 × 17.8mm21 × 17.8mm45 × 18mm (Nano)

The three XIAO boards share the same footprint and D0–D10 positions, so you can swap them on a carrier PCB. The XIAO ESP32S3 is the one to pick for PSRAM-hungry work (camera, audio, displays, USB devices); the C3 for the lowest cost; the C6 for Wi-Fi 6 and Matter/Thread. The Arduino Nano ESP32 has the same ESP32-S3 with more pins, a PCB antenna and a 6v–21v VIN, but no battery charger.


XIAO ESP32S3 Pin Details

Here is every XIAO ESP32S3 pin in physical order, with its GPIO, main functions, all its IO MUX and analog functions, and a short description. With the USB-C connector at the top, pin 1 (D0) is the top-left pad, pins 1–7 run down the left edge, and pins 8–14 run up the right edge. The back pads and the Sense pads come last.

Click to expand the full pin table (23 pins)
PinLabelGPIOMain FunctionsAll Alternate Functions5v TolerantDescription
1D0 / A0GPIO1ADC1_CH0, T1RTC_GPIO1No (3.3v)Analog and touch input A0; a safe general pin that can wake the chip from deep sleep.
2D1 / A1GPIO2ADC1_CH1, T2RTC_GPIO2No (3.3v)Analog and touch input A1; a safe general pin.
3D2 / A2GPIO3ADC1_CH2, T3RTC_GPIO3, JTAG-source strapNo (3.3v)Analog and touch input A2; a strapping pin only if the JTAG eFuse is burned.
4D3 / A3GPIO4ADC1_CH3, T4RTC_GPIO4No (3.3v)Analog and touch input A3; a good CS pin for SPI devices.
5D4 / A4 / SDAGPIO5I2C SDA (Wire), ADC1_CH4, T5RTC_GPIO5No (3.3v)The default I2C data pin.
6D5 / A5 / SCLGPIO6I2C SCL (Wire), ADC1_CH5, T6RTC_GPIO6No (3.3v)The default I2C clock pin.
7D6 / TXGPIO43UART0 TX (Serial0)U0TXD, CLK_OUT1No (3.3v)UART0 transmit; boot messages toggle it at every reset. No analog, can’t wake from deep sleep.
8D7 / RXGPIO44UART0 RX (Serial0), SPI SS (default)U0RXD, CLK_OUT2No (3.3v)UART0 receive, and the core’s default SPI SS, so pick another CS pin.
9D8 / A8 / SCKGPIO7SPI SCK, ADC1_CH6, T7RTC_GPIO7No (3.3v)The SPI clock; on the Sense also the microSD SCK.
10D9 / A9 / MISOGPIO8SPI MISO, ADC1_CH7, T8RTC_GPIO8, SUBSPICS1No (3.3v)The SPI data-in pin; on the Sense also the microSD MISO.
11D10 / A10 / MOSIGPIO9SPI MOSI, ADC1_CH8, T9RTC_GPIO9, FSPIHD, SUBSPIHDNo (3.3v)The SPI data-out pin; on the Sense also the microSD MOSI.
123V3–3.3v output––SGM6029 buck output, 700mA (Seeed wiki) / Imax 600mA (schematic note).
13GND–Ground––Ground.
145V–USB VBUS––5v from the USB-C connector, 0v on battery; an input only through a diode.
backBAT+ / BAT−–Battery––3.7v Li-ion/LiPo cell (BAT− nearer USB-C), charged at 100mA (wiki) / ≈110mA (schematic).
backMTCKGPIO39JTAG TCKCLK_OUT3, SUBSPICS1No (3.3v)JTAG clock pad; on the Sense the camera SCCB SCL.
backMTDOGPIO40JTAG TDOCLK_OUT2No (3.3v)JTAG data-out pad; on the Sense the camera SCCB SDA.
backMTDIGPIO41JTAG TDICLK_OUT1No (3.3v)JTAG data-in pad; on the Sense the microphone DATA (D12).
backMTMSGPIO42JTAG TMS–No (3.3v)JTAG mode-select pad; on the Sense the microphone CLK (D11).
backD+ / D−GPIO20 / GPIO19USBUSB_D+, USB_D−No (3.3v)Native USB test pads; never reuse these GPIOs.
backENCHIP_PUReset––Pull LOW to reset the chip, like the R button.
SenseD11GPIO42Digital GPIOMTMSNo (3.3v)Free after cutting J1 (no microphone); no ADC or touch.
SenseD12GPIO41Digital GPIOMTDINo (3.3v)Free after cutting J2 (no microphone); no ADC or touch.

Wrap Up

To conclude this guide article, the XIAO ESP32S3 is a very solid board for small connected projects that need real memory. It gives you a dual-core 240MHz ESP32-S3 with 8MB of PSRAM and 8MB of flash, Wi-Fi, Bluetooth LE, native USB and a battery charger on a board the size of your thumbnail, and the Sense version adds a camera, a microphone, and a microSD slot. Just remember the board-level gotchas: every pin is 3.3v only, the default SPI SS is the RX pin, Serial1 needs its pins, PSRAM is off by default, GPIO19/20 belong to USB, and the Sense SD card shares D8–D10.

I hope you’ve found this guide helpful in deciding which pins to use for your project. For more boards, check out the Pinouts, Datasheets & Schematic Diagrams Library. Follow this ESP32 Series of Tutorials to learn more about programming ESP32 boards with the Arduino core.

If you’re just getting started with ESP32, you need to check out the ESP32 Getting Started Ultimate Guide below.

Getting Started With ESP32 Programming Tutorials

The complete beginner’s guide to ESP32 programming with the Arduino IDE: installing the core, your first project, and the ESP32 tutorials series step by step.

Share This Page With Your Network!
Join Our +25,000 Newsletter Subscribers!

Stay Updated With All New Content Releases. You Also Get Occasional FREE Coupon Codes For Courses & Other Stuff!

Photo of author
Author
Embedded systems engineer with several years of experience in embedded software and hardware design. I work as an embedded SW engineer in the Automotive & e-Mobility industry. However, I still do Hardware design and SW development for DSP, Control Systems, Robotics, AI/ML, and other fields I'm passionate about.
I love reading, writing, creating projects, and teaching. A reader by day and a writer by night, it's my lifestyle. I believe that the combination of brilliant minds, bold ideas, and a complete disregard for what is possible, can and will change the world! I will be there when it happens, will you?

Leave a Comment