Component guide · Intermediate · 3 min read
ESP32-S2 DevKitC and DevKitM Boards

Native USB, Pins and Setup
By Geekobot Learning Team · Updated 29 Oct 2026
On this page
The ESP32-S2 is a single-core 240 MHz chip with Wi-Fi but no Bluetooth, and it was the first ESP32 with native USB. That makes it popular for CircuitPython, USB keyboards and Wi-Fi sensors. The DevKitC and DevKitM boards are Espressif's references; the QT Py S2 is a tiny STEMMA QT board. For new designs the ESP32-S3 usually costs about the same and adds BLE and a second core.
Key specs at a glance
- Chip
- ESP32-S2, single-core LX7 240 MHz, 320 KB SRAM
- Wireless
- Wi-Fi 2.4 GHz only (no Bluetooth)
- USB
- Native full-speed USB OTG
- Memory
- 4 or 8 MB flash, 2 MB PSRAM on R2 versions
- GPIO
- 43 GPIO, 14 touch pins, 20 ADC channels, 2 DAC
- Low power
- ULP RISC-V co-processor
Models in this guide
These are alternatives. Pick the one that fits your project; you only need one.
Option 1Espressif ESP32-S2-DevKitC-1-N8R2 Wi-Fi Development Board₹1,149
Option 2Espressif ESP32-S2-DevKitC-1U-N8R2 Wi-Fi Development Board₹1,049
Option 3Espressif ESP32-S2-DevKitM-1-N4R2 Development Board₹1,149
Option 4Espressif ESP32-S2-WROVER Development Board w/ 2MB PSRAM₹807
Option 5Adafruit QT Py ESP32-S2 WiFi Dev Board w/ STEMMA QT₹1,869
What the ESP32-S2 development board is
USB is on GPIO 19 and 20. CircuitPython makes the board show up as a USB drive where you edit code.py directly. In Arduino, enable USB CDC On Boot to get Serial on the native port.
The two DAC outputs on GPIO 17 and 18 and the many touch pins make the S2 handy for simple audio and touch interfaces.
ESP32-S2 development board pinout
The pins on the ESP32-S2 development board and what each one does.
| Pin | Function |
|---|---|
| GPIO 19 / 20 | USB D- / D+ |
| GPIO 0 | BOOT |
| GPIO 17 / 18 | DAC outputs |
| GPIO 1 to 14 | Touch and ADC1 |
| GPIO 43 / 44 | UART0 TX / RX |
| GPIO 18 (DevKitC) | RGB LED on some revisions |
- GPIO 19 / 20
- USB D- / D+
- GPIO 0
- BOOT
- GPIO 17 / 18
- DAC outputs
- GPIO 1 to 14
- Touch and ADC1
- GPIO 43 / 44
- UART0 TX / RX
- GPIO 18 (DevKitC)
- RGB LED on some revisions
Wiring the ESP32-S2 development board
I2C can go on any GPIO. The QT Py S2 has a STEMMA QT socket, so I2C sensors plug in with a cable.
| ESP32-S2 development board pin | I2C sensor | QT Py S2 |
|---|---|---|
| VCC | 3V3 | 3V3 |
| GND | GND | GND |
| SDA | GPIO 8 | STEMMA QT |
| SCL | GPIO 9 | STEMMA QT |
- VCC
- I2C sensor:
- 3V3
- QT Py S2:
- 3V3
- GND
- I2C sensor:
- GND
- QT Py S2:
- GND
- SDA
- I2C sensor:
- GPIO 8
- QT Py S2:
- STEMMA QT
- SCL
- I2C sensor:
- GPIO 9
- QT Py S2:
- STEMMA QT
Example code
Install CircuitPython from circuitpython.org for your board, then save this as code.py on the CIRCUITPY drive. In Arduino use board ESP32S2 Dev Module.
import board, touchio, time
touch = touchio.TouchIn(board.IO5)
while True:
print("touched" if touch.value else "-", touch.raw_value)
time.sleep(0.2)Setup and tuning
double-tap reset (where supported) or hold BOOT to enter the bootloader for the UF2 file.
ESP32S2 Dev Module, USB CDC On Boot enabled.
enable it on R2 and WROVER boards.
choose an ESP32 or S3 if you need BLE.
What you need
Shop this list9 of 9 found in our store · ₹6,779
Espressif ESP32-S2-DevKitC-1-N8R2 Wi-Fi Development Board: the part this guide coversEspressif ESP32-S2-DevKitC-1-N8R2 Wi-Fi Development Board₹1,149
Espressif ESP32-S2-DevKitC-1U-N8R2 Wi-Fi Development Board: another version this guide coversEspressif ESP32-S2-DevKitC-1U-N8R2 Wi-Fi Development Board₹1,049
Espressif ESP32-S2-DevKitM-1-N4R2 Development Board: another version this guide coversEspressif ESP32-S2-DevKitM-1-N4R2 Development Board₹1,149
Espressif ESP32-S2-WROVER Development Board w/ 2MB PSRAM: another version this guide coversEspressif ESP32-S2-WROVER Development Board w/ 2MB PSRAM₹807
Adafruit QT Py ESP32-S2 WiFi Dev Board w/ STEMMA QT: another version this guide coversAdafruit QT Py ESP32-S2 WiFi Dev Board w/ STEMMA QT₹1,869
USB Type-C cable 1 m: a data cable for programming (not charge-only)24-Core USB Type-C Cable, 1 m₹500Closest match, check the specs
Solderless breadboard: to build without solderingSolderless Breadboard₹68
Dupont jumper wires: for the connectionsDupont Jumper Wires (40 pcs)₹49Closest match, check the specs
0.96 inch OLED display 128x64: to show readings without a computer0.96" OLED Display 128x64₹139Closest match, check the specs
Alternatives and when to choose them
- ESP32-S3 DevKitC: dual-core with BLE and native USB.
- ESP32 DevKit: Bluetooth Classic and BLE.
- ESP32-S3, C3, C6 variants: how the chips compare.
Common mistakes to avoid
- Expecting Bluetooth.
- No serial output because USB CDC On Boot is off.
- Wrong UF2 file for the board.
- Using ADC2 pins with Wi-Fi on.
Frequently asked questions
Does the ESP32-S2 have Bluetooth?
No.
Is it good for CircuitPython?
Yes, native USB makes it a USB drive.
Can it be a USB keyboard?
Yes, with TinyUSB in Arduino or usb_hid in CircuitPython.
S2 or S3?
S3 for new projects unless you need the S2's lower cost or DAC.
What does DevKitM mean?
A board built on the smaller MINI module.
Parts for this guide
Keep learning
Sources
Written by the Geekobot team from manufacturer datasheets. Always check the datasheet for the exact part and variant you buy.
