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
49.5 × 25.4 mm
ESP32
MCU
240MHz
clock
4MB
flash
520KB
SRAM
23· 15 ADC
GPIO
BLE 4.2+ WiFi
radio
On this page

WEMOS LOLIN32 Lite Pinout

26 pins · 2.54 mm pitch
WEMOS LOLIN32 Lite pinout diagram, high resolution: all 26 pins, with GPIO numbers, ADC channels and strapping pins
WEMOS LOLIN32 Lite pinout, drawn by ESPboards from the ESP32 Series Datasheet v5.3.
PinGPIOLabelsStatusCapabilitiesNotes
1-GNDground-Ground connection
2-3V33.3Vpower-3.3V power output
30IO0GPIO0strappingadcGPIO, ADC
42IO2GPIO2strappingadcGPIO, ADC
54IO4GPIO4safeadcGPIO, ADC
65IO5GPIO5strapping-GPIO
712IO12GPIO12strappingadcGPIO, ADC
813IO13GPIO13strappingadcGPIO, ADC
914IO14GPIO14strappingadcGPIO, ADC
1015IO15GPIO15strapping-GPIO
1116IO16GPIO16safe-GPIO
1217IO17GPIO17safe-GPIO
1318IO18GPIO18safe-GPIO
1419IO19GPIO19safe-GPIO
1522IO22GPIO22safe-GPIO
1623IO23GPIO23safe-GPIO
1725IO25GPIO25safeadcGPIO, ADC
1826IO26GPIO26safeadcGPIO, ADC
1927IO27GPIO27safeadcGPIO, ADC
2032IO32GPIO32safeadcGPIO, ADC
2133IO33GPIO33safeadcGPIO, ADC
22-ENcontrol-Chip enable (active HIGH) - the RST button pulls it low; a 10k pull-up holds it high
2334IO34GPIO34strappingadcGPIO, ADC
2435IO35GPIO35strappingadcGPIO, ADC
2536IO36GPIO36strappingadcGPIO, ADC
2639IO39GPIO39strappingadcGPIO, ADC
Download the WEMOS LOLIN32 Lite pinout Free to use and share for non-commercial work, as long as you credit espboards.dev. License.
23 GPIOs broken out 12 free · 11 need care · 0 to avoid

Start with these

12 pins with no boot or system involvement
IO4IO16IO17IO18IO19IO22IO23IO25IO26IO27IO32IO33

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

Fine - with a little care

11 pins · 10 things to know
IO0 Bootstrapping pin (enter bootloader when low); internal pull-up. Strapping

Must be HIGH during boot for normal startup; if held LOW on reset, forces flash programming mode.

IO2 Bootstrapping pin (must be low or floating at reset); internal pull-down. Strapping

If driven HIGH on reset (while IO0 is LOW), selects an unsupported SDIO boot mode, causing boot failure.

IO5 Bootstrapping pin; internal pull-up; VSPI CS0 (default SPI chip-select); acts as FSPIWP (flash write-protect) on internal-flash variants. Strapping

Must be HIGH during boot; if pulled LOW at reset, alters SDIO slave timing and may prevent normal boot.

IO12 Bootstrapping pin; JTAG TDI; sets flash voltage (VDD_SDIO); also HSPIQ (flash data line). Strapping

Keep LOW during boot (internal PD); pulling HIGH at reset selects 1.8V flash mode, causing flash brownout if 3.3V flash is used.

IO13 JTAG clock pin (TCK); also ADC2 channel 4 / Touch4 input. JTAG

Used for JTAG debugging (TCK); avoid using as GPIO if JTAG is needed.

IO14 JTAG mode select pin (TMS); also HSPI CLK and PWM-capable GPIO. JTAG

Used for JTAG debugging (TMS); driving it as GPIO may interfere with JTAG or produce spurious signals at boot.

IO15 Bootstrapping pin; JTAG TDO; controls UART0 boot log output; also HSPICS0 (secondary SPI CS). Strapping

Keep HIGH during boot (internal PU); if LOW on reset, bootloader log is silenced and boot mode may change.

IO34 Input-only GPIO (no output driver); ADC1 channel 6. Other

Cannot be used as output (no drive capability); only suitable for analog/digital input.

IO35IO39 Input-only GPIOs with ADC1 channels - no output driver Other

Cannot be used as output; only suitable for input.

  • IO35Input-only GPIO (no output driver); ADC1 channel 7.
  • IO39Input-only GPIO (no output); ADC1 channel 3, Hall sensor VN.
IO36 Input-only GPIO (no output); ADC1 channel 0, Hall sensor VP. Other

Cannot be used as output; only suitable for input (e.g., analog read).

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.

