Cirkit Designer Logo
Cirkit Designer
Your all-in-one circuit design IDE
Home / 
Component Documentation

How to Use ESP32 DevKit V1 (30-pin): Examples, Pinouts, and Specs

Image of ESP32 DevKit V1 (30-pin)
Cirkit Designer LogoDesign with ESP32 DevKit V1 (30-pin) in Cirkit Designer

Introduction

The ESP32 DevKit V1 (30-pin) is a versatile development board based on the ESP32 chip, which integrates Wi-Fi and Bluetooth capabilities. This board is widely used in Internet of Things (IoT) applications, home automation, wearable devices, and rapid prototyping. Its compact design, powerful processing capabilities, and extensive connectivity options make it a popular choice for both hobbyists and professionals.

Explore Projects Built with ESP32 DevKit V1 (30-pin)

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
ESP32 and Logic Level Converter-Based Wi-Fi Controlled Interface
Image of Toshiba AC ESP32 devkit v1: A project utilizing ESP32 DevKit V1 (30-pin) in a practical application
This circuit features an ESP32 Devkit V1 microcontroller connected to a Bi-Directional Logic Level Converter, which facilitates voltage level shifting between the ESP32 and external components. The ESP32 is powered through its VIN pin via an alligator clip cable, and the logic level converter is connected to various pins on the ESP32 to manage different voltage levels for communication.
Cirkit Designer LogoOpen Project in Cirkit Designer
ESP32-Based Environmental Monitoring System with Water Flow Sensing
Image of Water: A project utilizing ESP32 DevKit V1 (30-pin) in a practical application
This circuit features an ESP32 Devkit V1 microcontroller connected to a DHT22 temperature and humidity sensor and a water flow sensor. The ESP32 reads environmental data from the DHT22 via a digital input pin (D33) and monitors water flow through the water flow sensor connected to another digital input pin (D23). The ESP32 is powered through its VIN pin, and both sensors are powered by the ESP32's 3V3 output, with common ground connections.
Cirkit Designer LogoOpen Project in Cirkit Designer
ESP32 Devkit V1 and OLED Display Bitmap Viewer
Image of Esp32_monochromeimage: A project utilizing ESP32 DevKit V1 (30-pin) in a practical application
This circuit consists of an ESP32 Devkit V1 microcontroller connected to a 1.3" OLED display via I2C communication. The ESP32 initializes the OLED display and renders a predefined bitmap image on it.
Cirkit Designer LogoOpen Project in Cirkit Designer
Battery-Powered ESP32 Data Logger with Oscilloscope Monitoring
Image of electromiografia: A project utilizing ESP32 DevKit V1 (30-pin) in a practical application
This circuit features an ESP32 microcontroller powered by a 7V battery, with its ground connected to a common ground. The ESP32's D35 pin is monitored by a mixed signal oscilloscope, and an alligator clip cable is used to connect the oscilloscope's second channel to the common ground.
Cirkit Designer LogoOpen Project in Cirkit Designer

Explore Projects Built with ESP32 DevKit V1 (30-pin)

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Image of Toshiba AC ESP32 devkit v1: A project utilizing ESP32 DevKit V1 (30-pin) in a practical application
ESP32 and Logic Level Converter-Based Wi-Fi Controlled Interface
This circuit features an ESP32 Devkit V1 microcontroller connected to a Bi-Directional Logic Level Converter, which facilitates voltage level shifting between the ESP32 and external components. The ESP32 is powered through its VIN pin via an alligator clip cable, and the logic level converter is connected to various pins on the ESP32 to manage different voltage levels for communication.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of Water: A project utilizing ESP32 DevKit V1 (30-pin) in a practical application
ESP32-Based Environmental Monitoring System with Water Flow Sensing
This circuit features an ESP32 Devkit V1 microcontroller connected to a DHT22 temperature and humidity sensor and a water flow sensor. The ESP32 reads environmental data from the DHT22 via a digital input pin (D33) and monitors water flow through the water flow sensor connected to another digital input pin (D23). The ESP32 is powered through its VIN pin, and both sensors are powered by the ESP32's 3V3 output, with common ground connections.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of Esp32_monochromeimage: A project utilizing ESP32 DevKit V1 (30-pin) in a practical application
ESP32 Devkit V1 and OLED Display Bitmap Viewer
This circuit consists of an ESP32 Devkit V1 microcontroller connected to a 1.3" OLED display via I2C communication. The ESP32 initializes the OLED display and renders a predefined bitmap image on it.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of electromiografia: A project utilizing ESP32 DevKit V1 (30-pin) in a practical application
Battery-Powered ESP32 Data Logger with Oscilloscope Monitoring
This circuit features an ESP32 microcontroller powered by a 7V battery, with its ground connected to a common ground. The ESP32's D35 pin is monitored by a mixed signal oscilloscope, and an alligator clip cable is used to connect the oscilloscope's second channel to the common ground.
Cirkit Designer LogoOpen Project in Cirkit Designer

Common Applications

  • IoT devices and smart home systems
  • Wireless sensor networks
  • Wearable technology
  • Robotics and automation
  • Prototyping for Wi-Fi and Bluetooth-enabled projects

Technical Specifications

The ESP32 DevKit V1 (30-pin) is equipped with robust hardware features that make it suitable for a wide range of applications. Below are the key technical details:

Key Features

  • Microcontroller: ESP32-D0WDQ6 chip
  • Wireless Connectivity: Wi-Fi (802.11 b/g/n) and Bluetooth (v4.2 BR/EDR and BLE)
  • Operating Voltage: 3.3V
  • Input Voltage (VIN): 5V (via USB or external power supply)
  • Flash Memory: 4MB
  • GPIO Pins: 30 pins (including ADC, DAC, PWM, I2C, SPI, UART)
  • Clock Speed: Up to 240 MHz
  • Power Consumption: Ultra-low power consumption in deep sleep mode (~10 µA)
  • Dimensions: 51mm x 25.5mm

Pin Configuration and Descriptions

The ESP32 DevKit V1 has 30 pins, each serving specific functions. Below is the pinout description:

Pin Name Function
1 EN Enable pin. Pulling this pin LOW resets the chip.
2 IO0 GPIO0. Used for boot mode selection during programming.
3 IO1 (TX0) GPIO1. UART0 TX pin.
4 IO3 (RX0) GPIO3. UART0 RX pin.
5 IO4 GPIO4. General-purpose I/O pin.
6 IO5 GPIO5. General-purpose I/O pin.
7 VIN Input voltage (5V).
8 GND Ground.
9 IO12 GPIO12. Can be used as ADC2 or touch sensor.
10 IO13 GPIO13. Can be used as ADC2 or touch sensor.
11 IO14 GPIO14. Can be used as ADC2 or touch sensor.
12 IO15 GPIO15. Can be used as ADC2 or touch sensor.
13 IO16 GPIO16. General-purpose I/O pin.
14 IO17 GPIO17. General-purpose I/O pin.
15 IO18 GPIO18. SPI clock (SCK) pin.
16 IO19 GPIO19. SPI master-out/slave-in (MOSI) pin.
17 IO21 GPIO21. I2C data (SDA) pin.
18 IO22 GPIO22. I2C clock (SCL) pin.
19 IO23 GPIO23. SPI master-in/slave-out (MISO) pin.
20 IO25 GPIO25. Can be used as DAC1 or ADC2.
21 IO26 GPIO26. Can be used as DAC2 or ADC2.
22 IO27 GPIO27. General-purpose I/O pin.
23 IO32 GPIO32. Can be used as ADC1 or touch sensor.
24 IO33 GPIO33. Can be used as ADC1 or touch sensor.
25 IO34 GPIO34. Input-only pin.
26 IO35 GPIO35. Input-only pin.
27 3V3 3.3V output pin.
28 GND Ground.
29 IO36 (VP) GPIO36. Input-only pin, ADC1 channel.
30 IO39 (VN) GPIO39. Input-only pin, ADC1 channel.

Usage Instructions

The ESP32 DevKit V1 is easy to use and can be programmed using the Arduino IDE or other development environments like PlatformIO. Below are the steps to get started:

Setting Up the ESP32 DevKit V1

  1. Install the Arduino IDE:
  2. Install the ESP32 Board Package:
    • Open the Arduino IDE and go to File > Preferences.
    • In the "Additional Board Manager URLs" field, add the following URL:
      https://dl.espressif.com/dl/package_esp32_index.json
      
    • Go to Tools > Board > Boards Manager, search for "ESP32", and install the package.
  3. Connect the Board:
    • Use a micro-USB cable to connect the ESP32 DevKit V1 to your computer.
    • Select the correct board (ESP32 Dev Module) and port under the Tools menu.

Example Code: Blinking an LED

The following example demonstrates how to blink an LED connected to GPIO2:

// Define the GPIO pin for the LED
const int ledPin = 2;

void setup() {
  // Set the LED pin as an output
  pinMode(ledPin, OUTPUT);
}

void loop() {
  // Turn the LED on
  digitalWrite(ledPin, HIGH);
  delay(1000); // Wait for 1 second

  // Turn the LED off
  digitalWrite(ledPin, LOW);
  delay(1000); // Wait for 1 second
}

Important Considerations

  • Power Supply: Ensure the board is powered with 5V via the VIN pin or USB. Avoid exceeding the voltage limits.
  • GPIO Voltage Levels: The GPIO pins operate at 3.3V. Connecting 5V signals directly to the pins may damage the board.
  • Boot Mode: To upload code, ensure GPIO0 is not pulled LOW unless explicitly required for flashing.

Troubleshooting and FAQs

Common Issues

  1. The board is not detected by the computer:
    • Ensure the USB cable is functional and supports data transfer.
    • Install the necessary USB-to-serial drivers (e.g., CP2102 or CH340, depending on your board).
  2. Upload error in Arduino IDE:
    • Check that the correct board and port are selected in the Tools menu.
    • Press and hold the "BOOT" button on the board while uploading the code.
  3. Wi-Fi connection issues:
    • Verify the SSID and password in your code.
    • Ensure the Wi-Fi network is within range and supports 2.4 GHz (ESP32 does not support 5 GHz).

FAQs

  • Q: Can I power the ESP32 DevKit V1 with a battery?
    A: Yes, you can use a 3.7V LiPo battery connected to the 3V3 pin or a 5V source connected to the VIN pin.

  • Q: How do I reset the board?
    A: Press the "EN" button on the board to reset it.

  • Q: Can I use the ESP32 DevKit V1 with Bluetooth?
    A: Yes, the ESP32 supports both Bluetooth Classic and BLE. You can use libraries like BluetoothSerial or ESP32 BLE Arduino for development.

This concludes the documentation for the ESP32 DevKit V1 (30-pin). Happy prototyping!