
LOLIN(WEMOS) D1 R2 & mini is a development board based on the ESP8266 microcontroller using XTENSA LX106 architecture.
This board features a maximum CPU frequency of 160 MHz and 4 MB flash memory.
About LOLIN(WEMOS) D1 R2 & mini
Compact and full-size ESP8266 dev boards - perfect for IoT projects using Arduino-style pins.
Where to Buy LOLIN(WEMOS) D1 R2 & mini
Prices are subject to change. We earn from qualifying purchases as an Amazon Associate.
📋 Technical Specifications
Complete technical specification details for LOLIN(WEMOS) D1 R2 & mini
🛰️ Connectivity
🧠 Microcontroller
LOLIN(WEMOS) D1 R2 & mini Pinout Diagram
Complete pin reference for LOLIN(WEMOS) D1 R2 & mini

The pinout diagram for this ESP32-based module highlights its versatility and ease of use for IoT and embedded projects. The module includes a RST pin for resetting the board, which is crucial for debugging and testing. On the power side, the board provides a 3.3V output pin and VBUS for powering external components, along with multiple GND pins to ensure proper grounding.
This pinout features a range of GPIO pins, such as GPIO16, GPIO14, GPIO15, and GPIO4, all of which are multi-functional and can be used for both digital I/O and peripheral interfacing. Communication protocols are well-supported, with dedicated pins for SPI, including SCK (GPIO14), MISO (GPIO12), and MOSI (GPIO13). These pins enable high-speed communication with external devices like sensors, displays, and storage modules.
For I2C communication, the board uses GPIO5 for SCL and GPIO4 for SDA, making it easy to connect to peripherals like temperature sensors, accelerometers, or OLED displays. A built-in LED is connected to GPIO2, allowing developers to use it for visual feedback or debugging during project development.
Useful Links
Datasheets and resources for LOLIN(WEMOS) D1 R2 & mini
Pin Mappings
Complete pinout and GPIO mapping for LOLIN(WEMOS) D1 R2 & mini
| Pin | Analog | Touch | PWM | Other |
|---|---|---|---|---|
| 0 | ||||
| 1 | TX | |||
| 2 | LED_BUILTIN | |||
| 3 | RX | |||
| 4 | ||||
| 5 | ||||
| 12 | ||||
| 13 | ||||
| 14 | ||||
| 15 | ||||
| 16 | ||||
| PIN_WIRE_SDA | SDA | |||
| PIN_WIRE_SCL | SCL |
Default Tools & Configuration
Build and upload settings for LOLIN(WEMOS) D1 R2 & mini
| Setting | Value |
|---|---|
| Uploader tool | esptool |
| Flash mode | dio |
| Maximum data size | 80 KB (81920 bytes) |
The LOLIN(WEMOS) D1 R2 & mini uses esptool for uploads , and bootloader at .
Flash mode: dio | Boot mode:



