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

How to Use ESP32 DOIT DEV KIT1: Examples, Pinouts, and Specs

Image of ESP32 DOIT DEV KIT1
Cirkit Designer LogoDesign with ESP32 DOIT DEV KIT1 in Cirkit Designer

Introduction

The ESP32 DOIT DEV KIT1, manufactured by Espressif Systems (Part ID: ISM2.4G 802.11/b/g/n), is a versatile development board built around the ESP32 chip. It features integrated Wi-Fi and Bluetooth capabilities, making it an excellent choice for Internet of Things (IoT) projects, smart devices, and wireless communication applications. Its compact design, powerful processing capabilities, and extensive GPIO options make it suitable for both beginners and advanced developers.

Explore Projects Built with ESP32 DOIT DEV KIT1

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 Devkit V1 and OLED Display Bitmap Viewer
Image of Esp32_monochromeimage: A project utilizing ESP32 DOIT DEV KIT1 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
ESP32-Based Smart Weather and Health Monitoring System with Wi-Fi Connectivity
Image of Health Monitoring System: A project utilizing ESP32 DOIT DEV KIT1 in a practical application
This circuit uses an ESP32 Devkit V1 microcontroller to interface with multiple sensors, including a DHT11 temperature and humidity sensor, a DS18B20 temperature sensor, and a MAX30102 pulse oximeter and heart-rate sensor. The ESP32 reads data from these sensors and can process or transmit the information for further use.
Cirkit Designer LogoOpen Project in Cirkit Designer
ESP32-Based Environmental Monitoring and Alert System with Solar Charging
Image of mark: A project utilizing ESP32 DOIT DEV KIT1 in a practical application
This circuit features an ESP32 Devkit V1 microcontroller connected to various sensors and modules for monitoring and communication purposes. It includes an MQ-2 gas sensor and a DHT11 temperature and humidity sensor, both interfaced with the ESP32 for environmental data collection. The circuit is powered by a 12V battery, regulated to 5V by step-down converters, and includes a solar charge controller connected to a solar panel for battery charging, a UPS module for power management, and a SIM900A module for GSM communication. Additionally, there is a WS2812 RGB LED strip for visual feedback and a piezo buzzer for audio alerts, both controlled by the ESP32.
Cirkit Designer LogoOpen Project in Cirkit Designer
ESP32-Controlled Smart Relay System with Motion Detection and Manual Override
Image of home automation: A project utilizing ESP32 DOIT DEV KIT1 in a practical application
This circuit features an ESP32 Devkit V1 microcontroller connected to a 4-channel 5V relay module, multiple pushbuttons, a PIR motion sensor, and a green LED. The ESP32 controls the relay channels, which in turn can switch AC-powered devices (bulbs) connected via sockets. The pushbuttons and PIR sensor provide input signals to the ESP32, which can be programmed to respond to these inputs by toggling the state of the relays and the LED.
Cirkit Designer LogoOpen Project in Cirkit Designer

Explore Projects Built with ESP32 DOIT DEV KIT1

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 Esp32_monochromeimage: A project utilizing ESP32 DOIT DEV KIT1 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 Health Monitoring System: A project utilizing ESP32 DOIT DEV KIT1 in a practical application
ESP32-Based Smart Weather and Health Monitoring System with Wi-Fi Connectivity
This circuit uses an ESP32 Devkit V1 microcontroller to interface with multiple sensors, including a DHT11 temperature and humidity sensor, a DS18B20 temperature sensor, and a MAX30102 pulse oximeter and heart-rate sensor. The ESP32 reads data from these sensors and can process or transmit the information for further use.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of mark: A project utilizing ESP32 DOIT DEV KIT1 in a practical application
ESP32-Based Environmental Monitoring and Alert System with Solar Charging
This circuit features an ESP32 Devkit V1 microcontroller connected to various sensors and modules for monitoring and communication purposes. It includes an MQ-2 gas sensor and a DHT11 temperature and humidity sensor, both interfaced with the ESP32 for environmental data collection. The circuit is powered by a 12V battery, regulated to 5V by step-down converters, and includes a solar charge controller connected to a solar panel for battery charging, a UPS module for power management, and a SIM900A module for GSM communication. Additionally, there is a WS2812 RGB LED strip for visual feedback and a piezo buzzer for audio alerts, both controlled by the ESP32.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of home automation: A project utilizing ESP32 DOIT DEV KIT1 in a practical application
ESP32-Controlled Smart Relay System with Motion Detection and Manual Override
This circuit features an ESP32 Devkit V1 microcontroller connected to a 4-channel 5V relay module, multiple pushbuttons, a PIR motion sensor, and a green LED. The ESP32 controls the relay channels, which in turn can switch AC-powered devices (bulbs) connected via sockets. The pushbuttons and PIR sensor provide input signals to the ESP32, which can be programmed to respond to these inputs by toggling the state of the relays and the LED.
Cirkit Designer LogoOpen Project in Cirkit Designer

Common Applications

  • IoT devices and smart home automation
  • Wireless sensor networks
  • Wearable technology
  • Robotics and drones
  • Data logging and remote monitoring
  • Bluetooth Low Energy (BLE) applications

Technical Specifications

Key Technical Details

