DOIT ESP32 DEVKIT V1

Popular ESP32 board with breadboard-friendly layout - great for rapid IoT prototyping.

Micro-USB
DOIT ESP32 DEVKIT V1 board
51.45 × 28.33 mm
ESP32
MCU
240MHz
clock
4MB
flash
520KB
SRAM
25· 15 ADC
GPIO
BLE 4.2+ WiFi
radio
On this page

DOIT ESP32 DEVKIT V1 Pinout

30 pins
DOIT ESP32 DEVKIT V1 pinout diagram, high resolution: all 30 pins, with GPIO numbers, ADC channels and strapping pins
DOIT ESP32 DEVKIT V1 pinout, drawn by ESPboards from the ESP32 Series Datasheet v5.3.
PinGPIOLabelsStatusCapabilitiesNotes
1-ENcontrol-Chip enable / reset (active LOW)
2-GNDground-Ground connection
3-5Vpower-5V power input for the board
4-GNDground-Ground connection
5-3V33.3Vpower-3.3V power output
61TX0GPIO1uart-UART0 TX - wired to the USB serial chip, avoid for general IO
72IO2GPIO2strappingadcGPIO, ADC2, onboard blue LED, strap pin - keep floating or low at boot
83RX0GPIO3uart-UART0 RX - wired to the USB serial chip, avoid for general IO
94IO4GPIO4safeadcGPIO, ADC2, touch
105IO5GPIO5strapping-GPIO, VSPI CS (default), strap pin - outputs a PWM burst at boot
1112IO12GPIO12strappingadcGPIO, ADC2, HSPI MISO, strap pin - must NOT be high at boot or the board won't start
1213IO13GPIO13strappingadcGPIO, ADC2, HSPI MOSI, touch
1314IO14GPIO14strappingadcGPIO, ADC2, HSPI SCK, touch
1415IO15GPIO15strappingadcGPIO, ADC2, HSPI CS, strap pin - pull low at boot to silence ROM boot messages
1516RX2GPIO16safe-GPIO, UART2 RX - free hardware serial for GPS, sensors, etc.
1617TX2GPIO17safe-GPIO, UART2 TX - free hardware serial for GPS, sensors, etc.
1718IO18GPIO18safe-GPIO, VSPI SCK (default SPI clock)
1819IO19GPIO19safe-GPIO, VSPI MISO (default)
1921SDAGPIO21safe-GPIO, I2C SDA (default)
2022SCLGPIO22safe-GPIO, I2C SCL (default)
2123IO23GPIO23safe-GPIO, VSPI MOSI (default)
2225IO25GPIO25safeadcGPIO, ADC2, DAC1 (true analog output)
2326IO26GPIO26safeadcGPIO, ADC2, DAC2 (true analog output)
2427IO27GPIO27safeadcGPIO, ADC2, touch
2532IO32GPIO32safeadcGPIO, ADC1 (works with WiFi on), touch
2633IO33GPIO33safeadcGPIO, ADC1 (works with WiFi on), touch
2734IO34GPIO34strappingadcADC1 - INPUT ONLY, no output driver, no internal pull-ups
2835IO35GPIO35strappingadcADC1 - INPUT ONLY, no output driver, no internal pull-ups
2936VPGPIO36strappingadcADC1 (VP) - INPUT ONLY, no output driver, no internal pull-ups
3039VNGPIO39strappingadcADC1 (VN) - INPUT ONLY, no output driver, no internal pull-ups
Download the DOIT ESP32 DEVKIT V1 pinout Free to use and share for non-commercial work, as long as you credit espboards.dev. License.
25 GPIOs broken out 13 free · 12 need care · 0 to avoid

Start with these

13 pins with no boot or system involvement
IO4RX2GPIO16TX2GPIO17IO18IO19SDAGPIO21SCLGPIO22IO23IO25IO26IO27IO32IO33

Freely assignable - no strapping, flash, USB or JTAG duties. Ideal first picks for buttons, sensors and LEDs.

