The Wemos D1 R32 is a versatile microcontroller board based on the powerful ESP32 chip. It offers both Wi-Fi and Bluetooth connectivity, making it an excellent choice for a wide range of IoT and embedded applications. The board is compatible with the Arduino IDE, which simplifies the development process for both beginners and experienced users.
Specification | Value |
---|---|
Microcontroller | ESP32 |
Operating Voltage | 3.3V |
Input Voltage | 7-12V |
Digital I/O Pins | 34 |
Analog Input Pins | 16 |
Flash Memory | 4MB |
SRAM | 520KB |
Clock Speed | 240 MHz |
Wi-Fi | 802.11 b/g/n |
Bluetooth | v4.2 BR/EDR and BLE |
Dimensions | 68.6mm x 53.4mm |
Pin Number | Pin Name | Description |
---|---|---|
1 | 3V3 | 3.3V Power Output |
2 | GND | Ground |
3 | VIN | Input Voltage (7-12V) |
4 | D0 | GPIO16 |
5 | D1 | GPIO5 |
6 | D2 | GPIO4 |
7 | D3 | GPIO0 |
8 | D4 | GPIO2 |
9 | D5 | GPIO14 |
10 | D6 | GPIO12 |
11 | D7 | GPIO13 |
12 | D8 | GPIO15 |
13 | D9 | GPIO3 (RX) |
14 | D10 | GPIO1 (TX) |
15 | D11 | GPIO9 |
16 | D12 | GPIO10 |
17 | A0 | ADC1_CH0 |
18 | A1 | ADC1_CH1 |
19 | A2 | ADC1_CH2 |
20 | A3 | ADC1_CH3 |
21 | A4 | ADC1_CH4 |
22 | A5 | ADC1_CH5 |
23 | A6 | ADC1_CH6 |
24 | A7 | ADC1_CH7 |
25 | A8 | ADC1_CH8 |
26 | A9 | ADC1_CH9 |
27 | A10 | ADC1_CH10 |
28 | A11 | ADC1_CH11 |
29 | A12 | ADC1_CH12 |
30 | A13 | ADC1_CH13 |
31 | A14 | ADC1_CH14 |
32 | A15 | ADC1_CH15 |
33 | SDA | I2C Data |
34 | SCL | I2C Clock |
Powering the Board:
Connecting to Wi-Fi:
Programming the Board:
#include <WiFi.h>
// Replace with your network credentials
const char* ssid = "your_SSID";
const char* password = "your_PASSWORD";
void setup() {
Serial.begin(115200);
delay(10);
// Connect to Wi-Fi network
Serial.println();
Serial.print("Connecting to ");
Serial.println(ssid);
WiFi.begin(ssid, password);
while (WiFi.status() != WL_CONNECTED) {
delay(500);
Serial.print(".");
}
Serial.println("");
Serial.println("WiFi connected.");
Serial.println("IP address: ");
Serial.println(WiFi.localIP());
}
void loop() {
// Your code here
}
Board Not Connecting to Wi-Fi:
Upload Errors in Arduino IDE:
Board Not Powering On:
By following this documentation, you should be able to effectively utilize the Wemos D1 R32 in your projects. Whether you're a beginner or an experienced user, this board offers a robust platform for developing a wide range of IoT and embedded applications.