Parameter Value
Microcontroller ESP32 Dual-Core Xtensa LX6
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 + BLE
Operating Voltage 3.3V
Input Voltage (VIN) 5V (via USB) or 7-12V (via VIN pin)
GPIO Pins 30 (including ADC, DAC, PWM, I2C, SPI, UART)
ADC Resolution 12-bit
DAC Resolution 8-bit
Power Consumption Ultra-low power consumption in deep sleep mode (~10 µA)
Dimensions 54 mm x 27 mm

Pin Configuration and Descriptions

The ESP32 DOIT DEV KIT1 has a total of 30 GPIO pins, which can be configured for various functions. Below is the pinout description:

Pin Function Description
VIN Power Input Accepts 7-12V input for powering the board.
3V3 Power Output Provides 3.3V output for external components.
GND Ground Common ground pin.
EN Enable Enables or disables the chip. Active high.
IO0 GPIO0 / Boot Mode Used for boot mode selection during programming.
IO2 GPIO2 General-purpose I/O pin.
IO4 GPIO4 General-purpose I/O pin.
IO5 GPIO5 General-purpose I/O pin.
IO12 GPIO12 / ADC2_CH5 General-purpose I/O or ADC input.
IO13 GPIO13 / ADC2_CH4 General-purpose I/O or ADC input.
IO14 GPIO14 / ADC2_CH6 General-purpose I/O or ADC input.
IO15 GPIO15 / ADC2_CH3 General-purpose I/O or ADC input.
IO16 GPIO16 General-purpose I/O pin.
IO17 GPIO17 General-purpose I/O pin.
IO18 GPIO18 / SPI_CLK General-purpose I/O or SPI clock pin.
IO19 GPIO19 / SPI_MISO General-purpose I/O or SPI MISO pin.
IO21 GPIO21 / I2C_SDA General-purpose I/O or I2C data pin.
IO22 GPIO22 / I2C_SCL General-purpose I/O or I2C clock pin.
IO23 GPIO23 / SPI_MOSI General-purpose I/O or SPI MOSI pin.
IO25 GPIO25 / DAC1 General-purpose I/O or DAC output.
IO26 GPIO26 / DAC2 General-purpose I/O or DAC output.
IO27 GPIO27 General-purpose I/O pin.
IO32 GPIO32 / ADC1_CH4 General-purpose I/O or ADC input.
IO33 GPIO33 / ADC1_CH5 General-purpose I/O or ADC input.
IO34 GPIO34 / ADC1_CH6 (Input Only) ADC input only.
IO35 GPIO35 / ADC1_CH7 (Input Only) ADC input only.
IO36 GPIO36 / ADC1_CH0 (Input Only) ADC input only.
IO39 GPIO39 / ADC1_CH3 (Input Only) ADC input only.

Usage Instructions

How to Use the ESP32 DOIT DEV KIT1 in a Circuit

  1. Powering the Board:

    • Connect the board to your computer via a micro-USB cable for programming and power.
    • Alternatively, supply 7-12V to the VIN pin for standalone operation.
  2. Programming the Board:

    • Install the Arduino IDE and add the ESP32 board support package.
    • Select "DOIT ESP32 DEVKIT V1" from the board manager.
    • Connect the board to your computer and upload your code.
  3. Connecting Peripherals:

    • Use the GPIO pins to connect sensors, actuators, or other peripherals.
    • Ensure that the voltage levels of connected devices are compatible with the ESP32 (3.3V logic).
  4. Wi-Fi and Bluetooth Setup:

    • Use the built-in Wi-Fi and Bluetooth libraries in the Arduino IDE to configure wireless communication.

Example Code for Arduino IDE

The following example demonstrates how to connect the ESP32 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);

  Serial.println("Connecting to Wi-Fi...");
  WiFi.begin(ssid, password); // Start Wi-Fi connection

  while (WiFi.status() != WL_CONNECTED) {
    delay(500);
    Serial.print("."); // Print dots while connecting
  }

  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
}

Important Considerations and Best Practices

  • Avoid connecting 5V logic devices directly to the GPIO pins, as the ESP32 operates at 3.3V logic.
  • Use pull-up or pull-down resistors for input pins to ensure stable readings.
  • When using Wi-Fi or Bluetooth, ensure adequate power supply to avoid brownout issues.
  • Use deep sleep mode to conserve power in battery-operated projects.

Troubleshooting and FAQs

Common Issues and Solutions

  1. Board Not Detected by Computer:

    • Ensure the USB cable is functional and supports data transfer.
    • Install the correct USB-to-serial driver for the ESP32.
  2. Upload Fails with "Failed to Connect" Error:

    • Press and hold the "BOOT" button on the board while uploading the code.
    • Check the selected COM port in the Arduino IDE.
  3. Wi-Fi Connection Fails:

    • Verify the SSID and password are correct.
    • Ensure the Wi-Fi network is within range and operational.
  4. GPIO Pin Not Responding:

    • Check if the pin is configured correctly in the code.
    • Ensure no conflicting peripherals are using the same pin.

FAQs

Q: Can I power the ESP32 with a 5V power bank?
A: Yes, you can power the ESP32 via the micro-USB port using a 5V power bank.

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

Q: Can I use the ESP32 with 5V sensors?
A: Use a level shifter to safely interface 5V sensors with the ESP32's 3.3V GPIO pins.

Q: What is the maximum Wi-Fi range of the ESP32?
A: The range depends on environmental factors but typically extends up to 100 meters in open spaces.


This concludes the documentation for the ESP32 DOIT DEV KIT1.