Fine - with a little care

12 pins · 11 things to know
TX0GPIO1 Default UART0 TX pin for USB-serial programming and console. UART

Connected to on-board USB-UART for uploading and logs; drives serial output at boot, so using as GPIO can disrupt programming or console.

IO2 Bootstrapping pin (must be low or floating at reset); internal pull-down. Strapping

If driven HIGH on reset (while IO0 is LOW), selects an unsupported SDIO boot mode, causing boot failure.

RX0GPIO3 Default UART0 RX pin for USB-serial programming (console input). UART

Used for receiving data from USB-UART (programming); also pulled HIGH at boot for console communication, so using as GPIO can disrupt uploads.

IO5 Bootstrapping pin; internal pull-up; VSPI CS0 (default SPI chip-select); acts as FSPIWP (flash write-protect) on internal-flash variants. Strapping

Must be HIGH during boot; if pulled LOW at reset, alters SDIO slave timing and may prevent normal boot.

IO12 Bootstrapping pin; JTAG TDI; sets flash voltage (VDD_SDIO); also HSPIQ (flash data line). Strapping

Keep LOW during boot (internal PD); pulling HIGH at reset selects 1.8V flash mode, causing flash brownout if 3.3V flash is used.

IO13 JTAG clock pin (TCK); also ADC2 channel 4 / Touch4 input. JTAG

Used for JTAG debugging (TCK); avoid using as GPIO if JTAG is needed.

IO14 JTAG mode select pin (TMS); also HSPI CLK and PWM-capable GPIO. JTAG

Used for JTAG debugging (TMS); driving it as GPIO may interfere with JTAG or produce spurious signals at boot.

IO15 Bootstrapping pin; JTAG TDO; controls UART0 boot log output; also HSPICS0 (secondary SPI CS). Strapping

Keep HIGH during boot (internal PU); if LOW on reset, bootloader log is silenced and boot mode may change.

IO34 Input-only GPIO (no output driver); ADC1 channel 6. Other

Cannot be used as output (no drive capability); only suitable for analog/digital input.

IO35VNGPIO39 Input-only GPIOs with ADC1 channels - no output driver Other

Cannot be used as output; only suitable for input.

  • IO35Input-only GPIO (no output driver); ADC1 channel 7.
  • VNInput-only GPIO (no output); ADC1 channel 3, Hall sensor VN.
VPGPIO36 Input-only GPIO (no output); ADC1 channel 0, Hall sensor VP. Other

Cannot be used as output; only suitable for input (e.g., analog read).

These are recommendations, not hard rules - with the right pull-ups, timing and boot-state awareness most pins can be made to work. When in doubt, start green.

Across 30 pins, the DOIT ESP32 DEVKIT V1 exposes 25 GPIO plus GND, 5V and 3V3 for power.

Peripheral wiring is straightforward: I²C is mapped to SDA on GPIO21 and SCL on GPIO22.

Beyond plain digital I/O you get 15 ADC-capable pins for sensors and battery monitoring.

12 of the exposed pins carry boot-time or system duties on the ESP32 (TX0, IO2, RX0 and 9 more) - check the guidance above before wiring anything to them. IO4, RX2, TX2, IO18 and 9 more are free of any such role - the safest first picks.

