WEMOS D1 Mini ESP8266 Development Board
= Compact WiFi-Enabled IoT Module for Arduino Projects =
The WEMOS D1 Mini is a compact development board built around the ESP8266EX chip, offering integrated WiFi connectivity in a small form factor. It is Arduinocompatible, making it ideal for budget IoT projects and wireless sensor networks .
ArduinoCompatible WiFi Module 4MB flash, 80/160MHz CPU, and USB programming
Compact Form Factor 34.2mm x 25.6mm, stackable shield ecosystem, and breadboardfriendly
Supply voltage is 5V via MicroUSB (V4.0: USBC) or 5V pin; I/O pins operate at 3.3V logic
For Arduino IDE, select "LOLIN(WEMOS) D1 R2 & mini" board and install CH340 driver
GPIO pins are not 5V tolerant - use level shifters for 5V devices
= Technical Specifications =
| Parameter | Value |
|---|
| Microcontroller | ESP8266EX (Tensilica L106) |
| Clock Speed | 80MHz / 160MHz |
| Flash Memory | 4MB |
| SRAM | ~80KB |
| Wi-Fi | 802.11 b/g/n (2.4GHz) |
| Digital I/O | 11 pins (3.3V logic) |
| Analog Input | 1 pin (0-3.2V max) |
| USB Connector | MicroUSB (V4.0: USBC) |
| USBtoSerial | CH340 (CP2104 on Pro version) |
| Dimensions | 34.2mm x 25.6mm |
= Pin Configuration =
| Pin | Function | ESP8266 Pin | Arduino IDE |
|---|
| D0 | IO | GPIO16 | 16 |
| D1 | IO, SCL | GPIO5 | 5 |
| D2 | IO, SDA | GPIO4 | 4 |
| D3 | IO, 10k Pull-up | GPIO0 | 0 |
| D4 | IO, Built-in LED | GPIO2 | 2 |
| D5 | IO, SCK | GPIO14 | 14 |
| D6 | IO, MISO | GPIO12 | 12 |
| D7 | IO, MOSI | GPIO13 | 13 |
| D8 | IO, 10k Pull-down | GPIO15 | 15 |
| A0 | Analog Input (0-3.2V) | ADC | A0 |
| TX/RX | Serial UART | GPIO1/GPIO3 | 1/3 |
| 5V | 5V Power Input | - | - |
| 3V3 | 3.3V Output | - | - |
All GPIO pins support interrupt, PWM, I2C, and One-Wire, except D0
Use D4/GPIO2 for built-in LED (active LOW)
D3/GPIO0 must be HIGH at boot; D8/GPIO15 must be LOW at boot
= Key Features =
Integrated WiFi Builtin 2.4GHz 802.11 b/g/n with TCP/IP stack
USB Programming CH340 USBto-serial simplifies firmware uploads
Stackable Shields - Extensive ecosystem of compatible shields
Multiple Firmware - Supports Arduino IDE, MicroPython, and NodeMCU
Builtin LED User-controlled on D4/GPIO2
== Applications ==
- IoT sensors and smart home automation
- Wi-Fi remote control and monitoring
- Environmental data logging
- Weather stations and agricultural monitors
- Wi-Fi connected robotics projects
Mature Platform - Extensive community support and libraries
Affordable Entry Lowcost solution for basic IoT projects
√ Compatible with Arduino IDE, ESP-IDF, and MicroPython
√ USB port for power and programming
√ Available with MicroUSB (V3) or USBC (V4)
= Getting Started =
- Install CH340/CP2104 USB driver if needed
- In Arduino IDE, go to Preferences and add the ESP8266 board URL
- Install ESP8266 board package via Boards Manager
| 4. Select board | "LOLIN(WEMOS) D1 R2 & mini" |
- Upload sketch via USB
Use a data-capable USB cable for reliable programming
For Windows, install CH340 driver from the manufacturer
Avoid powering high-current peripherals from the 3.3V pin
USB port voltage is 5V - ensure external power matches
= Troubleshooting =
Board not detected:
- Use a datacapable USB cable (not chargeonly)
- Install CH340/CP2104 USB driver
- Try a different USB port
Upload fails:
- Check correct board selection in Arduino IDE
- Verify port selection matches connected device
- Put board into bootloader mode by holding FLASH button during upload
Wi-Fi connection issues:
- Use 2.4GHz network only (5GHz not supported)
- Verify SSID and password
- Check signal strength and range