The WEMOS LOLIN32 Lite pinout brings out 26 pins at a 2.54 mm pitch - 23 usable GPIO alongside the 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, IO4, IO16, IO17, IO18 and 8 more are free of any such role - the safest first picks. 11 of the exposed pins carry boot-time or system duties on the ESP32 (IO0, IO2, IO5 and 8 more).

Pinout notes 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)…

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
Install your USB-serial driver (CH340 / CP210x) if no port appears. Not detected? Hold BOOT while plugging in.
2
Match & flash
Set the Tools options shown, then click Upload.
3
Verify it runs
GPIO4 toggles - wire an LED and resistor to it, or change the pin to your board's own LED.
Set these in Tools · leave everything else at default
Arduino IDE 2.x - Tools Copy
Board: "ESP32 Dev Module"▸
Flash Size: "4MB (32Mb)"▸
Flash Mode: "DIO"▸
Partition Scheme: "Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS)" (default)▸
Upload Speed: "921600"▸
▸ every other Tools option - leave at default
Board: ESP32 Dev Module
Flash Size: 4MB (32Mb)
Flash Mode: DIO
Partition Scheme: Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS)
Upload Speed: 921600
Find it: Tools ▸ Board ▸ ESP32 Arduino ▸ ESP32 Dev Module
blink.ino Copy
// toggle GPIO4 - wire an LED and resistor to it
void setup() {
  pinMode(4, OUTPUT);
}
void loop() {
  digitalWrite(4, HIGH); delay(500);
  digitalWrite(4, LOW);  delay(500);
}
board to selectesp32dev⧉ copy
platformio.ini Copy
[env:lolin32-lite]
platform = espressif32
board = esp32dev
framework = arduino
monitor_speed = 115200
upload_speed = 921600
Find it: PlatformIO Home ▸ Boards, search esp32dev - or type it after board =.
board to selectesp32dev⧉ copy
device.yaml Copy
esp32:
  board: esp32dev
  variant: esp32
  framework:
    type: esp-idf

# blink - GPIO4
output:
  - platform: gpio
    pin: 4
    id: led_out
light:
  - platform: binary
    name: "LED"
    output: led_out
Find it: search ESPHome's board list for esp32dev (same ids as PlatformIO).
esptool doesn't pick board settings - a prebuilt .bin already has them baked in. This is just the raw flash command.
terminal Copy
esptool.py --chip esp32 --port /dev/ttyACM0 \
  --baud 921600 write_flash 0x1000 firmware.bin
--port = your /dev/tty* (macOS/Linux) or COMx (Windows).
Build details: sketch space 1310720 B · data 327680 B · DIO

Downloads

Free for non-commercial use, credit espboards.dev · License
WEMOS LOLIN32 Lite board illustration, front

Board illustration

The bare WEMOS LOLIN32 Lite board drawn to scale at 49.5 × 25.4 mm, with no pin labels on it. Made for slide decks, wiring diagrams and project write-ups where a photo is too busy. Take the scalable SVG for print or editing, the high-resolution PNG to drop straight in, or the transparent PNG when you need it with no background behind it.

WEMOS LOLIN32 Lite pinout diagram

Pinout diagram

Every pin on both sides of the board with its functions, drawn by ESPboards from the ESP32 Series Datasheet v5.3 - the same sheet shown at the top of this page. The PNG is a high-resolution image for screens, the SVG is vector so it stays sharp at any size, and the PDF is laid out to print on A4 or Letter.

Free for non-commercial use, with the credit line kept.

Embed the WEMOS LOLIN32 Lite pinout

Paste this where you want the diagram. Keep the credit line - it is what the licence asks for, and it is the only thing we want in return.

<figure>
  <img src="https://cdn.espboards.net/boards/lolin32-lite/diagram-1600.png"
       alt="WEMOS LOLIN32 Lite pinout diagram" width="1600" loading="lazy">
  <figcaption>
    WEMOS LOLIN32 Lite pinout by
    <a href="https://www.espboards.dev/esp32/lolin32-lite/">ESPboards</a>,
    <a href="https://creativecommons.org/licenses/by-nc/4.0/">CC BY-NC 4.0</a>
  </figcaption>
</figure>

Using it commercially? Ask us first - it takes one email.

Yours to use, share and adapt for non-commercial work, as long as you credit espboards.dev - the full terms and ready-made credit lines are here.

Specifications

ESP32 · 49.5 × 25.4 mm · vs other ESP32 chips →
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 · 2
PWM
16 channels
Power
USB
Micro-USB
Serial
CH340C
Boot address
0x1000
Electrical
Input
5V USB · 3.7V LiPo
Consumption
-
Regulator
-
Flashing
Upload · OTA
esptool_py · esp_ota
Flash · Boot mode
DIO · DIO
Sketch · Data
1.25 MB · 320 KB

Dimensions

WEMOS LOLIN32 Lite board, drawn to scale
25.4 mm49.5 mm
49.5 × 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