Pin Name Description
1 GND Ground
2 U0TXD UART0 Transmit
3 GPIO2 Has internal pull-up
4 CHIP_EN Chip Enable, active high
5 GPIO0 Has internal pull-up
6 EXT_RSTB External reset signal, active low. Leave hanging
7 U0RXD UART0 Receive, has internal pull-up
8 VDD +3.3V power input
Examples with module ESP 01
PIN Name Description
WHITE <--> 2 U0TXD UART0 Transmit
GREEN <--> 7 U0RXD UART0 Receive, has internal pull-up
BLACK <--> 1 GND Ground
RED <--> N/A +5V
To upload to the module, configure the following pins:
Pin Name Level Description
3 GPIO2 High Selects UART download boot mode
4 CH_PD High Enables the chip
5 GPIO0 Low Selects UART download boot mode
N/A GPIO15 Low If availble. Selects UART download boot mode
git clone https://github.com/espressif/esp8266_at
cd esp8266_at/bin
esptool.py -p /dev/ttyUSB0 write_flash 0x00000 boot_v1.1.bin 0x01000 \
newest/user1.bin 0x7c000 esp_init_data_default.bin 0x7e000 blank.bin
This should give you an output like
Connecting...
Erasing flash...
Writing at 0x00000400... (100 %)
Erasing flash...
Writing at 0x00037400... (100 %)
Erasing flash...
Writing at 0x0007c000... (100 %)
Erasing flash...
Writing at 0x0007ec00... (100 %)
Leaving...
Pin Name Level Description
3 GPIO2 N/A
4 CH_PD High Enables the chip
5 GPIO0 N/A
N/A GPIO15 Low If availble. Selects UART download boot mode
nodemcu
screen /dev/ttyUSB0 9600
To kill connection press Ctrl+A K