Adafruit Feather ESP32-S2

ESP32-S2 Feather board with USB-C and STEMMA QT - ideal for secure, battery-powered IoT projects.

USB-C Native USB
Adafruit Feather ESP32-S2 board
52.4 × 22.8 mm
ESP32-S2
MCU
240MHz
clock
4MB
flash
320KB
SRAM
25· 6 ADC
GPIO
Wi-Fi
radio
On this page

Adafruit Feather ESP32-S2 Pinout

25 pins · 2.54 mm pitch
Adafruit Feather ESP32-S2 pinout diagram
PinGPIOLabelsStatusCapabilitiesNotes
11NEOPIXEL_NUMPWMsafe-
23SDAPWMsafei2c
34SCLPWMsafei2c
45T5PWMsafetouch
56T6PWMsafetouch
67I2C_POWERPIN_I2C_POWERPWMsafe-
78A5T8PWMsafeadc · touch
89T9PWMstrappingtouch
910T10PWMstrappingtouch
1011T11PWMstrappingtouch
1112T12PWMstrappingtouch
1213LED_BUILTINT13PWMstrappingtouch
1314A4T14PWMstrappingadc · touch
1415A3PWMstrappingadc
1516A2PWMstrappingadc
1617A1DAC1PWMsafeadc · dac
1718A0DAC2PWMsafeadc · dac
1821NEOPIXEL_POWERPWMsafe-
1933PIN_NEOPIXELPWMstrapping-
2035MOSIPWMstrappingspi
2136SCKPWMstrappingspi
2237MISOPWMstrappingspi
2338RXPWMuartuart
2439TXPWMstrappinguart
2542SSPWMstrappingspi
25 GPIOs broken out 11 free · 10 need care · 4 to avoid

Start with these

11 pins with no boot or system involvement
NEOPIXEL_NUMGPIO1SDAGPIO3SCLGPIO4T5GPIO5T6GPIO6I2C_POWERGPIO7A5GPIO8A1GPIO17A0GPIO18NEOPIXEL_POWERGPIO21RXGPIO38

Freely assignable - no strapping, flash, USB or JTAG duties. Ideal first picks for buttons, sensors and LEDs.

Fine - with a little care

10 pins · 5 things to know
T9GPIO9T10GPIO10T11GPIO11T12GPIO12LED_BUILTINGPIO13A4GPIO14 General-purpose SPI2 (FSPI) IO MUX pins Other

IO MUX pin of the general-purpose SPI2 (FSPI) bus, not of the in-package flash - that sits on GPIO26-32. The datasheet does not restrict it, so it is only taken if your board wires flash, an SD card or a display to FSPI.

  • T9General-purpose SPI2 (FSPI) IO MUX pin - hold/data line (FSPIHD)
  • T10General-purpose SPI2 (FSPI) IO MUX pin - chip select (FSPICS0)
  • T11General-purpose SPI2 (FSPI) IO MUX pin - data in (FSPID)
  • T12General-purpose SPI2 (FSPI) IO MUX pin - clock (FSPICLK)
  • LED_BUILTINGeneral-purpose SPI2 (FSPI) IO MUX pin - data out (FSPIQ)
  • A4General-purpose SPI2 (FSPI) IO MUX pin - write-protect/data line (FSPIWP)
A3GPIO15 32.768 kHz RTC crystal oscillator positive input (XTAL_32K_P); also functions as GPIO15 (U0RTS, ADC2_CH4). Other

If an external 32 kHz crystal is used for RTC, this pin is dedicated to the crystal and cannot be used as GPIO.

A2GPIO16 32.768 kHz RTC crystal negative input (XTAL_32K_N); also GPIO16 (U0CTS, ADC2_CH5). Other

If using an external 32 kHz crystal, this pin is connected to the crystal and should not be used as general I/O.

TXGPIO39 JTAG test clock pin (MTCK); also usable as GPIO39 or as a clock output (CLK_OUT3). JTAG

Used for JTAG debugging interface; using this pin for other purposes will disable JTAG clock input.

SSGPIO42 JTAG test mode select pin (MTMS); also GPIO42. JTAG

JTAG TMS pin; should not be repurposed if JTAG debugging or programming via JTAG is required.

Only if you know the tricks

4 pins · 1 thing to know
PIN_NEOPIXELGPIO33MOSIGPIO35SCKGPIO36MISOGPIO37 Octal (8-line) flash/PSRAM data and strobe lines; free unless the chip runs its flash/PSRAM in 8-line mode Flash

The datasheet keeps GPIO33-37 for "the higher 4 bits data line interface and DQS interface for the SPI0/1 interface in 8-line SPI mode, and can be GPIO pins if the chip is not connected to flash or PSRAM in 8-line SPI mode". Quad-SPI parts leave it free.

  • PIN_NEOPIXELOctal (8-line) flash/PSRAM data line DQ4; free unless the chip runs its flash/PSRAM in 8-line mode
  • MOSIOctal (8-line) flash/PSRAM data line DQ6; free unless the chip runs its flash/PSRAM in 8-line mode
  • SCKOctal (8-line) flash/PSRAM data line DQ7; free unless the chip runs its flash/PSRAM in 8-line mode
  • MISOOctal (8-line) flash/PSRAM data strobe DQS/DM; free unless the chip runs its flash/PSRAM in 8-line mode
These are recommendations, not hard rules - with the right pull-ups, timing and boot-state awareness most pins can be made to work. When in doubt, start green.

All 25 pins on the Adafruit Feather ESP32-S2 are usable GPIO, spaced at the standard 2.54 mm pitch.

