Skip to main content
ESPBoards

LOLIN S2 Mini Development Board Pinout and Technical Specifications

Code name: LOLIN_S2_MINI

LOLIN S2 Mini development board is based on esp32s2 microcontroller and uses xtensa architecture. This development board has a maximum CPU frequency of 240 MHz and a flash size of 4MB.


Features

  • 48 digital IO pins
  • 46 external interrupt pins
  • 20 analog input pins
  • 24 PWM pins

Connectivity

  • WiFi: 802.11 b/g/n (2.4 GHz)

Technical specs

Clock Speed240 MHz
Flash size4MB
Microcontrolleresp32s2
Architecturextensa

LOLIN S2 Mini Pinout

LOLIN S2 Mini Pins Mapping Arduino IDE

Below you can find the LOLIN S2 Mini pinout. This development board provides 48 digital IO pins, out of which 46 can be used as an external interrupt pins , 20 as analog input pins and 24 pins have Pulse-Width Modulation (PWM) .

PinAnalogTouchPWMOther
1A0T1PWM
2A1T2PWM
3A2T3PWM
4A3T4PWM
5A4T5PWM
6A5T6PWM
7A6T7PWMSCK
8A7T8PWM
9A8T9PWMMISO
10A9T10PWM
11A10T11PWMMOSI
12A11T12PWMSS
13A12T13PWM
14A13T14PWM
15A14PWMLED_BUILTIN
16A15PWM
17A16PWMDAC1
18A17PWMDAC2
19A18PWM
20A19PWM
33PWMSDA
35PWMSCL
37PWMRX
39PWMTX
0x00000000USB_FW_MSC_SERIAL_NUMBER
Analog - Analog input pins
Touch - Touch pins
Function - Function pins
RX / TX - Receive (RX) / Transmit (TX)
LED_BUILTIN - Built-in LED
PWM - Pulse-Width Modulation

Default Tools

Bootloader toolesptool_py
Uploader toolesptool_py
Network uploader toolesp_ota
Bootloader address0x1000
Flash modedio
Boot modeqio
PSRAM type
Maximum upload size
1280 Kb
(1310720 B)
Maximum data size
320 Kb
(327680 B)

The LOLIN S2 Mini development board by default uses esptool_py uploader tool, esp_ota network uploader tool for Over-the-air (OTA) uploads and esptool_py bootloader tool. The bootloader starts at address "0x1000". Flash mode and boot mode for LOLIN S2 Mini development board by default is dio and qio respectively. When using Arduino IDE, the maximum sketch upload size is 1280 Kb (1310720 B) and maximum data size for variables is 320 Kb (327680 B).