
LOLIN S2 PICO 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 LOLIN S2 PICO
Tiny ESP32-S2 board with castellated edges and USB-C - ideal for compact integrations and custom modules.
Technical Specifications
Complete technical specification details for LOLIN S2 PICO
Display
Connectivity
Microcontroller
✨ Features & Pins
Quick Setup
Copy-paste configs for LOLIN S2 PICO - auto‑generated from this board's exact hardware specs.
In Arduino IDE 2 select Lolin S2 Pico from the esp32 by Espressif package. In PlatformIO use board = esp32-s2-saola-1. ESP32S2 · 240 MHz · 4MB · DIO.
In Arduino IDE 2, open Boards Manager, search "esp32" by Espressif and install it. Then go to Tools → Board and select "Lolin S2 Pico" for the LOLIN S2 PICO.
[env:lolin_s2_pico]
platform = espressif32
board = esp32-s2-saola-1
framework = arduino
; Exact hardware config for LOLIN S2 PICO
board_build.mcu = esp32s2
board_build.f_cpu = 240000000L
board_build.flash_size = 4MB
board_build.flash_mode = dio
board_upload.flash_size = 4MBThe board value is a close generic match - check PlatformIO board registry for an exact fit.
esp32:
board: esp32-s2-saola-1
framework:
type: arduino # or "esp-idf"
# LOLIN S2 PICO - 240 MHz ESP32S2
# Flash: 4MB | USB: N/APaste into your device's .yaml. See ESPHome ESP32 docs for full options.
esptool.py \
--chip esp32s2 \
--baud 921600 \
write_flash \
--flash_mode dio \
--flash_size 4MB \
0x1000 bootloader.bin \
0x8000 partitions.bin \
0xe000 boot_app0.bin \
0x10000 firmware.binInstall: pip install esptool - replace firmware.bin with your binary - bootloader at 0x1000
Useful Links
Datasheets and resources for LOLIN S2 PICO
Pin Mappings
Complete pinout and GPIO mapping for LOLIN S2 PICO
| Pin | Analog | Touch | PWM | Other |
|---|---|---|---|---|
| 1 | A0 | T1 | PWM | |
| 2 | A1 | T2 | PWM | |
| 3 | A2 | T3 | PWM | |
| 4 | A3 | T4 | PWM | |
| 5 | A4 | T5 | PWM | |
| 6 | A5 | T6 | PWM | |
| 7 | A6 | T7 | PWM | |
| 8 | A7 | T8 | PWM | SDA |
| 9 | A8 | T9 | PWM | SCL |
| 10 | A9 | T10 | PWM | LED_BUILTIN |
| 11 | A10 | T11 | PWM | |
| 12 | A11 | T12 | PWM | |
| 13 | A12 | T13 | PWM | |
| 14 | A13 | T14 | PWM | |
| 15 | A14 | PWM | ||
| 16 | A15 | PWM | ||
| 17 | A16 | PWM | DAC1 | |
| 18 | A17 | PWM | DAC2 S2_PICO_OLED_RESET | |
| 19 | A18 | PWM | ||
| 20 | A19 | PWM | ||
| 33 | PWM | RX | ||
| 34 | PWM | SS | ||
| 35 | PWM | MOSI | ||
| 36 | PWM | SCK | ||
| 37 | PWM | MISO | ||
| 38 | PWM | TX | ||
| 0x00000000 | USB_FW_MSC_SERIAL_NUMBER |
Default Tools & Configuration
Build and upload settings for LOLIN S2 PICO
| Setting | Value |
|---|---|
| Bootloader tool | esptool_py |
| Uploader tool | esptool_py |
| Network uploader tool | esp_ota |
| Bootloader address | 0x1000 |
| Flash mode | dio |
| Boot mode | qio |
| Maximum upload size | 1280 KB (1310720 bytes) |
| Maximum data size | 320 KB (327680 bytes) |
The LOLIN S2 PICO 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
Similar Boards
Other development boards with ESP32S2 microcontroller

WEMOS D1 R32
WEMOS D1 R32 development board is based on esp32 microcontroller and uses xtensa architecture.

LOLIN S3
LOLIN S3 development board is based on esp32s3 microcontroller and uses xtensa architecture.

WEMOS LOLIN32 Lite
WEMOS LOLIN32 Lite development board is based on esp32 microcontroller and uses xtensa architecture.