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 Speed | 240 MHz |
Flash size | 4MB |
Microcontroller | esp32s2 |
Architecture | xtensa |
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) .
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 | SCK |
8 | A7 | T8 | PWM | |
9 | A8 | T9 | PWM | MISO |
10 | A9 | T10 | PWM | |
11 | A10 | T11 | PWM | MOSI |
12 | A11 | T12 | PWM | SS |
13 | A12 | T13 | PWM | |
14 | A13 | T14 | PWM | |
15 | A14 | PWM | LED_BUILTIN | |
16 | A15 | PWM | ||
17 | A16 | PWM | DAC1 | |
18 | A17 | PWM | DAC2 | |
19 | A18 | PWM | ||
20 | A19 | PWM | ||
33 | PWM | SDA | ||
35 | PWM | SCL | ||
37 | PWM | RX | ||
39 | PWM | TX | ||
0x00000000 | USB_FW_MSC_SERIAL_NUMBER |
Default Tools
Bootloader tool | esptool_py |
Uploader tool | esptool_py |
Network uploader tool | esp_ota |
Bootloader address | 0x1000 |
Flash mode | dio |
Boot mode | qio |
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).