SparkFun ESP32-S2 Thing Plus
by SparkFun
Feather-compatible ESP32-S2 board with USB and LiPo - ideal for secure IoT and hardware prototyping.

On this page
SparkFun ESP32-S2 Thing Plus Pinout
28 pins · 2.54 mm pitch| Pin | GPIO | Labels | Status | Capabilities | Notes |
|---|---|---|---|---|---|
| 1 | 1 | SDAT1PWM | safe | touch · i2c | |
| 2 | 2 | SCLT2PWM | safe | touch · i2c | |
| 3 | 3 | T3PWM | safe | touch | |
| 4 | 4 | T4PWM | safe | touch | |
| 5 | 5 | A5T5PWM | safe | adc · touch | |
| 6 | 6 | T6PWM | safe | touch | |
| 7 | 7 | A4A6T7PWM | safe | adc · touch | |
| 8 | 8 | A7T8PWM | safe | adc · touch | |
| 9 | 9 | A3A8T9PWM | strapping | adc · touch | |
| 10 | 10 | A9T10PWM | strapping | adc · touch | |
| 11 | 11 | A10T11PWM | strapping | adc · touch | |
| 12 | 12 | A11T12PWM | strapping | adc · touch | |
| 13 | 13 | LED_BUILTINA12T13PWM | strapping | adc · touch | |
| 14 | 14 | A2A13T14PWM | strapping | adc · touch | |
| 15 | 15 | A14PWM | strapping | adc | |
| 16 | 16 | A15PWM | strapping | adc | |
| 17 | 17 | A0A16DAC1PWM | safe | adc · dac | |
| 18 | 18 | A1A17DAC2PWM | safe | adc · dac | |
| 19 | 19 | A18PWM | uart | adc | |
| 20 | 20 | A19PWM | uart | adc | |
| 21 | 33 | RX1PWM | safe | - | |
| 22 | 34 | TX1PWM | safe | - | |
| 23 | 35 | MOSIPWM | safe | spi | |
| 24 | 36 | SCKPWM | safe | spi | |
| 25 | 37 | MISOPWM | safe | spi | |
| 26 | 42 | SSPWM | strapping | spi | |
| 27 | 43 | TXPWM | uart | uart | |
| 28 | 44 | RXPWM | uart | uart |
Start with these
17 pins with no boot or system involvementFreely assignable - no strapping, flash, USB or JTAG duties. Ideal first picks for buttons, sensors and LEDs.
Fine - with a little care
9 pins · 4 things to knowA3GPIO9A9GPIO10A10GPIO11A11GPIO12LED_BUILTINGPIO13A2GPIO14 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.
- A3General-purpose SPI2 (FSPI) IO MUX pin - hold/data line (FSPIHD)
- A9General-purpose SPI2 (FSPI) IO MUX pin - chip select (FSPICS0)
- A10General-purpose SPI2 (FSPI) IO MUX pin - data in (FSPID)
- A11General-purpose SPI2 (FSPI) IO MUX pin - clock (FSPICLK)
- LED_BUILTINGeneral-purpose SPI2 (FSPI) IO MUX pin - data out (FSPIQ)
- A2General-purpose SPI2 (FSPI) IO MUX pin - write-protect/data line (FSPIWP)
A14GPIO15 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.
A15GPIO16 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.
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
2 pins · 2 things to knowA18GPIO19 USB OTG D- line (full-speed USB data -); also available as GPIO19/RTC_GPIO19 and ADC2 channel 8. USB
Used for USB communication; using this pin as general GPIO can interfere with USB functionality.
A19GPIO20 USB OTG D+ line (full-speed USB data +); also serves as GPIO20/RTC_GPIO20 and ADC2 channel 9. USB
Dedicated to USB interface; repurposing as GPIO may disrupt USB connectivity.
All 28 pins on the SparkFun ESP32-S2 Thing Plus are usable GPIO, spaced at the standard 2.54 mm pitch.
Peripheral wiring is straightforward: I²C is mapped to SDA on GPIO1 and SCL on GPIO2; the SPI bus (MOSI, MISO, SCK, SS) is broken out in full; TX/RX on GPIO43 and GPIO44 cover serial logging and flashing.
Beyond plain digital I/O you get 15 ADC-capable pins for sensors and battery monitoring, 14 capacitive-touch inputs and 2 true DAC outputs.
9 of the exposed pins carry boot-time or system duties on the ESP32-S2 (A3, A9, A10 and 6 more) - check the guidance above before wiring anything to them. SDA, SCL, T3, T4 and 13 more are free of any such role - the safest first picks.
Getting started
flash your first firmware in ~2 minutesBoard: ESP32S2 Dev Module Flash Size: 4MB (32Mb) Flash Mode: QIO Partition Scheme: Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS) Upload Speed: 921600
// 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);
}[env:sparkfun_esp32s2_thing_plus]
platform = espressif32
board = esp32-s2-saola-1
framework = arduino
monitor_speed = 115200
upload_speed = 921600esp32-s2-saola-1 - or type it after board =.esp32:
board: esp32-s2-saola-1
variant: esp32s2
framework:
type: esp-idf
# blink - GPIO1
output:
- platform: gpio
pin: 1
id: led_out
light:
- platform: binary
name: "LED"
output: led_outesp32-s2-saola-1 (same ids as PlatformIO).esptool.py --chip esp32s2 --port /dev/ttyACM0 \
--baud 921600 write_flash 0x1000 firmware.bin--port = your /dev/tty* (macOS/Linux) or COMx (Windows).Specifications
ESP32-S2 · 64.8 × 22.9 mm · vs other ESP32 chips →Dimensions
About this board
Inside sits the ESP32-S2 - a single-core Xtensa with native USB-OTG and no Bluetooth.
At $24.50 it's on the expensive side for an ESP32-S2 board - most land around $20.
Around the module: a Qwiic connector, battery charging (MCP73831) via JST-PH 2.0, status LEDs (Status (IO18), Charge) and Reset/Boot (IO0) buttons.
Where to buy
prices are typical street prices
Resources
Similar boards



