LOLIN S2 PICO image

LOLIN S2 PICO

Development Board

Code name: LOLIN_S2_PICO

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

Type OLED
Resolution 128x32
Driver SSD1306

Connectivity

WiFi 802.11 b/g/n 2.4 GHz
Bluetooth -
BLE -

Microcontroller

Model esp32s2
Clock Speed 240 MHz
Flash Size 4MB
PSRAM 2MB
Architecture xtensa

Features & Pins

Digital IO 21
Analog Input 20
PWM 26
Interrupts 46

Quick Setup

Copy-paste configs for LOLIN S2 PICO - auto‑generated from this board's exact hardware specs.

ESP32S2 240 MHz 4MB DIO Xtensa

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.

Tools menu settings
Board (select in Arduino IDE) Lolin S2 Pico
CPU Frequency 240 MHz
Flash Size 4MB
Flash Mode DIO
Upload Speed 921600
Architecture Xtensa

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.

Pin Mappings

Complete pinout and GPIO mapping for LOLIN S2 PICO

21
Digital I/O Pins
46
Interrupt Pins
20
Analog Inputs
26
PWM Pins
PinAnalogTouchPWMOther
1A0T1PWM
2A1T2PWM
3A2T3PWM
4A3T4PWM
5A4T5PWM
6A5T6PWM
7A6T7PWM
8A7T8PWMSDA
9A8T9PWMSCL
10A9T10PWMLED_BUILTIN
11A10T11PWM
12A11T12PWM
13A12T13PWM
14A13T14PWM
15A14PWM
16A15PWM
17A16PWMDAC1
18A17PWMDAC2 S2_PICO_OLED_RESET
19A18PWM
20A19PWM
33PWMRX
34PWMSS
35PWMMOSI
36PWMSCK
37PWMMISO
38PWMTX
0x00000000USB_FW_MSC_SERIAL_NUMBER
Legend
A0 Analog input
T0 Touch sensor
PWM PWM capable
RX/TX Serial pins
LED Built-in LED
# Pin number

Default Tools & Configuration

Build and upload settings for LOLIN S2 PICO

SettingValue
Bootloader toolesptool_py
Uploader toolesptool_py
Network uploader toolesp_ota
Bootloader address0x1000
Flash modedio
Boot modeqio
Maximum upload size
1280 KB (1310720 bytes)
Maximum data size
320 KB (327680 bytes)
Configuration Summary

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