Adafruit QT Py ESP32

Ultra-compact ESP32 board with STEMMA QT - perfect for plug-and-play sensor projects and tight-space builds.

USB-C
Adafruit QT Py ESP32 board
22 × 17.9 mm
ESP32
MCU
240MHz
clock
8MB
flash
520KB
SRAM
17· 11 ADC
GPIO
BLE 4.2+ WiFi
radio
On this page

Pinout

17 pins · 2.54 mm pitch
View:
Adafruit QT Py ESP32 pinout diagram
PinGPIOLabelsStatusCapabilitiesNotes
10BUTTONstrapping-
21WIRE1_PIN_DEFINEDPWMuart-
34SDAA4T0PWMstrappingadc · touch · i2c
45PIN_NEOPIXELPWMstrapping-
57RXRX1A7PWMstrappingadc · uart
68NEOPIXEL_POWERPWMstrapping-
712MISOA9T5PWMstrappingadc · touch · spi
813MOSIA10T4PWMstrappingadc · touch · spi
914SCKA8T6PWMstrappingadc · touch · spi
1015A3T3PWMstrappingadc · touch
1119SCL1PWMsafe-
1222SDA1PWMsafe-
1325A1DAC1PWMsafeadc · dac
1426A0DAC2PWMsafeadc · dac
1527SSA2T7PWMsafeadc · touch · spi
1632TXTX1A6T9PWMuartadc · touch · uart
1733SCLA5T8PWMsafeadc · touch · i2c

Start with these

7 pins with no boot or system involvement
SCL1PWMSDA1PWMA1DAC1A0DAC2SSA2TXTX1SCLA5

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
BUTTONGPIO0Must be HIGH during boot for normal startup; if held LOW on reset, forces flash programming mode.Strapping
SDAGPIO4Sampled at reset for boot config; should not be driven at boot (affects boot mode timing).Strapping
PIN_NEOPIXELGPIO5Must be HIGH during boot; if pulled LOW at reset, alters SDIO slave timing and may prevent normal boot.Strapping
MISOMTDI (GPIO12)Keep LOW during boot (internal PD); pulling HIGH at reset selects 1.8V flash mode, causing flash brownout if 3.3V flash is used.Strapping
MOSIMTCK (GPIO13)Used for JTAG debugging (TCK); avoid using as GPIO if JTAG is needed.Other
SCKMTMS (GPIO14)Used for JTAG debugging (TMS); driving it as GPIO may interfere with JTAG or produce spurious signals at boot.Other
A3MTDO (GPIO15)Keep HIGH during boot (internal PU); if LOW on reset, bootloader log is silenced and boot mode may change.Strapping

Only if you know the tricks

wired to flash or USB - expect a fight
PinLabelWhat to knowRole
WIRE1_PIN_DEFINEDU0TXD (GPIO1)Connected to on-board USB-UART for uploading and logs; drives serial output at boot, so using as GPIO can disrupt programming or console.USB
RXGPIO7 (Flash SD0)Used for internal flash/PSRAM data; not available for general GPIO.Flash
NEOPIXEL_POWERGPIO8 (Flash SD1)Used for internal flash/PSRAM data; not available for general GPIO.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 17 pins on the Adafruit QT Py ESP32 are usable GPIO, spaced at the standard 2.54 mm pitch. Peripheral wiring is straightforward: I²C is mapped to SDA on…

All 17 pins on the Adafruit QT Py ESP32 are usable GPIO, spaced at the standard 2.54 mm pitch.

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

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

7 of the exposed pins carry boot-time or system duties on the ESP32 (BUTTON, SDA, PIN_NEOPIXEL and 4 more) - check the guidance above before wiring anything to them. SCL1, SDA1, A1, A0 and 3 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
Serial chip: CH9102F. 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 GPIO19 - swap for your board's LED pin if different.
Tools → Board settings Copy
Board:            Adafruit Qtpy Esp32 Pico
Flash Size:       8MB · DIO
Upload Speed:     921600

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

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

Specifications

ESP32 · 22 × 17.9 mm
Compute
MCU
ESP32
Clock
240 MHz
SRAM · Flash
520 KB · 8MB · 2MB (QSPI) PSRAM
Radio
Wi-Fi
802.11 b/g/n
Bluetooth
4.2 LE
Antenna
PCB
I/O
GPIO · ADC
17 · 11
UART · I²C · SPI
3 · 2 · 4
PWM
16 channels
Power
USB
USB-C
Serial
CH9102F
Boot address
0x1000
Flashing
Upload · OTA
esptool_py · esp_ota
Flash · Boot mode
DIO · DIO
Sketch · Data
1.25 MB · 320 KB
17.9 mm22 mm
22 × 17.9 mm · pin pitch 2.54 mm
The Adafruit QT Py ESP32 uses esptool_py for firmware uploads, esp_ota for over-the-air (OTA) updates. Flash mode is DIO with DIO boot mode. The maximum sketch size is 1.25 MB with 320 KB available for data.

About this board

At 22 × 17.9 mm it's among the smallest boards in the whole ESP32 family.

Inside sits the ESP32 - a dual-core Xtensa with both Bluetooth Classic and BLE.

At $14.95 it's cheaper than most ESP32 boards, which usually run around $20.

The small footprint costs pins: 17 GPIO are broken out, versus 24 or so on a full-size board.

Around the module: 2MB (QSPI) PSRAM, a STEMMA QT connector, an addressable RGB LED (GPIO5) and Reset/Boot buttons.

Where to buy

prices are typical street prices
Adafruit QT Py ESP32
Adafruit QT Py ESP32
$14.95per unit, typical

Resources

Similar boards