
Adafruit Metro ESP32-S2 is a development board based on the ESP32S2 microcontroller using XTENSA architecture.
This board features a maximum CPU frequency of 240 MHz and 4MB flash memory.
About Adafruit Metro ESP32-S2
Full-size ESP32-S2 dev board with USB-C and STEMMA QT - great for breadboarding and secure applications.
Technical Specifications
Complete technical specification details for Adafruit Metro ESP32-S2
Connectivity
Microcontroller
✨ Features & Pins
Quick Setup
Copy-paste configs for Adafruit Metro ESP32-S2 - auto‑generated from this board's exact hardware specs.
In Arduino IDE 2 select Metro Esp32s2 from the esp32 by Espressif package. In PlatformIO use board = esp32-s2-saola-1. ESP32S2 · 240 MHz · 4MB · DIO.
In Arduino IDE 2, open Boards Manager, search "esp32" by Espressif and install it. Then go to Tools → Board and select "Metro Esp32s2" for the Adafruit Metro ESP32-S2.
[env:adafruit_metro_esp32s2]
platform = espressif32
board = esp32-s2-saola-1
framework = arduino
; Exact hardware config for Adafruit Metro ESP32-S2
board_build.mcu = esp32s2
board_build.f_cpu = 240000000L
board_build.flash_size = 4MB
board_build.flash_mode = dio
board_upload.flash_size = 4MBThe board value is a close generic match - check PlatformIO board registry for an exact fit.
esp32:
board: esp32-s2-saola-1
framework:
type: arduino # or "esp-idf"
# Adafruit Metro ESP32-S2 - 240 MHz ESP32S2
# Flash: 4MB | USB: N/APaste into your device's .yaml. See ESPHome ESP32 docs for full options.
esptool.py \
--chip esp32s2 \
--baud 921600 \
write_flash \
--flash_mode dio \
--flash_size 4MB \
0x1000 bootloader.bin \
0x8000 partitions.bin \
0xe000 boot_app0.bin \
0x10000 firmware.binInstall: pip install esptool - replace firmware.bin with your binary - bootloader at 0x1000
Useful Links
Datasheets and resources for Adafruit Metro ESP32-S2
Pin Mappings
Complete pinout and GPIO mapping for Adafruit Metro ESP32-S2
| Pin | Analog | Touch | PWM | Other |
|---|---|---|---|---|
| 0 | ||||
| 1 | A2 | T1 | PWM | NEOPIXEL_NUM |
| 2 | A3 | T2 | PWM | |
| 3 | A4 | T3 | PWM | |
| 4 | A5 | T4 | PWM | |
| 5 | A6 | T5 | PWM | TX |
| 6 | A7 | T6 | PWM | RX |
| 7 | A8 | T7 | PWM | |
| 8 | A9 | T8 | PWM | |
| 9 | A10 | T9 | PWM | |
| 10 | A11 | T10 | PWM | |
| 11 | A12 | T11 | PWM | |
| 12 | A13 | T12 | PWM | |
| 13 | A14 | T13 | PWM | |
| 14 | A15 | T14 | PWM | |
| 15 | A16 | PWM | ||
| 16 | A17 | PWM | ||
| 17 | A0 | PWM | DAC1 | |
| 18 | A1 | PWM | DAC2 | |
| 19 | A18 | PWM | ||
| 20 | A19 | PWM | ||
| 33 | PWM | SDA | ||
| 34 | PWM | SCL | ||
| 35 | PWM | MOSI | ||
| 36 | PWM | SCK | ||
| 37 | PWM | MISO | ||
| 42 | PWM | LED_BUILTIN SS | ||
| 45 | PWM |
Default Tools & Configuration
Build and upload settings for Adafruit Metro ESP32-S2
| Setting | Value |
|---|---|
| Bootloader tool | esptool_py |
| Uploader tool | esptool_py |
| Network uploader tool | esp_ota |
| Bootloader address | 0x1000 |
| Flash mode | dio |
| Boot mode | qio |
| Maximum upload size | 1280 KB (1310720 bytes) |
| Maximum data size | 320 KB (327680 bytes) |
The Adafruit Metro ESP32-S2 uses esptool_py for uploads , esp_ota for OTA updates, and esptool_py bootloader at 0x1000.
Flash mode: dio | Boot mode: qio
Max sketch size: 1280 KB | Max data size: 320 KB
Similar Boards
Other development boards with ESP32S2 microcontroller

Adafruit MagTag 2.9"
Adafruit MagTag 2.9" development board is based on esp32s2 microcontroller and uses xtensa architecture.

Adafruit ESP32 Feather
Adafruit ESP32 Feather development board is based on esp32 microcontroller and uses xtensa architecture.

Adafruit Feather ESP32-S2
Adafruit Feather ESP32-S2 development board is based on esp32s2 microcontroller and uses xtensa architecture.
