A compact ESP32-S2 development board in the D1 Mini form factor. Based on the ESP32-S2FN4R2 chip with 4MB flash and 2MB PSRAM, it packs WiFi, USB-C, and 27 GPIO into a board smaller than a postage stamp. Ships with MicroPython pre-loaded -- plug in and start coding.
Key Features
- ESP32-S2FN4R2 single-core 240MHz WiFi chip
- USB-C connector with native USB OTG
- 4MB flash + 2MB PSRAM
- 27 digital I/O pins
- ADC, DAC, I2C, SPI, UART interfaces
- Compatible with LOLIN D1 Mini shields
- MicroPython, Arduino, and ESP-IDF support
- Default firmware: MicroPython
Technical Specs
| Chip | ESP32-S2FN4R2 |
| Operating Voltage | 3.3V |
| Clock Speed | 240MHz |
| Flash | 4MB |
| PSRAM | 2MB |
| Digital I/O | 27 pins |
| Interfaces | ADC, DAC, I2C, SPI, UART, USB OTG |
| USB | Type-C |
| WiFi | 802.11 b/g/n (2.4GHz) |
| Dimensions | 34.3 x 25.4mm |
| Weight | 5.4g |
Getting Started
- Hold down the "0" (boot) button on the board before plugging in. This is required -- if you plug in without holding the button, your computer will not recognise the device. There is no onboard LED to indicate power.
- While holding the button, plug the USB-C cable into your computer.
- Release the button once connected. The board should now appear as a USB device.
- Open a serial terminal (such as Thonny or PuTTY) and connect to the board's COM port to access the MicroPython REPL.
Uploading Firmware
- Enter flashing mode: press and hold the Boot button, then press and release the Reset button. After that, release the Boot button. The board is now in flashing mode.
- Arduino IDE: Install the ESP32 board package by Espressif (via Board Manager). Select board "LOLIN S2 Mini", pick the COM port, and click Upload.
- MicroPython: Use Thonny -- go to Tools > Options > Interpreter, select "MicroPython (ESP32-S2)", and flash the firmware from there.
-
esptool (command line): Run
esptool.py --chip esp32s2 --port COMx write_flash 0x0 firmware.binto flash manually. - After uploading: press the Reset button to boot into your new firmware.
Great For
What's in the Box
- 1x ESP32-S2 Mini V1.0.0 WiFi Board
- 4x 8-pin header strips (unsoldered)
