LOLIN S3

A development board by Wemos based on the ESP32-S3-WROOM-1, featuring dual USB-C ports and compatibility with MicroPython and Arduino.

2× USB-C Native USB
LOLIN S3 board
65.3 × 25.4 mm
ESP32-S3
MCU
240MHz
clock
16MB
flash
512KB
SRAM
23· 18 ADC
GPIO
BLE 5.0+ WiFi
radio
On this page

Pinout

23 pins · 2.54 mm pitch
View:
LOLIN S3 pinout diagram
PinGPIOLabelsStatusCapabilitiesNotes
11A0T1PWMsafeadc · touch
22A1T2PWMsafeadc · touch
33A2T3PWMstrappingadc · touch
44A3T4PWMsafeadc · touch
55A4T5PWMsafeadc · touch
66A5T6PWMsafeadc · touch
77A6T7PWMsafeadc · touch
88A7T8PWMsafeadc · touch
99A8T9PWMstrappingadc · touch
1010SSA9T10PWMstrappingadc · touch · spi
1111MOSIA10T11PWMstrappingadc · touch · spi
1212SCKA11T12PWMstrappingadc · touch · spi
1313MISOA12T13PWMstrappingadc · touch · spi
1414A13T14PWMstrappingadc · touch
1515A14PWMsafeadc
1616A15PWMsafeadc
1717A16PWMsafeadc
1818A17PWMsafeadc
1938LED_BUILTINPWMstrapping-
2041SCLPWMstrappingi2c
2142SDAPWMstrappingi2c
2243TXPWMstrappinguart
2344RXPWMstrappinguart

Start with these

11 pins with no boot or system involvement
A0T1A1T2A3T4A4T5A5T6A6T7A7T8A14PWMA15PWMA16PWMA17PWM

Freely assignable - no strapping, flash, USB or JTAG duties. Ideal first picks for buttons, sensors and LEDs.

Fine - with a little care

sampled at boot or shared with debug/serial
PinLabelWhat to knowRole
A2GPIO3Sampled at reset to select JTAG interface (USB Serial/JTAG controller vs. external pins). Improper use can disable external JTAG or alter debug interface.Strapping
SCLMTDI (GPIO41)Default JTAG TDI input for debugging. Should be reserved for JTAG or left unused if JTAG is to remain available.Other
SDAMTMS (GPIO42)Default JTAG TMS signal for debugging. Using this pin for other purposes will disable the JTAG interface (unless JTAG is rerouted to USB).Other
TXU0TXD (GPIO43)Used for bootloader output and UART console logs. If repurposed, you will lose the default serial output (and programming via UART0).Other
RXU0RXD (GPIO44)Used for bootloader input (download mode via serial). If repurposed, you cannot use the default UART0 download mode for programming the chip.Other

Only if you know the tricks

wired to flash or USB - expect a fight
PinLabelWhat to knowRole
A8FSPIHDConnected to external flash (data/hold signal) on most modules. Not recommended for use as GPIO, since it must remain dedicated to flash communication.Flash
SSFSPICS0Used to select the external flash chip. It is required for flash access and cannot be repurposed without losing flash connectivityFlash
MOSIFSPIDUsed as a data line for flash (and in-package PSRAM). It should not be used as GPIO when the flash/PSRAM is in use.Flash
SCKFSPICLKDrives the flash (and PSRAM) clock. This critical signal must be reserved for memory and not used as general GPIO.Flash
MISOFSPIQUsed as a data line for flash/PSRAM transfers. Not available for other uses when flash/PSRAM is connected.Flash
A13FSPIWPConnected to external flash (data/write-protect signal). Not recommended as GPIO because it’s reserved for flash operations.Flash
LED_BUILTINFSPIWPOn flash-equipped chips, this pin is tied to the flash’s WP# (or D3) line. It should be avoided for other use, as it’s needed for flash operations.Flash
These are recommendations, not hard rules - with the right pull-ups, timing and boot-state awareness most pins can be made to work. When in doubt, start green.
Pinout notes All 23 pins on the LOLIN S3 are usable GPIO, spaced at the standard 2.54 mm pitch. Peripheral wiring is straightforward: I²C is mapped to SDA on GPIO42 and SCL…

