WEMOS LOLIN32 Lite

Compact ESP32 board with Wi-Fi, BLE, and built-in LiPo charging - ideal for portable, battery-powered IoT projects.

Micro-USB
WEMOS LOLIN32 Lite board
58 × 25.4 mm
ESP32
MCU
240MHz
clock
4MB
flash
520KB
SRAM
23· 15 ADC
GPIO
BLE 4.2+ WiFi
radio
On this page

Pinout

26 pins · 2.54 mm pitch
View:
WEMOS LOLIN32 Lite pinout diagram
PinGPIOLabelsStatusCapabilitiesNotes
1-5Vpower-5V power input for the board
2-GNDground-Ground connection
3-3V33.3Vpower-3.3V power output
40IO0GPIO0strappingadcGPIO, ADC
52IO2GPIO2strappingadcGPIO, ADC
64IO4GPIO4strappingadcGPIO, ADC
75IO5GPIO5strapping-GPIO
812IO12GPIO12strappingadcGPIO, ADC
913IO13GPIO13strappingadcGPIO, ADC
1014IO14GPIO14strappingadcGPIO, ADC
1115IO15GPIO15strapping-GPIO
1216IO16GPIO16strapping-GPIO
1317IO17GPIO17strapping-GPIO
1418IO18GPIO18safe-GPIO
1519IO19GPIO19safe-GPIO
1622IO22GPIO22safe-GPIO
1723IO23GPIO23safe-GPIO
1825IO25GPIO25safeadcGPIO, ADC
1926IO26GPIO26safeadcGPIO, ADC
2027IO27GPIO27safeadcGPIO, ADC
2132IO32GPIO32safeadcGPIO, ADC
2233IO33GPIO33safeadcGPIO, ADC
2334IO34GPIO34strappingadcGPIO, ADC
2435IO35GPIO35strappingadcGPIO, ADC
2536IO36GPIO36strappingadcGPIO, ADC
2639IO39GPIO39strappingadcGPIO, ADC

Start with these

9 pins with no boot or system involvement
IO18GPIO18IO19GPIO19IO22GPIO22IO23GPIO23IO25GPIO25IO26GPIO26IO27GPIO27IO32GPIO32IO33GPIO33

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
IO0GPIO0Must be HIGH during boot for normal startup; if held LOW on reset, forces flash programming mode.Strapping
IO2GPIO2If driven HIGH on reset (while IO0 is LOW), selects an unsupported SDIO boot mode, causing boot failure.Strapping
IO4GPIO4Sampled at reset for boot config; should not be driven at boot (affects boot mode timing).Strapping
IO5GPIO5Must be HIGH during boot; if pulled LOW at reset, alters SDIO slave timing and may prevent normal boot.Strapping
IO12MTDI (GPIO12)Keep LOW during boot (internal PD); pulling HIGH at reset selects 1.8V flash mode, causing flash brownout if 3.3V flash is used.Strapping
IO13MTCK (GPIO13)Used for JTAG debugging (TCK); avoid using as GPIO if JTAG is needed.Other
IO14MTMS (GPIO14)Used for JTAG debugging (TMS); driving it as GPIO may interfere with JTAG or produce spurious signals at boot.Other
IO15MTDO (GPIO15)Keep HIGH during boot (internal PU); if LOW on reset, bootloader log is silenced and boot mode may change.Strapping
IO34GPIO34Cannot be used as output (no drive capability); only suitable for analog/digital input.Other
IO35GPIO35Cannot be used as output; only suitable for input.Other
IO36GPIO36 (SENSOR_VP)Cannot be used as output; only suitable for input (e.g., analog read).Other
IO39GPIO39 (SENSOR_VN)Cannot be used as output; only suitable for input.Other

Only if you know the tricks

wired to flash or USB - expect a fight
PinLabelWhat to knowRole
IO16GPIO16Connected to internal PSRAM on PSRAM-enabled modules; not usable as GPIO on those modules.Flash
IO17GPIO17Connected to internal PSRAM on PSRAM-enabled modules; not usable as GPIO on those modules.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 The WEMOS LOLIN32 Lite pinout brings out 26 pins at a 2.54 mm pitch - 23 usable GPIO alongside the 5V , GND and 3V3 power rails. On the analog side there are…

The WEMOS LOLIN32 Lite pinout brings out 26 pins at a 2.54 mm pitch - 23 usable GPIO alongside the 5V, GND and 3V3 power rails.

On the analog side there are 15 ADC-capable pins for sensors and battery monitoring.

If you want zero surprises, IO18, IO19, IO22, IO23 and 5 more are free of any such role - the safest first picks. 12 of the exposed pins carry boot-time or system duties on the ESP32 (IO0, IO2, IO4 and 9 more).


