

The ESP32-DevKitC V4 is a compact and versatile development board manufactured by ESP32. It is built around the powerful ESP32 chip, which integrates Wi-Fi and Bluetooth capabilities, making it an excellent choice for IoT (Internet of Things) applications, smart devices, and rapid prototyping. The board is designed to provide a simple and efficient platform for developers to create connected devices with minimal effort.








The following are the key technical details of the ESP32-DevKitC V4:
| Specification | Details |
|---|---|
| Microcontroller | ESP32 dual-core processor with Xtensa® 32-bit LX6 microprocessor |
| Clock Speed | Up to 240 MHz |
| Flash Memory | 4 MB (varies by model) |
| SRAM | 520 KB |
| Wireless Connectivity | Wi-Fi 802.11 b/g/n, Bluetooth v4.2 BR/EDR and BLE |
| Operating Voltage | 3.3V |
| Input Voltage | 5V (via USB) |
| GPIO Pins | 30 (varies slightly depending on the module) |
| ADC Channels | 18 |
| DAC Channels | 2 |
| Communication Interfaces | UART, SPI, I2C, I2S, CAN, PWM |
| Power Supply Options | USB or external 5V power supply |
| Dimensions | 54 mm x 27 mm |
The ESP32-DevKitC V4 features a 2x19 pin header layout. Below is the pin configuration:
| Pin Name | Description |
|---|---|
| GND | Ground pin |
| 3V3 | 3.3V power output |
| EN | Enable pin (active high, used to reset the chip) |
| IO0 | GPIO0, used for boot mode selection during programming |
| IO2 | GPIO2, general-purpose I/O |
| IO4 | GPIO4, general-purpose I/O |
| IO5 | GPIO5, general-purpose I/O |
| IO12 | GPIO12, general-purpose I/O |
| IO13 | GPIO13, general-purpose I/O |
| IO14 | GPIO14, general-purpose I/O |
| IO15 | GPIO15, general-purpose I/O |
| IO16 | GPIO16, general-purpose I/O |
| IO17 | GPIO17, general-purpose I/O |
| IO18 | GPIO18, general-purpose I/O |
| IO19 | GPIO19, general-purpose I/O |
| IO21 | GPIO21, general-purpose I/O |
| IO22 | GPIO22, general-purpose I/O |
| IO23 | GPIO23, general-purpose I/O |
| IO25 | GPIO25, general-purpose I/O |
| IO26 | GPIO26, general-purpose I/O |
| IO27 | GPIO27, general-purpose I/O |
| IO32 | GPIO32, general-purpose I/O |
| IO33 | GPIO33, general-purpose I/O |
| IO34 | GPIO34, input-only GPIO |
| IO35 | GPIO35, input-only GPIO |
| VIN | Input voltage (5V) |
Powering the Board:
Programming the Board:
Connecting Peripherals:
Uploading Code:
The following example demonstrates how to connect the ESP32-DevKitC V4 to a Wi-Fi network and print the IP address:
#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
void setup() {
Serial.begin(115200); // Initialize serial communication at 115200 baud
delay(1000); // Wait for a moment to stabilize
Serial.println("Connecting to Wi-Fi...");
WiFi.begin(ssid, password); // Start connecting to Wi-Fi
while (WiFi.status() != WL_CONNECTED) {
delay(500); // Wait for connection
Serial.print(".");
}
Serial.println("\nWi-Fi connected!");
Serial.print("IP Address: ");
Serial.println(WiFi.localIP()); // Print the assigned IP address
}
void loop() {
// Add your main code here
}
Board Not Detected by Computer:
Code Upload Fails:
Wi-Fi Connection Issues:
Random Resets or Instability:
Q: Can I use the ESP32-DevKitC V4 with 5V sensors?
A: The GPIO pins operate at 3.3V. Use a level shifter to interface with 5V sensors.
Q: How do I reset the board?
A: Press the EN button to reset the board.
Q: Can I use the ESP32-DevKitC V4 for battery-powered projects?
A: Yes, you can power the board using a 3.7V LiPo battery with a suitable voltage regulator.
Q: How do I enable Bluetooth functionality?
A: Use the built-in Bluetooth library in the Arduino IDE or ESP-IDF to configure and use Bluetooth.
This concludes the documentation for the ESP32-DevKitC V4.