Peripheral wiring is straightforward: I²C is mapped to SDA on GPIO3 and SCL on GPIO4; the SPI bus (MOSI, MISO, SCK, SS) is broken out in full; TX/RX on GPIO39 and GPIO38 cover serial logging and flashing.

Beyond plain digital I/O you get 6 ADC-capable pins for sensors and battery monitoring, 9 capacitive-touch inputs and 2 true DAC outputs.

10 of the exposed pins carry boot-time or system duties on the ESP32-S2 (T9, T10, T11 and 7 more) - check the guidance above before wiring anything to them. NEOPIXEL_NUM, SDA, SCL, T5 and 7 more are free of any such role - the safest first picks.

Getting started

flash your first firmware in ~2 minutes
Tool:
1
Connect over USB
Native USB - shows up as a port right away, no driver needed. Not detected? Hold BOOT while plugging in.
2
Match & flash
Set the Tools options shown, then click Upload.
3
Verify it runs
GPIO1 toggles - wire an LED and resistor to it, or change the pin to your board's own LED.
Set these in Tools · leave everything else at default
Arduino IDE 2.x - Tools Copy
Board: "ESP32S2 Dev Module"
USB CDC On Boot: "Enabled"
Flash Size: "4MB (32Mb)"
Flash Mode: "DIO"
PSRAM: "QSPI PSRAM"
Partition Scheme: "Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS)" (default)
Upload Speed: "921600"
▸ every other Tools option - leave at default
Board: ESP32S2 Dev Module
USB CDC On Boot: Enabled
Flash Size: 4MB (32Mb)
Flash Mode: DIO
PSRAM: QSPI PSRAM
Partition Scheme: Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS)
Upload Speed: 921600
Find it: Tools ▸ Board ▸ ESP32 Arduino ▸ ESP32S2 Dev Module
blink.ino Copy
// toggle GPIO1 - wire an LED and resistor to it
void setup() {
  pinMode(1, OUTPUT);
}
void loop() {
  digitalWrite(1, HIGH); delay(500);
  digitalWrite(1, LOW);  delay(500);
}
board to selectesp32-s2-saola-1⧉ copy
platformio.ini Copy
[env:adafruit_feather_esp32s2]
platform = espressif32
board = esp32-s2-saola-1
framework = arduino
monitor_speed = 115200
upload_speed = 921600
board_build.arduino.memory_type = qio_qspi
build_flags = -DBOARD_HAS_PSRAM
Find it: PlatformIO Home ▸ Boards, search esp32-s2-saola-1 - or type it after board =.
board to selectesp32-s2-saola-1⧉ copy
device.yaml Copy
esp32:
  board: esp32-s2-saola-1
  variant: esp32s2
  framework:
    type: esp-idf
psram:
  mode: quad
  speed: 80MHz

# blink - GPIO1
output:
  - platform: gpio
    pin: 1
    id: led_out
light:
  - platform: binary
    name: "LED"
    output: led_out
Find it: search ESPHome's board list for esp32-s2-saola-1 (same ids as PlatformIO).
esptool doesn't pick board settings - a prebuilt .bin already has them baked in. This is just the raw flash command.
terminal Copy
esptool.py --chip esp32s2 --port /dev/ttyACM0 \
  --baud 921600 write_flash 0x1000 firmware.bin
--port = your /dev/tty* (macOS/Linux) or COMx (Windows).
Build details: sketch space 1310720 B · data 327680 B · DIO

Specifications

ESP32-S2 · 52.4 × 22.8 mm · vs other ESP32 chips →
Compute
MCU
ESP32-S2
Clock
240 MHz
SRAM · Flash
320 KB · 4MB · 2MB (QSPI) PSRAM
Radio
Wi-Fi
802.11 b/g/n 2.4 GHz
Bluetooth
-
Antenna
PCB
I/O
GPIO · ADC
25 · 6
UART · I²C · SPI
2 · 2 · 2
PWM
8 channels
Power
USB
USB-C
Serial
Native (CDC)
Boot address
0x1000
Electrical
Input
5V USB · 3.7V LiPo
Consumption
~80µA sleep
Regulator
AP2112K-3.3
Flashing
Upload · OTA
esptool_py · esp_ota
Flash · Boot mode
DIO · QIO
Sketch · Data
1.25 MB · 320 KB

Dimensions

22.8 mm52.4 mm
52.4 × 22.8 mm · pin pitch 2.54 mm
The Adafruit Feather ESP32-S2 uses esptool_py for firmware uploads, esp_ota for over-the-air (OTA) updates. Flash mode is DIO with QIO boot mode. The maximum sketch size is 1.25 MB with 320 KB available for data.

About this board

Inside sits the ESP32-S2 - a single-core Xtensa with native USB-OTG and no Bluetooth.

The $17.50 price tag is typical for an ESP32-S2 board.

Around the module: 2MB (QSPI) PSRAM, a STEMMA QT connector, an addressable RGB LED (GPIO33), a battery fuel gauge (MAX17048), battery charging (MCP73831) via JST-PH 2.0, status LEDs (On, Charge, User (D13)) and Reset/DFU (BOOT0) buttons.

It flashes over native USB - no serial-converter driver needed, which isn't a given among ESP32-S2 boards.

  • Also sold in a u.FL external-antenna variant
  • Early units shipped with an LC709203F fuel gauge instead of the MAX17048

Where to buy

prices are typical street prices
Adafruit Feather ESP32-S2
Adafruit Feather ESP32-S2
$17.50per unit, typical

Resources

Similar boards