The LOLIN32 Lite pinout fans out 26 ESP32 GPIOs on two rows, mirroring the original D1-mini shield headers for easy stacking.

Power rails: use USB 5V (or VIN) as input, the regulated 3V3 pin for logic-level peripherals, and the dedicated BAT pin for a single-cell Li-Po. Multiple GND pads provide solid returns.

Serial: U0_TX (GPIO1) and U0_RX (GPIO3) connect to the CH340C for programming/logging. Need more ports? U2_TX (GPIO17) and U2_RX (GPIO16) are free for GPS or RS-485 transceivers.

I²C defaults to SDA (GPIO21) and SCL (GPIO22), broken out on the shield D2/D1 lines-but any spare GPIO can be reassigned.

SPI: the primary VSPI bus (best for OLEDs, SD adapters, radios) maps to MOSI (GPIO23), MISO (GPIO19), SCK (GPIO18), and CS (GPIO5). A secondary HSPI bus lives on GPIO12-15 when you need a second device.

Analog & touch: Eight ADC1 channels (GPIO32-GPIO39) work even with Wi-Fi on. Extra ADC2 pads (GPIO0, 2, 4, 12-15, 25-27) share RF hardware. Dual 8-bit DAC outputs are on GPIO25 and GPIO26. Ten pads double as capacitive-touch inputs-great for touch keys or wake-up gestures.

Every GPIO can generate high-resolution PWM (up to ≈40 kHz). Remember the boot-strap pins-GPIO0, GPIO2, and GPIO15-must sit HIGH (with proper pull-ups) on reset for a normal boot.

With battery charging, robust power rails, and a shield-friendly layout, the LOLIN32 Lite pinout makes it effortless to go from breadboard prototype to compact, battery-powered product.

Getting started

flash your first firmware in ~2 minutes
Tool:
1
Connect over USB
Serial chip: CH340C. 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 GPIO18 - swap for your board's LED pin if different.
Tools → Board settings Copy
Board:            Lolin32 Lite
Flash Size:       4MB · DIO
Upload Speed:     921600

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

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

Specifications

ESP32 · 58 × 25.4 mm
Compute
MCU
ESP32
Clock
240 MHz
SRAM · Flash
520 KB · 4MB
Radio
Wi-Fi
802.11 b/g/n
Bluetooth
4.2 LE
Antenna
PCB
I/O
GPIO · ADC
23 · 15
UART · I²C · SPI
3 · 2 · 4
PWM
16 channels
Power
USB
Micro-USB
Serial
CH340C
Boot address
0x1000
Flashing
Upload · OTA
esptool_py · esp_ota
Flash · Boot mode
DIO · DIO
Sketch · Data
1.25 MB · 320 KB
25.4 mm58 mm
58 × 25.4 mm · pin pitch 2.54 mm
The WEMOS LOLIN32 Lite uses esptool_py for firmware uploads, esp_ota for over-the-air (OTA) updates. Flash mode is DIO with DIO boot mode. The maximum sketch size is 1.25 MB with 320 KB available for data.

About this board

At its core is the ESP32 - a dual-core Xtensa with both Bluetooth Classic and BLE.

Expect to pay about $5.00 - less than the ~$20 most ESP32 boards go for.

Onboard you'll find battery charging (TP4054) via JST-PH 2.0, status LEDs (Blue (GPIO22), Charge) and Reset buttons.




The WEMOS LOLIN32 Lite squeezes Espressif’s dual-core ESP32-WROOM-32 module into a slim 57 × 25 mm board that still accepts the classic LOLIN/D1-mini shield ecosystem. It ships with 4 MB of flash, runs up to 240 MHz, and offers both Wi-Fi 802.11 b/g/n and Bluetooth 4.2 (BR/EDR + BLE) for rock-solid wireless connectivity.

A low-cost CH340C USB-to-UART bridge handles programming and serial debugging via the Micro-USB port and supports auto-reset/boot so you can flash sketches without pushing buttons.

Onboard power management is Li-Po ready: a TP4054 charger (≈ 500 mA) and a PH-2 battery connector (BAT) let you run projects untethered while the board trickle-charges whenever USB is present.

Convenience extras include a RESET push-button, a BOOT (IO0) button for manual download-mode entry, and a bright blue on-board LED on GPIO 22 for quick status indication.

With 22 GPIOs (all PWM-capable), 12-bit ADCs, dual 8-bit DACs, 10 capacitive-touch pads, plus I²C, SPI, UART, SD-card, and RTC IO support, the LOLIN32 Lite punches far above its weight for battery-powered IoT nodes, wearables, or compact sensor gateways.

Where to buy

prices are typical street prices
WEMOS LOLIN32 Lite
WEMOS LOLIN32 Lite
$5.00per unit, typical
As an Amazon Associate, ESPboards earns from qualifying purchases.

Resources

Similar boards