ESP32 30-Pin DevKit (Generic Clone)
by Generic
Universal guide for identifying and using generic 30-pin ESP32 DevKit clones from AliExpress/eBay.

On this page
ESP32 30-Pin DevKit (Generic Clone) Pinout
30 pins · 2.54 mm pitch
| Pin | GPIO | Labels | Status | Capabilities | Notes |
|---|---|---|---|---|---|
| 1 | - | EN | control | - | Chip enable / reset (active LOW) |
| 2 | 36 | VPGPIO36A0 | strapping | adc | SENSOR_VP, ADC1_CH0, input only, no pull resistors |
| 3 | 39 | VNGPIO39A3 | strapping | adc | SENSOR_VN, ADC1_CH3, input only, no pull resistors |
| 4 | 34 | D34GPIO34A6 | strapping | adc | ADC1_CH6, input only, no pull resistors |
| 5 | 35 | D35GPIO35A7 | strapping | adc | ADC1_CH7, input only, no pull resistors |
| 6 | 32 | D32GPIO32A4 | safe | adc · touch | ADC1_CH4, Touch9 |
| 7 | 33 | D33GPIO33A5 | safe | adc · touch | ADC1_CH5, Touch8 |
| 8 | 25 | D25GPIO25A18 | safe | adc · dac | DAC1, ADC2_CH8 |
| 9 | 26 | D26GPIO26A19 | safe | adc · dac | DAC2, ADC2_CH9 |
| 10 | 27 | D27GPIO27A17 | safe | adc · touch | ADC2_CH7, Touch7 |
| 11 | 14 | D14GPIO14A16 | strapping | adc · touch · spi | ADC2_CH6, Touch6, HSPI_CLK |
| 12 | 12 | D12GPIO12A15 | strapping | adc · touch · spi | ADC2_CH5, Touch5, HSPI_MISO, Strapping pin (flash voltage) |
| 13 | 13 | D13GPIO13A14 | strapping | adc · touch · spi | ADC2_CH4, Touch4, HSPI_MOSI |
| 14 | - | GND | ground | - | Ground |
| 15 | - | VIN5V | power | - | 5V input to onboard regulator |
| 16 | 23 | D23GPIO23 | safe | spi | VSPI_MOSI |
| 17 | 22 | D22GPIO22 | safe | i2c | I2C_SCL (default) |
| 18 | 1 | TX0GPIO1 | uart | uart | UART0 TX (USB serial) |
| 19 | 3 | RX0GPIO3 | uart | uart | UART0 RX (USB serial) |
| 20 | 21 | D21GPIO21 | safe | i2c | I2C_SDA (default) |
| 21 | 19 | D19GPIO19 | safe | spi | VSPI_MISO |
| 22 | 18 | D18GPIO18 | safe | spi | VSPI_CLK |
| 23 | 5 | D5GPIO5 | strapping | spi | VSPI_CS, Strapping pin |
| 24 | 17 | TX2GPIO17 | safe | - | UART2 TX |
| 25 | 16 | RX2GPIO16 | safe | - | UART2 RX |
| 26 | 4 | D4GPIO4A10 | safe | adc · touch | ADC2_CH0, Touch0 |
| 27 | 2 | D2GPIO2A12 | strapping | adc · touch | ADC2_CH2, Touch2, on-board LED, Strapping pin |
| 28 | 15 | D15GPIO15A13 | strapping | adc · touch · spi | ADC2_CH3, Touch3, HSPI_CS, Strapping pin |
| 29 | - | GND | ground | - | Ground |
| 30 | - | 3V33.3V | power | - | 3.3V regulated output (~500mA max) |
Start with these
13 pins with no boot or system involvementFreely 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 knowVPGPIO36 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).
VNGPIO39D35GPIO35 Input-only GPIOs with ADC1 channels - no output driver Other
Cannot be used as output; only suitable for input.
- VNInput-only GPIO (no output); ADC1 channel 3, Hall sensor VN.
- D35Input-only GPIO (no output driver); ADC1 channel 7.
D34GPIO34 Input-only GPIO (no output driver); ADC1 channel 6. Other
Cannot be used as output (no drive capability); only suitable for analog/digital input.
D14GPIO14 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.
D12GPIO12 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.
D13GPIO13 JTAG clock pin (TCK); also ADC2 channel 4 / Touch4 input. JTAG
Used for JTAG debugging (TCK); avoid using as GPIO if JTAG is needed.
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.
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.
D5GPIO5 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.
D2GPIO2 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.
D15GPIO15 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.
The ESP32 30-Pin DevKit (Generic Clone) breaks out 30 pins in total: 25 GPIO for your project, with GND, VIN and 3V3 handling power.
On the analog side there are 15 ADC-capable pins for sensors and battery monitoring, 9 capacitive-touch inputs and 2 true DAC outputs.
If you want zero surprises, D32, D33, D25, D26 and 9 more are free of any such role - the safest first picks. 12 of the exposed pins carry boot-time or system duties on the ESP32 (VP, VN, D34 and 9 more).
Pinout notes Universal 30-Pin Layout (Matches 99% of Clones) This pinout is based on the most common clone layout. Your board should match this unless it's a rare variant.…
Universal 30-Pin Layout (Matches 99% of Clones)
This pinout is based on the most common clone layout. Your board should match this unless it's a rare variant.
Critical Boot Pins (Strapping Pins):
- GPIO0 - Boot mode: HIGH = normal boot, LOW = download/flash mode
- GPIO2 - Must be LOW or floating during boot
- GPIO12 - Flash voltage: LOW = 3.3V (default), HIGH = 1.8V
- GPIO15 - Debug output: LOW silences boot log (exposed on the right header)
Power
- VIN: 5V input (bottom of left header)
- USB: 5V Micro-USB
- 3V3 Out: ~500mA max
- GPIO: 40mA/pin max
Serial
- UART0: TX=GPIO1, RX=GPIO3
USB programming - UART2: TX=GPIO17, RX=GPIO16
Available for sensors
I2C & SPI
- I2C: SDA=GPIO21, SCL=GPIO22
Software configurable - VSPI: MOSI=23, MISO=19, CLK=18, CS=5
- HSPI: MOSI=13, MISO=12, CLK=14, CS=15
Analog & Touch Capabilities
Use these when WiFi is active
Not reliable with WiFi
8-bit digital-to-analog
No external components needed
Pro Tips:
- Always use
ADC1channels (GPIO32-39) if WiFi is active - Avoid using GPIO6-11 (connected to internal flash)
- GPIO34-39 are input-only (no internal pull-up/down resistors)
- Use external pull-up resistors on I2C lines (4.7kΩ typical)
- Most 30-pin boards have an onboard LED on GPIO2
Getting started
flash your first firmware in ~2 minutesBoard: 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
// toggle GPIO32 - wire an LED and resistor to it
void setup() {
pinMode(32, OUTPUT);
}
void loop() {
digitalWrite(32, HIGH); delay(500);
digitalWrite(32, LOW); delay(500);
}[env:esp32-30pin-devkit-generic]
platform = espressif32
board = esp32dev
framework = arduino
monitor_speed = 115200
upload_speed = 921600esp32dev - or type it after board =.esp32:
board: esp32dev
variant: esp32
framework:
type: esp-idf
# blink - GPIO32
output:
- platform: gpio
pin: 32
id: led_out
light:
- platform: binary
name: "LED"
output: led_outesp32dev (same ids as PlatformIO).esptool.py --chip esp32 --port /dev/ttyACM0 \
--baud 921600 write_flash 0x1000 firmware.bin--port = your /dev/tty* (macOS/Linux) or COMx (Windows).Downloads
Free for non-commercial use, credit espboards.dev · LicenseBoard illustration
The bare ESP32 30-Pin DevKit (Generic Clone) 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.
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.
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 →Dimensions

