

The WEMOS ESP32 D1 R32 is a versatile microcontroller board based on the powerful ESP32 chip. It combines robust processing capabilities with built-in Wi-Fi and Bluetooth connectivity, making it an excellent choice for Internet of Things (IoT) projects, wireless communication, and rapid prototyping. Its Arduino UNO form factor ensures compatibility with a wide range of shields and accessories, making it user-friendly for both beginners and experienced developers.








The WEMOS ESP32 D1 R32 offers a range of features and specifications that make it a powerful and flexible development board.
The WEMOS ESP32 D1 R32 pinout is designed to be compatible with Arduino shields while providing access to the ESP32's advanced features.
| Pin | Label | Description |
|---|---|---|
| 1 | VIN | Input voltage (7-12V) for powering the board. |
| 2 | 3V3 | 3.3V output for powering external components. |
| 3 | GND | Ground pin. |
| 4 | D0-D13 | Digital I/O pins (can be used for GPIO, PWM, etc.). |
| 5 | A0-A5 | Analog input pins (ADC). |
| 6 | TX, RX | UART communication pins. |
| 7 | SCL, SDA | I2C communication pins. |
| 8 | SPI (MISO, MOSI, SCK, SS) | SPI communication pins. |
| 9 | EN | Enable pin to reset the board. |
| 10 | RST | Reset pin to restart the microcontroller. |
The WEMOS ESP32 D1 R32 is easy to use and program, especially with the Arduino IDE. Below are the steps to get started and some best practices for using the board.
WEMOS D1 R32) and port in the Arduino IDE.Below is an example of how to connect the WEMOS ESP32 D1 R32 to a Wi-Fi network and blink an LED.
#include <WiFi.h> // Include the Wi-Fi library
const char* ssid = "Your_SSID"; // Replace with your Wi-Fi network name
const char* password = "Your_PASSWORD"; // Replace with your Wi-Fi password
const int ledPin = 2; // Built-in LED pin (GPIO2)
void setup() {
pinMode(ledPin, OUTPUT); // Set the LED pin as an output
Serial.begin(115200); // Start the serial communication
Serial.println("Connecting to Wi-Fi...");
WiFi.begin(ssid, password); // Connect to the Wi-Fi network
while (WiFi.status() != WL_CONNECTED) {
delay(500); // Wait for the connection to establish
Serial.print(".");
}
Serial.println("\nWi-Fi connected!");
Serial.print("IP Address: ");
Serial.println(WiFi.localIP()); // Print the device's IP address
}
void loop() {
digitalWrite(ledPin, HIGH); // Turn the LED on
delay(1000); // Wait for 1 second
digitalWrite(ledPin, LOW); // Turn the LED off
delay(1000); // Wait for 1 second
}
Serial.print() statements to debug your code and monitor the board's behavior.By following this documentation, you can effectively utilize the WEMOS ESP32 D1 R32 for a wide range of projects and applications.