Pinout notes The DOIT ESP32 DEVKIT V1 pinout exposes nearly the entire feature set of the ESP32 on two easy-to-breadboard rows of 15 pins each. Power rails include VIN (5…

The DOIT ESP32 DEVKIT V1 pinout exposes nearly the entire feature set of the ESP32 on two easy-to-breadboard rows of 15 pins each.

Power rails include VIN (5 V) for USB or external input, a regulated 3V3 output, and several GND pins for solid reference.

Serial I/O: TX0 (GPIO1) and RX0 (GPIO3) link to the CP2102 for USB programming, while TX2 (GPIO17) and RX2 (GPIO16) give you a second hardware UART for sensors or GPS modules.

I²C defaults to SDA (GPIO21) and SCL (GPIO22), but any open GPIO can be reassigned in software.

SPI comes in two flavors: the default VSPI bus (MOSI GPIO23, MISO GPIO19, SCK GPIO18, CS GPIO5) and an alternate HSPI bus on GPIO12-GPIO15 for additional devices.

Analog & touch: Eight ADC1 channels reside on GPIO32-GPIO39, usable even when Wi-Fi is active. Extra ADC2 channels (e.g., GPIO0, 2, 4, 12-15, 25-27) are shared with Wi-Fi. Dual 8-bit DAC outputs sit on GPIO25 and GPIO26. Many of these pads double as capacitive-touch sensors for sleek, button-free interfaces.

Every GPIO can source PWM signals for LED dimming or motor control. Keep an eye on boot-strap pins-GPIO0, GPIO2, and GPIO15-which must be held in the correct state (usually HIGH) during reset for normal startup.

From robust power handling to multiple high-speed buses, the DOIT ESP32 DEVKIT V1 pinout gives makers and professionals alike the flexibility to build anything from simple sensor nodes to fully fledged connected products-all on a compact, breadboard-friendly board.

Getting started

flash your first firmware in ~2 minutes
Tool:
1
Connect over USB
Uses a CP2102 bridge - install the CP210x driver if no port appears. Not detected? Hold BOOT while plugging in.
2
Match & flash
Set the Tools options shown, then click Upload.
3
Verify it runs
GPIO4 toggles - wire an LED and resistor to it, or change the pin to your board's own LED.
Set these in Tools · leave everything else at default
Arduino IDE 2.x - Tools Copy
Board: "ESP32 Dev Module"▸
Flash Size: "4MB (32Mb)"▸
Flash Mode: "DIO"▸
Partition Scheme: "Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS)" (default)▸
Upload Speed: "921600"▸
▸ every other Tools option - leave at default
Board: ESP32 Dev Module
Flash Size: 4MB (32Mb)
Flash Mode: DIO
Partition Scheme: Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS)
Upload Speed: 921600
Find it: Tools ▸ Board ▸ ESP32 Arduino ▸ ESP32 Dev Module
blink.ino Copy
// toggle GPIO4 - wire an LED and resistor to it
void setup() {
  pinMode(4, OUTPUT);
}
void loop() {
  digitalWrite(4, HIGH); delay(500);
  digitalWrite(4, LOW);  delay(500);
}
board to selectesp32dev⧉ copy
platformio.ini Copy
[env:esp32doit-devkit-v1]
platform = espressif32
board = esp32dev
framework = arduino
monitor_speed = 115200
upload_speed = 921600
Find it: PlatformIO Home ▸ Boards, search esp32dev - or type it after board =.
board to selectesp32dev⧉ copy
device.yaml Copy
esp32:
  board: esp32dev
  variant: esp32
  framework:
    type: esp-idf

# blink - GPIO4
output:
  - platform: gpio
    pin: 4
    id: led_out
light:
  - platform: binary
    name: "LED"
    output: led_out
Find it: search ESPHome's board list for esp32dev (same ids as PlatformIO).
esptool doesn't pick board settings - a prebuilt .bin already has them baked in. This is just the raw flash command.
terminal Copy
esptool.py --chip esp32 --port /dev/ttyACM0 \
  --baud 921600 write_flash 0x1000 firmware.bin
--port = your /dev/tty* (macOS/Linux) or COMx (Windows).
Build details: sketch space 1310720 B · data 327680 B · DIO

Good to know

board-specific quirks worth 60 seconds
You probably have a clone - and that's fine illustration
You probably have a clone - and that's fine
DOIT published the original DevKit V1 design, but the board long ago outgrew its maker: nearly every "ESP32 DevKit V1" sold today is an unbranded clone - same ESP32-WROOM-32 module, same 30-pin layout, same pinout. For practical purposes they're interchangeable, and everything on this page applies to all of them. The one difference that actually matters day-to-day is the USB-to-serial chip next to the Micro-USB…

