Adafruit QT Py ESP32-S2 image

Adafruit QT Py ESP32-S2

Development Board

Code name: ADAFRUIT_QTPY_ESP32S2

Adafruit QT Py 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 QT Py ESP32-S2

Tiny ESP32-S2 board with STEMMA QT and USB-C - ideal for compact, plug-and-play IoT applications.

Technical Specifications

Complete technical specification details for Adafruit QT Py ESP32-S2

Connectivity

WiFi 802.11 b/g/n 2.4 GHz
Bluetooth -
BLE -

Microcontroller

Model esp32s2
Clock Speed 240 MHz
Flash Size 4MB
Architecture xtensa

Features & Pins

Digital IO 48
Analog Input 20
PWM 17
Interrupts 46

Quick Setup

Copy-paste configs for Adafruit QT Py ESP32-S2 - auto‑generated from this board's exact hardware specs.

ESP32S2 240 MHz 4MB DIO Xtensa

In Arduino IDE 2 select Adafruit Qtpy Esp32s2 from the esp32 by Espressif package. In PlatformIO use board = esp32-s2-saola-1. ESP32S2 · 240 MHz · 4MB · DIO.

Tools menu settings
Board (select in Arduino IDE) Adafruit Qtpy Esp32s2
CPU Frequency 240 MHz
Flash Size 4MB
Flash Mode DIO
Upload Speed 921600
Architecture Xtensa

In Arduino IDE 2, open Boards Manager, search "esp32" by Espressif and install it. Then go to Tools → Board and select "Adafruit Qtpy Esp32s2" for the Adafruit QT Py ESP32-S2.

Adafruit QT Py ESP32-S2 Pinout Diagram

Complete pin reference for Adafruit QT Py ESP32-S2

Adafruit QT Py ESP32-S2 pinout diagram

Useful Links

Datasheets and resources for Adafruit QT Py ESP32-S2

Pin Mappings

Complete pinout and GPIO mapping for Adafruit QT Py ESP32-S2

48
Digital I/O Pins
46
Interrupt Pins
20
Analog Inputs
17
PWM Pins
PinAnalogTouchPWMOther
1PWMNEOPIXEL_NUM WIRE1_PIN_DEFINED
5A6T5PWMTX
6A5T6PWMSCL
7A4T7PWMSDA
8A3T8PWM
9A2T9PWM
16A7PWMRX
17A1PWMDAC1
18A0PWMDAC2
35PWMMOSI
36PWMSCK
37PWMMISO
38PWMNEOPIXEL_POWER
39PWM
40PWMSCL1
41PWMSDA1
42PWMSS
Legend
A0 Analog input
T0 Touch sensor
PWM PWM capable
RX/TX Serial pins
LED Built-in LED
# Pin number

Default Tools & Configuration

Build and upload settings for Adafruit QT Py ESP32-S2

SettingValue
Bootloader toolesptool_py
Uploader toolesptool_py
Network uploader toolesp_ota
Bootloader address0x1000
Flash modedio
Boot modeqio
Maximum upload size
1280 KB (1310720 bytes)
Maximum data size
320 KB (327680 bytes)
Configuration Summary

The Adafruit QT Py 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