LOLIN(WEMOS) D1 ESP-WROOM-02

ESP8266 board with WROOM-02 module - Arduino Uno layout with full Wi-Fi capabilities.

Micro-USB
LOLIN(WEMOS) D1 ESP-WROOM-02 board
68.6 × 53.4 mm
ESP8266
MCU
160MHz
clock
4MB
flash
~80KB
SRAM
17· 1 ADC
GPIO
Wi-Fi
radio
On this page

Pinout

View:
LOLIN(WEMOS) D1 ESP-WROOM-02 pinout diagram

Getting started

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

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

# blink - GPIO8
output:
  - platform: gpio
    pin: 8
    id: led_out
light:
  - platform: binary
    name: "LED"
    output: led_out
shell Copy
esptool.py --chip esp8266 --port /dev/ttyACM0 \
  write_flash 0x0 firmware.bin

Specifications

ESP8266 · 68.6 × 53.4 mm
Compute
MCU
ESP8266
Clock
160 MHz
SRAM · Flash
~80 KB · 4 MB
Radio
Wi-Fi
802.11 b/g/n
Bluetooth
-
Antenna
PCB
I/O
GPIO · ADC
17 · 1
UART · I²C · SPI
2 · 1 · 2
PWM
-
Power
USB
Micro-USB
Serial
-
Boot address
0x0000
Flashing
Upload · OTA
esptool · esp_ota
Flash · Boot mode
DIO · -
Sketch · Data
- · 80 KB
53.4 mm68.6 mm
68.6 × 53.4 mm · pin pitch 2.54 mm
The LOLIN(WEMOS) D1 ESP-WROOM-02 uses esptool for firmware uploads, esp_ota for over-the-air (OTA) updates. Flash mode is DIO.

About this board

The WeMos D1 ESP-WROOM-02 (also written as LOLIN D1 WROOM-02, LOLIN(WEMOS) D1 ESP-WROOM-02, or ESP WROOM 02 D1) is a Wi-Fi development board built around Espressif's ESP-WROOM-02 module, which packages the ESP8266 (Xtensa LX106) with 4 MB of flash and an on-board PCB antenna. It uses an Arduino Uno-style layout, so standard headers and many shields plug in directly, making it handy for Wi-Fi sensors, home automation, and general IoT prototyping. In this guide, you'll find the WeMos D1 ESP-WROOM-02 pinout, datasheet, technical specs, and setup instructions.

Resources

Similar boards