DOIT published the original DevKit V1 design, but the board long ago outgrew its maker: nearly every "ESP32 DevKit V1" sold today is an unbranded clone - same ESP32-WROOM-32 module, same 30-pin layout, same pinout. For practical purposes they're interchangeable, and everything on this page applies to all of them.

The one difference that actually matters day-to-day is the USB-to-serial chip next to the Micro-USB port: the original design uses a CP2102, while the cheapest clones ship a CH340. Both work - they just need different drivers, so if your board isn't detected, identify the chip first. Our CH340 vs CP2102 guide covers telling them apart.

Unsure exactly which variant you own? The 30-pin generic clone guide walks through the common variations - board width, chip markings, and pin labels.

Deep sleep won't save your battery here illustration
Deep sleep won't save your battery here
The ESP32 chip itself can deep-sleep at around 10 µA - but this board can't. Measurements on DevKit-style boards consistently land around 5-10 mA in deep sleep, three orders of magnitude higher, because three components stay awake no matter what your firmware does: the AMS1117 regulator, with roughly 5 mA quiescent draw on its own, the USB-serial chip, powered even with no cable data, the power LED, wired straight…

The ESP32 chip itself can deep-sleep at around 10 µA - but this board can't. Measurements on DevKit-style boards consistently land around 5-10 mA in deep sleep, three orders of magnitude higher, because three components stay awake no matter what your firmware does:

  • the AMS1117 regulator, with roughly 5 mA quiescent draw on its own,
  • the USB-serial chip, powered even with no cable data,
  • the power LED, wired straight to the 3.3 V rail.

This measurement write-up breaks down the numbers, and this teardown confirms them component by component.

At ~10 mA of sleep current, an 18650 cell dies in about a week doing nothing. This board is great on the bench; for battery projects pick a board designed for low quiescent draw, or be prepared to desolder the LED and regulator.

Random resets? Check power before code illustration
Random resets? Check power before code
If the serial monitor shows Brownout detector was triggered in a reset loop, the board isn't broken and your code probably isn't either. WiFi transmit bursts draw brief spikes of current, and if the supply voltage dips below the ~2.4 V brownout threshold even for an instant, the chip resets. The usual culprits are thin or long USB cables, weak USB ports, and unpowered hubs. Work down this list before touching the…

If the serial monitor shows Brownout detector was triggered in a reset loop, the board isn't broken and your code probably isn't either. WiFi transmit bursts draw brief spikes of current, and if the supply voltage dips below the ~2.4 V brownout threshold even for an instant, the chip resets. The usual culprits are thin or long USB cables, weak USB ports, and unpowered hubs.

Work down this list before touching the code:

  • swap to a short, known-good USB cable, straight into the computer or a wall adapter,
  • if peripherals share the 5 V rail (displays, LED strips, servos), give them their own supply,
  • a 470-1000 µF capacitor across 5V/GND smooths the spikes on stubborn setups.

You'll find advice online to disable the brownout detector in software. That hides the symptom instead of fixing the supply - the chip will just misbehave in less obvious ways.

Downloads

Free for non-commercial use, credit espboards.dev · License
DOIT ESP32 DEVKIT V1 board illustration, front

Board illustration

The bare DOIT ESP32 DEVKIT V1 board drawn to scale at 51.45 × 28.33 mm, with no pin labels on it. Made for slide decks, wiring diagrams and project write-ups where a photo is too busy. Take the scalable SVG for print or editing, the high-resolution PNG to drop straight in, or the transparent PNG when you need it with no background behind it.

DOIT ESP32 DEVKIT V1 pinout diagram

Pinout diagram

Every pin on both sides of the board with its functions, drawn by ESPboards from the ESP32 Series Datasheet v5.3 - the same sheet shown at the top of this page. The PNG is a high-resolution image for screens, the SVG is vector so it stays sharp at any size, and the PDF is laid out to print on A4 or Letter.

