Deneyap Mini v2
by Deneyap
Updated ESP32-S2 educational board with improved design - great for STEM and rapid prototyping.

On this page
Deneyap Mini v2 Pinout
23 pins · 2.54 mm pitch| Pin | GPIO | Labels | Status | Capabilities | Notes |
|---|---|---|---|---|---|
| 1 | 0 | GPKEYD13 | strapping | - | |
| 2 | 7 | A0T0PWM | safe | adc · touch | |
| 3 | 8 | A1T1PWM | safe | adc · touch | |
| 4 | 9 | A2T2PWM | strapping | adc · touch | |
| 5 | 10 | A3T3PWM | strapping | adc · touch | |
| 6 | 11 | A4T4PWM | strapping | adc · touch | |
| 7 | 12 | A5T5PWM | strapping | adc · touch | |
| 8 | 13 | A6T6PWM | strapping | adc · touch | |
| 9 | 16 | A7PWM | strapping | adc | |
| 10 | 17 | D12DAC0PWM | safe | dac | |
| 11 | 18 | D11DAC1PWM | safe | dac | |
| 12 | 21 | SSD10PWM | safe | spi | |
| 13 | 26 | D9PWM | strapping | - | |
| 14 | 33 | LED_BUILTIND14PWM | safe | - | |
| 15 | 36 | SDAD8PWM | safe | i2c | |
| 16 | 37 | SCLD7PWM | safe | i2c | |
| 17 | 38 | SCKD6PWM | safe | spi | |
| 18 | 39 | MISOD5PWM | strapping | spi | |
| 19 | 40 | MOSID4PWM | strapping | spi | |
| 20 | 41 | D3PWM1PWM | strapping | - | |
| 21 | 42 | D2PWM0PWM | strapping | - | |
| 22 | 43 | TXD1PWM | uart | uart | |
| 23 | 44 | RXD0PWM | uart | uart |
Start with these
11 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
11 pins · 7 things to knowGPKEYGPIO0 Bootstrapping pin; selects boot mode (SPI Boot vs UART Download). Strapping
Must be pulled high for normal boot; pulling low at reset enters bootloader (download mode). Also serves as SPI flash data-in (SPID) line when using external flash memory.
A2GPIO9A3GPIO10A4GPIO11A5GPIO12A6GPIO13 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.
- A2General-purpose SPI2 (FSPI) IO MUX pin - hold/data line (FSPIHD)
- A3General-purpose SPI2 (FSPI) IO MUX pin - chip select (FSPICS0)
- A4General-purpose SPI2 (FSPI) IO MUX pin - data in (FSPID)
- A5General-purpose SPI2 (FSPI) IO MUX pin - clock (FSPICLK)
- A6General-purpose SPI2 (FSPI) IO MUX pin - data out (FSPIQ)
A7GPIO16 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.
MISOGPIO39 JTAG test clock pin (MTCK); also usable as GPIO39 or as a clock output (CLK_OUT3). JTAG
Used for JTAG debugging interface; using this pin for other purposes will disable JTAG clock input.
MOSIGPIO40 JTAG test data-out pin (MTDO); also GPIO40, supports CLK_OUT2. JTAG
Part of JTAG interface (TDO); should be avoided as GPIO if JTAG debugging is needed.
D3GPIO41 JTAG test data-in pin (MTDI); also GPIO41, supports CLK_OUT1. JTAG
Part of JTAG interface (TDI); avoid using as GPIO to retain ability for JTAG debug.
D2GPIO42 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
1 pins · 1 thing to knowD9GPIO26 SPI0/1 memory-bus chip select 1 (SPICS1) - in-package PSRAM CE# Flash
Part of the SPI0/1 bus that runs the in-package flash and PSRAM, listed by the datasheet as "already allocated or not recommended for use". Modules keep these lines internal, so the pin is not available as GPIO.
All 23 pins on the Deneyap Mini v2 are usable GPIO, spaced at the standard 2.54 mm pitch.
Peripheral wiring is straightforward: I²C is mapped to SDA on GPIO36 and SCL on GPIO37; 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 8 ADC-capable pins for sensors and battery monitoring, 7 capacitive-touch inputs and 2 true DAC outputs.
11 of the exposed pins carry boot-time or system duties on the ESP32-S2 (GPKEY, A2, A3 and 8 more) - check the guidance above before wiring anything to them. A0, A1, D12, D11 and 7 more are free of any such role - the safest first picks.
Getting started
flash your first firmware in ~2 minutesBoard: ESP32S2 Dev Module USB CDC On Boot: Enabled Flash Size: 4MB (32Mb) Flash Mode: DIO PSRAM: QSPI PSRAM Partition Scheme: Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS) Upload Speed: 921600
// toggle GPIO7 - wire an LED and resistor to it
void setup() {
pinMode(7, OUTPUT);
}
void loop() {
digitalWrite(7, HIGH); delay(500);
digitalWrite(7, LOW); delay(500);
}[env:deneyapminiv2]
platform = espressif32
board = esp32-s2-saola-1
framework = arduino
monitor_speed = 115200
upload_speed = 921600
board_build.arduino.memory_type = qio_qspi
build_flags = -DBOARD_HAS_PSRAMesp32-s2-saola-1 - or type it after board =.esp32:
board: esp32-s2-saola-1
variant: esp32s2
framework:
type: esp-idf
psram:
mode: quad
speed: 80MHz
# blink - GPIO7
output:
- platform: gpio
pin: 7
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 · 50 × 20.32 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.
Around the module: 2MB (QSPI) PSRAM, a Qwiic/STEMMA QT connector, an addressable RGB LED (GPIO33) and Reset/GPKEY buttons.
It flashes over native USB - no serial-converter driver needed, which isn't a given among ESP32-S2 boards.
Resources
Similar boards