About this board
At its core is the ESP32 - a dual-core Xtensa with both Bluetooth Classic and BLE.
Expect to pay about $3.00 - less than the ~$20 most ESP32 boards go for.
Onboard you'll find EN/Boot buttons.
The ESP32 30-Pin DevKit is one of the most common ESP32 development boards found on AliExpress, eBay, and Amazon. These boards are typically unlabeled clones that follow the general ESP32-WROOM-32 pinout but come in many variations with different USB-serial chips, regulators, and silkscreen labels.
How to Identify Which Board You Have
1. Check the USB-to-Serial ChipLook near the USB port for a square or rectangle IC with one of these labels:
- CH340C / CH340G → Most common on cheap clones. Rectangle chip. {% image "images/ch340c.png", "CH340C on ESP32 30pin Development Board", [500], "auto", "rounded-lg my-4", "max-width: 500px; width: 100%; height: auto;", true, true %}
- CP2102 → Common on mid-range boards. Square chip. {% image "images/cp2102-nodemcu-32s.png", "CP2102 on ESP32 30pin Development Board", [500], "auto", "rounded-lg my-4", "max-width: 500px; width: 100%; height: auto;", true, true %}
- CH9102F → Newer chip, similar to CP2102. Square chip. {% image "images/cp2102-vs-ch9102.png", "CP2102 vs CH9102 on ESP32 30pin Development Board", [500], "auto", "rounded-lg my-4", "max-width: 500px; width: 100%; height: auto;", true, true %}
- FT232RL → Less common but still found. Rectangle chip.
If you want to know more about USB-to-Serial chips, check out this detailed guide.
2. Count the Pins30-pin boards are typically narrow "ESP32 DevKit V1" clones.
If you have 38 pins, you have a different 38-pin variant instead.
- AMS1117 → Older clones (gets hot under load)
- Usually comes in a larger SOT-223 package with a flat metal tab (heatsinkable)
- Often has "AMS1117" or "1117/3.3" printed directly on the chip
- If you see a chunky 3-lead component with a metal tab near the USB port, it's likely AMS1117
- ME6211 / HT7333 → Newer low-dropout regulators (better efficiency)
- Typically comes in small SOT-89 or SOT-23 packages (much smaller than SOT-223)
- If it's a tiny 3-pin SMD component next to the input capacitors, it's likely HT7333
- May have short marking codes that are harder to read
Tip: Some boards print the regulator type on the silkscreen (check the board's underside or near the regulator for labels like "AMS1117" or "HT7333").
4. Verify Silkscreen LabelsMost clones follow standard Espressif naming (3V3, GND, EN, GPIO0, GPIO2, etc.) but positions may vary. The pinout below matches 99% of 30-pin boards.
Important Notes
- Only 30 pins → Missing some GPIOs compared to 38-pin boards
- Some boards label ADC pins as
VP,VN,SVP,SVNinstead of GPIO numbers - Driver installation required for CH340 chips (automatic on most modern systems)
- Strapping pins (GPIO0, GPIO2, GPIO12, GPIO15) must be in correct state during boot
- No PSRAM (ESP32-WROOM-32 module)
- Voltage regulator varies by batch: AMS1117-3.3 (older) or ME6211 / HT7333 (newer LDO)
Where to buy
prices are typical street prices
Resources
Similar boards