All 23 pins on the LOLIN S3 are usable GPIO, spaced at the standard 2.54 mm pitch.

Peripheral wiring is straightforward: I²C is mapped to SDA on GPIO42 and SCL on GPIO41; the SPI bus (MOSI, MISO, SCK, SS) is broken out in full; TX/RX on GPIO43 and GPIO44 cover serial logging and flashing.

Beyond plain digital I/O you get 18 ADC-capable pins for sensors and battery monitoring and 14 capacitive-touch inputs.

5 of the exposed pins carry boot-time or system duties on the ESP32-S3 (A2, SCL, SDA and 2 more) - check the guidance above before wiring anything to them. A0, A1, A3, A4 and 7 more are free of any such role - the safest first picks.

Getting started

flash your first firmware in ~2 minutes
Tool:
1
Connect over USB
Serial chip: CH340X. Not detected? Hold BOOT while plugging in.
2
Flash with your tool
Arduino IDE, PlatformIO, ESPHome or esptool - copy the settings on the right.
3
Verify it runs
The blink example uses GPIO1 - swap for your board's LED pin if different.
Tools → Board settings Copy
Board:            Lolin S3
Flash Size:       16MB · DIO
Upload Speed:     921600

// blink
pinMode(1, OUTPUT);
digitalWrite(1, LOW);   // on (often inverted)
platformio.ini Copy
[env:lolin_s3]
platform = espressif32
board = esp32-s3-devkitc-1
framework = arduino
monitor_speed = 115200
upload_speed = 921600
device.yaml Copy
esp32:
  board: esp32-s3-devkitc-1
  variant: lolin_s3
  framework:
    type: esp-idf

# blink - GPIO1
output:
  - platform: gpio
    pin: 1
    id: led_out
light:
  - platform: binary
    name: "LED"
    output: led_out
shell Copy
esptool.py --chip esp32s3 --port /dev/ttyACM0 \
  write_flash 0x0 firmware.bin
Build details: sketch space 1310720 B · data 327680 B · DIO

Specifications

ESP32-S3 · 65.3 × 25.4 mm
Compute
MCU
ESP32-S3
Clock
240 MHz
SRAM · Flash
512 KB · 16MB · 8MB (OPI) PSRAM
Radio
Wi-Fi
802.11 b/g/n
Bluetooth
5.0 LE
Antenna
PCB
I/O
GPIO · ADC
23 · 18
UART · I²C · SPI
3 · 2 · 4
PWM
8 channels
Power
USB
USB-C (UART) · USB-C (native)
Serial
CH340X
Boot address
0x0
Flashing
Upload · OTA
esptool_py · esp_ota
Flash · Boot mode
DIO · QIO
Sketch · Data
1.25 MB · 320 KB
25.4 mm65.3 mm
65.3 × 25.4 mm · pin pitch 2.54 mm
The LOLIN S3 uses esptool_py for firmware uploads, esp_ota for over-the-air (OTA) updates. Flash mode is DIO with QIO boot mode. The maximum sketch size is 1.25 MB with 320 KB available for data.

About this board

Inside sits the ESP32-S3 - a dual-core Xtensa with vector extensions suited to AI workloads.

At $6.90 it's cheaper than most ESP32-S3 boards, which usually run around $30.

Around the module: 8MB (OPI) PSRAM, an addressable RGB LED (GPIO38) and Reset/Boot buttons.

Where to buy

prices are typical street prices
LOLIN S3
LOLIN S3
$6.90per unit, typical
As an Amazon Associate, ESPboards earns from qualifying purchases.

Resources

Similar boards