Free for non-commercial use, with the credit line kept.

Embed the DOIT ESP32 DEVKIT V1 pinout

Paste this where you want the diagram. Keep the credit line - it is what the licence asks for, and it is the only thing we want in return.

<figure>
  <img src="https://cdn.espboards.net/boards/esp32doit-devkit-v1/diagram-1600.png"
       alt="DOIT ESP32 DEVKIT V1 pinout diagram" width="1600" loading="lazy">
  <figcaption>
    DOIT ESP32 DEVKIT V1 pinout by
    <a href="https://www.espboards.dev/esp32/esp32doit-devkit-v1/">ESPboards</a>,
    <a href="https://creativecommons.org/licenses/by-nc/4.0/">CC BY-NC 4.0</a>
  </figcaption>
</figure>

Using it commercially? Ask us first - it takes one email.

Yours to use, share and adapt for non-commercial work, as long as you credit espboards.dev - the full terms and ready-made credit lines are here.

Specifications

ESP32 · 51.45 × 28.33 mm · vs other ESP32 chips →
Compute
MCU
ESP32
Clock
240 MHz
SRAM · Flash
520 KB · 4MB
Radio
Wi-Fi
802.11 b/g/n
Bluetooth
4.2 LE
Antenna
PCB
I/O
GPIO · ADC
25 · 15
UART · I²C · SPI
3 · 2 · 2
PWM
16 channels
Power
USB
Micro-USB
Serial
CP2102
Boot address
0x1000
Electrical
Input
5V USB · 5V VIN
Consumption
-
Regulator
AMS1117-3.3
Flashing
Upload · OTA
esptool_py · esp_ota
Flash · Boot mode
DIO · DIO
Sketch · Data
1.25 MB · 320 KB

Dimensions

DOIT ESP32 DEVKIT V1 board, drawn to scale
28.33 mm51.45 mm
51.45 × 28.33 mm
The DOIT ESP32 DEVKIT V1 uses esptool_py for firmware uploads, esp_ota for over-the-air (OTA) updates. Flash mode is DIO with DIO boot mode. The maximum sketch size is 1.25 MB with 320 KB available for data.

About this board

Inside sits the ESP32 - a dual-core Xtensa with both Bluetooth Classic and BLE.

At $5.00 it's cheaper than most ESP32 boards, which usually run around $20.

Around the module: status LEDs (Power, Blue (GPIO2)) and Reset/Boot buttons.


Not sure if this is your board? Or you have a similar clone?

Check out the ESP32 30-Pin Generic Clone Guide - it covers all the common variations and helps you identify which board you actually have!


The ESP32 DevKit V1 is the board most people mean when they say "an ESP32": a slim, 30-pin development board built around the proven Espressif ESP32-WROOM-32 module, with dual-core processing, Wi-Fi 802.11 b/g/n and Bluetooth 4.2 (BR/EDR + BLE). The design was originally published by DOIT, but boards sold under this name today are overwhelmingly unbranded clones - same layout, same module, same pinout. Everything on this page applies to them all, whatever logo (or none) is on yours.

An on-board CP2102 USB-to-UART converter (CH340 on many clones) and auto-reset circuitry let you plug in, program, and debug over Micro-USB with zero fuss.

Power options are flexible: feed the board via VIN (5 V), the Micro-USB port, or tap the regulated 3V3 rail for low-power projects. A high-efficiency LDO keeps everything stable.

Development conveniences include a dedicated EN (reset) button and a BOOT (IO0) button for easy firmware flashing and download-mode entry.

With rich peripherals-ADC, DAC, PWM, capacitive-touch, I²C, SPI, UART and more-the ESP32 DevKit V1 is ready to drive sensors, displays, motors, or anything your next connected gadget requires.

Where to buy

prices are typical street prices
DOIT ESP32 DEVKIT V1
DOIT ESP32 DEVKIT V1
$5.00per unit, typical
As an Amazon Associate, ESPboards earns from qualifying purchases.

Resources

Similar boards