

The ESP32 LOLIN D32 Pro V2.0.0 is a versatile development board built around the powerful ESP32 chip. It offers dual-mode Wi-Fi and Bluetooth connectivity, making it an excellent choice for Internet of Things (IoT) applications. With its multiple GPIO pins, onboard flash memory, and support for various sensors and modules, this board is ideal for prototyping and deploying smart devices, home automation systems, and wireless communication projects.








The ESP32 LOLIN D32 Pro V2.0.0 is packed with features that make it a powerful and flexible development board. Below are its key technical details:
| Specification | Value |
|---|---|
| Microcontroller | ESP32 dual-core Xtensa LX6 |
| Clock Speed | Up to 240 MHz |
| Flash Memory | 16 MB |
| PSRAM | 8 MB |
| Wi-Fi Standard | 802.11 b/g/n |
| Bluetooth | v4.2 BR/EDR and BLE |
| Operating Voltage | 3.3V |
| Input Voltage (via USB) | 5V |
| GPIO Pins | 26 (multipurpose) |
| ADC Channels | 18 (12-bit resolution) |
| DAC Channels | 2 |
| Communication Interfaces | UART, SPI, I2C, I2S, CAN, PWM |
| Dimensions | 58 mm x 25.5 mm |
The ESP32 LOLIN D32 Pro V2.0.0 features a variety of pins for different functionalities. Below is the pinout description:
| Pin Name | Functionality | Description |
|---|---|---|
| VIN | Power Input | Accepts 5V input via USB or external source. |
| 3V3 | Power Output | Provides 3.3V output for external components. |
| GND | Ground | Common ground for the circuit. |
| GPIO0 | General Purpose I/O, Boot Mode | Used for programming and boot selection. |
| GPIO2 | General Purpose I/O, ADC, Touch | Multipurpose pin with ADC and touch support. |
| GPIO4 | General Purpose I/O, ADC, PWM | Supports ADC and PWM functionalities. |
| GPIO21 | I2C SDA | Data line for I2C communication. |
| GPIO22 | I2C SCL | Clock line for I2C communication. |
| GPIO34 | ADC | Analog input only (no digital output). |
| EN | Enable | Resets the board when pulled low. |
For a complete pinout diagram, refer to the official datasheet or pinout documentation.
Powering the Board:
Programming the Board:
Connecting Peripherals:
Wi-Fi and Bluetooth Setup:
WiFi.h and BluetoothSerial.h in Arduino) to configure wireless communication.Below is an example of how to connect the ESP32 LOLIN D32 Pro to a Wi-Fi network and control an LED:
#include <WiFi.h> // Include the Wi-Fi library
// Replace with your network credentials
const char* ssid = "Your_SSID";
const char* password = "Your_PASSWORD";
const int ledPin = 2; // GPIO2 is connected to the onboard LED
void setup() {
pinMode(ledPin, OUTPUT); // Set GPIO2 as an output
Serial.begin(115200); // Start serial communication
// Connect to Wi-Fi
Serial.print("Connecting to Wi-Fi");
WiFi.begin(ssid, password);
while (WiFi.status() != WL_CONNECTED) {
delay(500);
Serial.print(".");
}
Serial.println("\nWi-Fi connected!");
Serial.print("IP Address: ");
Serial.println(WiFi.localIP());
}
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
}
The board is not detected by the computer:
Wi-Fi connection fails:
Code upload fails:
GPIO pins not working as expected:
Q: Can I power the board with a battery?
A: Yes, you can connect a LiPo battery to the JST connector on the board. Ensure the battery voltage is compatible.
Q: Does the board support OTA updates?
A: Yes, the ESP32 supports Over-The-Air (OTA) updates. Use the ArduinoOTA library for implementation.
Q: Can I use the board with MicroPython?
A: Absolutely! The ESP32 is compatible with MicroPython. Flash the MicroPython firmware to get started.
Q: What is the maximum current draw of the board?
A: The ESP32 can draw up to 500 mA during peak operation, especially when using Wi-Fi or Bluetooth. Ensure your power source can handle this.
This documentation provides a comprehensive guide to using the ESP32 LOLIN D32 Pro V2.0.0. For further details, refer to the official datasheet or community forums.