ESP32 HW-394 (WR-32)

Compact ESP32 development board with TYPE-C interface, WiFi, Bluetooth, and 4MB flash.

USB-C
ESP32 HW-394 (WR-32) board
ESP32
MCU
240MHz
clock
4MB
flash
520KB
SRAM
26· 15 ADC
GPIO
BLE 4.2+ WiFi
radio
On this page

ESP32 HW-394 (WR-32) Pinout

31 pins
ESP32 HW-394 (WR-32) pinout diagram, high resolution: all 31 pins, with GPIO numbers, ADC channels and strapping pins
ESP32 HW-394 (WR-32) pinout, drawn by ESPboards from the ESP32 Series Datasheet v5.3.
PinGPIOLabelsStatusCapabilitiesNotes
1-ENcontrol-Chip enable / reset (active LOW) - the same net as the EN button
236IO36GPIO36VPSVPstrappingadcSENSOR_VP, ADC1_CH0 - input only, no internal pull-ups
339IO39GPIO39VNSVNstrappingadcSENSOR_VN, ADC1_CH3 - input only, no internal pull-ups
434IO34GPIO34D34strappingadcADC1_CH6 - input only, no internal pull-ups
535IO35GPIO35D35strappingadcADC1_CH7 - input only, no internal pull-ups
632IO32GPIO32D32safeadc · touchADC1_CH4, Touch9 (32 kHz crystal pad, unused on this board)
733IO33GPIO33D33safeadc · touchADC1_CH5, Touch8 (32 kHz crystal pad, unused on this board)
825IO25GPIO25D25safeadc · dacDAC1, ADC2_CH8
926IO26GPIO26D26safeadc · dacDAC2, ADC2_CH9
1027IO27GPIO27D27safeadc · touchADC2_CH7, Touch7
1114IO14GPIO14D14strappingadc · touch · spiADC2_CH6, Touch6, HSPI CLK
1212IO12GPIO12D12strappingadc · touch · spiADC2_CH5, Touch5, HSPI MISO, strapping pin (flash voltage) - must not be high at boot
1313IO13GPIO13D13strappingadc · touch · spiADC2_CH4, Touch4, HSPI MOSI
14-GNDground-Ground
15-VIN5Vpower-5V input to the AMS1117 regulator (also 5V from USB-C when powered over USB)
1623IO23GPIO23D23safespiVSPI MOSI (default SPI)
1722IO22GPIO22D22SCLsafei2cI2C SCL (default)
181IO1GPIO1TX0TXD0uartuartUART0 TX - wired to the CH340C USB serial chip, avoid for general IO
193IO3GPIO3RX0RXD0uartuartUART0 RX - wired to the CH340C USB serial chip, avoid for general IO
2021IO21GPIO21D21SDAsafei2cI2C SDA (default)
2119IO19GPIO19D19safespiVSPI MISO (default SPI)
2218IO18GPIO18D18safespiVSPI SCK (default SPI)
235IO5GPIO5D5strappingspiVSPI CS (default SPI), strapping pin - outputs a PWM burst at boot
2417IO17GPIO17D17TX2safe-UART2 TX (default Serial2 pin in older Arduino cores)
2516IO16GPIO16D16RX2safe-UART2 RX (default Serial2 pin in older Arduino cores)
264IO4GPIO4D4safeadc · touchADC2_CH0, Touch0
272IO2GPIO2D2strappingadc · touchADC2_CH2, Touch2, on-board blue LED (silk D2), strapping pin - keep floating or low at boot
2815IO15GPIO15D15strappingadc · touch · spiADC2_CH3, Touch3, HSPI CS, strapping pin - pull low at boot to silence ROM boot messages
29-GNDground-Ground
30-3V33.3Vpower-3.3V output from the AMS1117 regulator
310IO0GPIO0strapping-Not on the header - wired to the BOOT button; hold it at reset for download mode (strapping pin)
Download the ESP32 HW-394 (WR-32) pinout Free to use and share for non-commercial work, as long as you credit espboards.dev. License.
26 GPIOs broken out 13 free · 13 need care · 0 to avoid

