ESP‑01 (ESP8266)
The tiny 8-pin Wi-Fi module
Ai-Thinker ESP-01 / ESP-01S · ESP8266
The tiny 8-pin ESP8266 module: Wi-Fi, two GPIOs (GPIO0 and GPIO2, both boot pins) plus the serial pins, a 3.3 V-only supply that needs at least 250 mA, and no USB, so you program it through a 3.3 V USB-serial adapter.
- Chip
- ESP8266EX
- Pins
- 8
- Supply
- 3 V, ≥ 250 mA
- USB
- None
Every header pin at a glance
- 0 safe I/O
- 2 use with care
- 2 avoid
- 0 not available
- 4 power, ground & other
01Pinout
Every pin, live
Labelled as on the module; the detail card shows each pin's GPIO.
8 of 8 pins match
Hover or tap any pin on the board
ROW 2 header · pin 1
TX
Use with care
Serial TX: connect to the adapter's RX.
Serial
Used for uploads and the Serial Monitor; anything else wired here can block uploads.
Can be used as
- UART
Signals on this pad
- GPIO1
- TXD0
Full header tables (ROW 2, ROW 1)
ROW 2 · left side
| No. | Pin | Signals | Status |
|---|---|---|---|
| 1 | TX | TXD0 | Caution |
| 2 | EN | Chip enable (CH_PD). Needs a pull-up to 3.3 V for the module to run. | |
| 3 | RST | Reset: keep pulled up; pull LOW to reset. | |
| 4 | 3V3 | 3.3 V supply, at least 250 mA. Never 5 V. |
ROW 1 · right side
| No. | Pin | Signals | Status |
|---|---|---|---|
| 1 | GND | Ground | |
| 2 | IO2 | TXD1 | Avoid |
| 3 | IO0 | FLASH | Avoid |
| 4 | RX | RXD0 | Caution |
02Safety
Pins to avoid, and why
Both GPIOs are boot pins.
Avoid
2 pins
Read at power-up to choose how the chip boots. Wired wrong, the module won't run your code.
- IO0Boot pin. GPIO0 LOW at power-up puts the module in upload mode instead of running your code.
- IO2Boot pin: must be HIGH. GPIO2 must be HIGH at power-up. Don't let anything pull it LOW at boot.
Use with care
2 pins
Shared with the serial port you upload through.
- TXSerial. Used for uploads and the Serial Monitor; anything else wired here can block uploads.
- RXSerial. Used for uploads and the Serial Monitor; anything else wired here can block uploads.
03Specs
Full specifications
Module
- SoC
- ESP8266EX2.4 GHz Wi-Fi.
- Header
- 2 × 4, 2.54 mm
Power
- Supply
- 3.3 V, at least 250 mAA USB-serial adapter's 3.3 V pin usually can't supply that.
- Logic level
- 3.3 V
04Buses
Where each bus lives
UART
TX (GPIO1) / RX (GPIO3): uploads and Serial.
I2C
Software I2C on GPIO0/GPIO2 is possible, but both are boot pins: keep them pulled up.
05Power & start
Power it up and get connected
Power options
- 3V33.3 V, at least 250 mA. Use a separate regulator rather than the adapter's 3.3 V pin.
- 1
Wire the adapter
Adapter TX → RX, RX → TX, GND → GND. Power from a separate 3.3 V supply (≥ 250 mA), EN and RST pulled up.
- 2
Enter upload mode
Hold GPIO0 LOW and reset, then upload (Tools → Board → Generic ESP8266 Module).
- 3
Run
Release GPIO0 (pulled up) and reset to start your sketch.
- 4
No module on your desk?
Open an ESP-01 circuit in the SolderHub Simulator below.
06Gotchas
Things that trip people up
01
No USB
Program it with a USB-serial adapter that uses 3.3 V IO (FT232RL, CP2102 or CH340G).
02
It needs real current
At least 250 mA at 3.3 V. Powering it from the adapter isn't recommended.
03
Use resistors, not wires, for pull-ups
EN and RST pulled up, GPIO0 pulled up to run. A wire to VCC or GND isn't a substitute for a pull resistor.
04
Both GPIOs are boot pins
GPIO0 and GPIO2 must be HIGH at power-up; wire buttons and sensors so they don't pull them LOW at boot.
07SolderHub Simulator
Wire up the ESP-01 (ESP8266) without the hardware
Build and run circuits in the SolderHub Simulator, right in your browser.
Board Basics
Introduction, pinout, and protocols — all in one guide.
Sensor Modules & Library
Wiring sensors and modules, plus the library you need to talk to them.
Sensor Integration
Coming soon
Library & Setup
Coming soon
Projects
More From This Board
6More ESP-01 (ESP8266) guides worth reading.
XIAO ESP32S3 Pinout: D0–D10, ADC, Touch, I2C, SPI and Battery
7m
ESP32 Dual Core and FreeRTOS: Tasks on Core 0 and Core 1, Queues and Mutexes
6m
MicroPython ESP32 Deep Sleep: Timer, Button, Touch Wake-Up and RTC Memory
10m
ESP32 MicroPython Weather Web Server: Live DHT22 Readings with Auto-Refresh
17m
MicroPython ESP32 Web Server: Control an LED or Relay from Your Browser
16m
ESP32 MQTT Tutorial: Publish and Subscribe with Arduino IDE
12m