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

Pinout

25 pins · 2.54 mm pitch
View:
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
2338RXPWMstrappinguart
2439TXPWMstrappinguart
2542SSPWMstrappingspi

Start with these

10 pins with no boot or system involvement
NEOPIXEL_NUMPWMSDAPWMSCLPWMT5PWMT6PWMI2C_POWERPIN_I2C_POWERA5T8A1DAC1A0DAC2NEOPIXEL_POWERPWM

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

Fine - with a little care

sampled at boot or shared with debug/serial
PinLabelWhat to knowRole
A3XTAL_32K_PIf an external 32 kHz crystal is used for RTC, this pin is dedicated to the crystal and cannot be used as GPIO.Other
A2XTAL_32K_NIf using an external 32 kHz crystal, this pin is connected to the crystal and should not be used as general I/O.Other
TXMTCKUsed for JTAG debugging interface; using this pin for other purposes will disable JTAG clock input.Other
SSMTMSJTAG TMS pin; should not be repurposed if JTAG debugging or programming via JTAG is required.Other

Only if you know the tricks

wired to flash or USB - expect a fight
PinLabelWhat to knowRole
T9FSPIHDTypically used as flash/PSRAM IO line in certain configurations; avoid using as GPIO if flash or PSRAM is present.Flash
T10FSPICS0Often used as flash chip select in some designs; not available for GPIO when controlling flash.Flash
T11FSPIDUsed for flash data transfer in certain configurations; should be avoided for general use if flash is connected.Flash
T12FSPICLKUsed as flash clock line in some boards; not free for GPIO if driving flash.Flash
LED_BUILTINFSPIQUsed for flash data output in certain configurations; avoid using as GPIO if connected to flash.Flash
A4FSPIWPUsed as flash write-protect/data line on some modules; not recommended for other usage.Flash
PIN_NEOPIXELSPIHDConnected to SPI flash (hold/data line); not available for general-purpose use.Flash
MOSIFSPIDUsed by internal flash/PSRAM on some ESP32-S2 variants; avoid using as GPIO to prevent conflicts.Flash
SCKFSPICLKMay be connected to internal flash or used for high-speed SPI; not intended for general GPIO use.Flash
MISOFSPIQUsed for internal flash/PSRAM data in some models; should not be repurposed for GPIO.Flash
RXFSPIWPReserved for flash/PSRAM in ESP32-S2 modules with internal memory; not recommended for general I/O.Flash
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.
Pinout notes 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…

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.

4 of the exposed pins carry boot-time or system duties on the ESP32-S2 (A3, A2, TX and 1 more) - check the guidance above before wiring anything to them. NEOPIXEL_NUM, SDA, SCL, T5 and 6 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 - no driver, no serial chip. Not detected? Hold BOOT while plugging in.
2
Flash with your tool
Arduino IDE, PlatformIO, ESPHome or esptool - copy the settings on the right.
3
Verify it runs
The blink example uses GPIO1 - swap for your board's LED pin if different.
Tools → Board settings Copy
Board:            Adafruit Feather Esp32s2
USB CDC On Boot:  Enabled
Flash Size:       4MB · DIO
Upload Speed:     921600

// blink
pinMode(1, OUTPUT);
digitalWrite(1, LOW);   // on (often inverted)
platformio.ini Copy
[env:adafruit_feather_esp32s2]
platform = espressif32
board = esp32-s2-saola-1
framework = arduino
monitor_speed = 115200
upload_speed = 921600
device.yaml Copy
esp32:
  board: esp32-s2-saola-1
  variant: adafruit_feather_esp32s2
  framework:
    type: esp-idf

# blink - GPIO1
output:
  - platform: gpio
    pin: 1
    id: led_out
light:
  - platform: binary
    name: "LED"
    output: led_out
shell Copy
esptool.py --chip esp32s2 --port /dev/ttyACM0 \
  write_flash 0x0 firmware.bin
Build details: sketch space 1310720 B · data 327680 B · DIO

Specifications

ESP32-S2 · 52.4 × 22.8 mm
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 · 1 · 4
PWM
8 channels
Power
USB
USB-C
Serial
Native (CDC)
Boot address
0x1000
Flashing
Upload · OTA
esptool_py · esp_ota
Flash · Boot mode
DIO · QIO
Sketch · Data
1.25 MB · 320 KB
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