Start with these

13 pins with no boot or system involvement
IO32IO33IO25IO26IO27IO23IO22IO21IO19IO18IO17IO16IO4

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

Fine - with a little care

13 pins · 12 things to know
IO36 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).

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

Cannot be used as output; only suitable for input.

  • IO39Input-only GPIO (no output); ADC1 channel 3, Hall sensor VN.
  • IO35Input-only GPIO (no output driver); ADC1 channel 7.
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.

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.

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.

IO1 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.

IO3 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.

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.

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.

IO0 Bootstrapping pin (enter bootloader when low); internal pull-up. Strapping

Must be HIGH during boot for normal startup; if held LOW on reset, forces flash programming mode.

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 31 pins, the ESP32 HW-394 (WR-32) exposes 26 GPIO plus GND, VIN and 3V3 for power.

For peripherals, I²C is mapped to SDA on GPIO21 and SCL on GPIO22.

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, IO32, IO33, IO25, IO26 and 9 more are free of any such role - the safest first picks. 13 of the exposed pins carry boot-time or system duties on the ESP32 (IO36, IO39, IO34 and 10 more).

Getting started

flash your first firmware in ~2 minutes
Tool:
1
Connect over USB
Uses a CH340 bridge - install the CH340 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
GPIO32 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 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);
}
board to selectesp32dev⧉ copy
platformio.ini Copy
[env:esp32-hw-394]
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 - GPIO32
output:
  - platform: gpio
    pin: 32
    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
ESP32 HW-394 (WR-32) illustration
ESP32 HW-394 Variants Different Models Flash Memory: Typically 4MB, but check specifications as some variants might differ. Board Layout: Slight differences in component placement or additional features like onboard LEDs. Compatibility Notes All variants are based on the ESP32 WROOM-32 module and should be compatible with standard ESP32 development tools. Always verify the pinout and specifications for your specific…

ESP32 HW-394 Variants

Different Models

  • Flash Memory: Typically 4MB, but check specifications as some variants might differ.
  • Board Layout: Slight differences in component placement or additional features like onboard LEDs.

Compatibility Notes

All variants are based on the ESP32 WROOM-32 module and should be compatible with standard ESP32 development tools. Always verify the pinout and specifications for your specific board version.

Choosing the Right Variant

Look for boards with reliable USB chips and sufficient flash memory for your project needs. The HW-394 is a cost-effective option for ESP32 prototyping.

Downloads

Free for non-commercial use, credit espboards.dev · License
ESP32 HW-394 (WR-32) board illustration, front

Board illustration

The bare ESP32 HW-394 (WR-32) board drawn to scale, 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.

ESP32 HW-394 (WR-32) 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 ESP32 HW-394 (WR-32) 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/esp32-hw-394/diagram-1600.png"
       alt="ESP32 HW-394 (WR-32) pinout diagram" width="1600" loading="lazy">
  <figcaption>
    ESP32 HW-394 (WR-32) pinout by
    <a href="https://www.espboards.dev/esp32/esp32-hw-394/">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 · 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
26 · 15
UART · I²C · SPI
3 · 2 · 2
PWM
16 channels
Power
USB
USB-C
Serial
CH340
Boot address
0x1000
Electrical
Input
5V USB · 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
The ESP32 HW-394 (WR-32) 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

At its core is the ESP32 - a dual-core Xtensa with both Bluetooth Classic and BLE.

Expect to pay about $5.00 - less than the ~$20 most ESP32 boards go for.

Onboard you'll find EN/Boot buttons.

Where to buy

prices are typical street prices
ESP32 HW-394 (WR-32)
ESP32 HW-394 (WR-32)
$5.00per unit, typical

Resources

Similar boards