Category:ESP8266 Hardware

From ElectroDragon
Jump to: navigation, search

Quick Start Guide ESP-01S

Module Pin Description ESP-01

  • Normal mode: Normal boot from flash, normal working mode
  • Flash mode: Firmware flash mode
Pin Working Mode Flash Mode Description
VCC, GND* power supply, better use a standalone, and share ground with uart port
TXD, RXD** uart interface
RST Restart on low TTL
CH_PD 1 1 Chip select enable, constant High TTL always
GPIO 15 0 0 Low TTL on boot , N/A for ESP-01
GPIO0 1 0 Switch working / flash mode
GPIO 2 1 1 High TTL on boot
Red LEDs (cancelled on latest) constants on to show the power status
Blue LEDs blink when data come through

Module wiring

  • Use FT232RL can supply enough power, must be genius IC of course
  • Swap the uart pins if no data show up on the monitor
  • There are two leds on the board, one is power led (RED), another one is status LED(BLUE), when power up, pwr led keeps on and status led will blink once.
  • baud rate may work at 9600 or 115200

Setup Check list

Check list Description
Check default wifi status if your devices (e.g. your phone) can find a wifi spot named like "ESP_98529F", "AI-...." or similar, the later number part is the mac ID, if you can see this wifi spot, it means your module boot up successfully
check LED status and wiring blue led will blink once on boot up, serial data output "ESP Ready", Tick "new line" option on USB-TTL serial port monitor tool, Try baudrate 9600 or 115200 default firmware use these two
Check power supply use shared GND will standalone power supply
Check IO15 status connect GPIO15 to GND on boot if you are using the SMD model
  • Use power source that can provide sufficient current, better not using power from USB-TTL module
  • Module will automatically disconnect "unlink" TCP/UDP when no data go through
  • Wifi password length must be more than 8 bytes


ESP8266 Modules (WROOM-02, ESP-12F, 12S, 07S, 01S, etc)

Pin Definition, Dimension, wiring

ESP-01S

  • ESP-07S
  • Board Dimension, HxWxL :16mmx17mmx3 mm, Pads:1 mm x 1.2mm , Pads Spacing: 2mm, Reflow peak temperature 260C, 10 seconds
  • ESP-13 / Wroom
  • ESP-14
ESP-07S ESP-12F ESP-14
  1. 1 RST Reset Module
  2. 2 ADC A / D conversion result. Input voltage range of 0 ~ 1V, in the range: 0 to 1024
  3. 3 CH_PD 1) high-level work; 2) the low level to turn off the power supply module;
  4. 4 GPIO16 GPIO16; do wake deep sleep when receiving the RST pin.
  5. 5 GPIO14 GPIO14; HSPI_CLK
  6. 6 GPIO12 GPIO12; HSPI_MISO
  7. 7 GPIO13 GPIO13; HSPI_MOSI; UART0_CTS
  8. 8 VCC 3.3V power supply
  9. 9 GND GND
  10. 10 GPIO15 GPIO15; MTDO; HSPICS; UART0_RTS
  11. 11 GPIO2 GPIO2; UART1_TXD
  12. 12 GPIO0 GPIO0
  13. 13 GPIO4 GPIO4
  14. 14 GPIO5 GPIO5
  15. 15 RXD0 UART0_RXD; GPIO3
  16. 16 TXD0 UART0_TXD; GPIO1
  1. 1 RST Reset module
  2. 2 ADC A / D conversion result. The input voltage range is 0 ~ 1V, in the range of 0 ~ 1024
  3. 3 EN chip enable, high active
  4. 4 IO16 GPIO16; Wake-up on deep sleep when connected to RST pin.
  5. 5 IO14 GPIO14; HSPI_CLK
  6. 6 IO12 GPIO12; HSPI_MISO
  7. 7 IO13 GPIO13; HSPI_MOSI; UART0_CTS
  8. 8 VCC 3.3V power supply
  9. 9 CS0 Chip Select
  10. 10 MISO Slave Output Host input
  11. 11 IO9 GPIO9
  12. 12 IO10 GBIO10
  13. 13 MOSI Master Output Slave Input
  14. 14 SCLK clock
  15. 15 GND GND
  16. 16 IO15 GPIO15; MTDO; HSPICS; UART0_RTS
  17. 17 IO2 GPIO2; UART1_TXD
  18. 18 IO0 GPIO0
  19. 19 IO4 GPIO4
  20. 20 IO5 GPIO5
  21. 21 RXD UART0_RXD; GPIO3
  22. 22 TXD UART0_TXD; GPIO1
  • 1 M PC5 STM8 PC5 port
  • 2 M_PC6 STM8 PC6 port
  • 3 M_PC7 STM8 PC7 mouth
  • 4 GND GND
  • 5 M_PD3 STM8 PD3 port
  • 6 M_PD4 STM8 PD4 port
  • 7 M_NRST STM8 NRST port
  • 8 GND common ground
  • 9 M_PD2 STM8 PD2 port
  • 10 M_PD5 STM8 PD5 port
  • 11 M_PD6 STM8 PD6 port
  • 12 M_PA1 STM8 PA1 port or crystal input port
  • 13 M_PA2 STM8 PA2 port or oscillator output
  • 14 E_GPIO0 ESP8266 GPIO0 port: 1) Default WiFi Status. 2) Operating mode selection.
  • 15 M_VCAP STM8 VCAP port
  • 16 M_VDD STM8 power supply pin
  • 17 E_VDD ESP8266 power supply pin
  • 18 M_PA3 STM8 PA3 port
  • 19 M_PB5 STM8 PB5 port
  • 20 M_PB4 STM8 PB4 port
  • 21 M_PC3 STM8 PC3 port
  • 22 M_PC4 STM8 PC4 port

ESP-12F for NodeMCU, D1-mini Pin Definition

  • ESP-12F left side pin out
  • NodeMCU
  • D1 mini Pin
! Description ESP8266 Internal UART / IIC//SPI Boot ESP Relay Board
RST Reset RST
A0 AD input, 0-3.3V ADC
EN
D0
  • I/O only
  • Do not support interprut, PWM, I2C and 1-wire
  • Deepsleep wakeup
GPIO16 Status LED
D5 I/O GPIO14, MTMS
  • SPI-CLK
DHT22
D6 I/O GPIO12
  • SPI-MISO
Relay 1
D7 I/O GPIO13, MTCK
  • NodeMCU Alt UART1
  • SPI-MOSI
Relay 2
3V3 Power 3v3 3.3V
  • ESP-12F right side pin out
  • NodeMCU
  • D1 mini Pin
! Description ESP8266 Internal UART / IIC/SPI Boot ESP Relay Board
TX Serial Send GPIO1
  • UART_0_TX
  • NodeMCU - WS2812 bitstream
Lead out
RX Serial Receive GPIO3
  • UART_0_RX
Lead out
D1 I/O GPIO5
  • NodeMCU - I2C_SDA
Lead out
D2 I/O GPIO4
  • NodeMCU - I2C_SCL
Lead out
D3 I/O GPIO0
  • Flash mode: 0
  • Flash Boot: 1
  • SD Boot: 0
BTN2
D4 I/O GPIO2
  • UART_0 TX?
  • UART_1 TX (UART1 only has TX)
  • NodeMCU - WS2812 bitstream
  • Flash Mode: 1
  • Flash Boot: 1
  • SD Boot: 0
BTN1
D8 I/O GPIO15
  • NodeMCU Alt UART1
  • SPI CS
  • Flash Mode: 0,
  • Flash Boot: 0
  • SD Boot: 1
G GND GND


  • All IO operational voltage is 3.3V, can handle 5V shortly
  • except D0, all IO support interprut, PWM, I2C and 1-wire

Modules Schematic


Perpherial Schematic

ESP-01M (new)

Documents of Modules

ESP-01

ESP-12F

ESP-14

ESP-13 /Wroom

Obselete Boards

ESP8266 Development Boards

Common Development Board Schematic

schematic

Pin definition

Esp8266 Module Adapter Board

Note

  • The adapter is a little small, must solder the wifi board onto it carefully.
  • Reset the board after flash
  • From version 2.1, the serial interface is 5V compatible, can use 5V USB-TTL program directly. Old version can work, but can not reach highest speed.
  • Only need power 3V3 GND for power up the module, and TX, RX for serial communication.

Pin Definition, Dimension

Esp breakout board dimension.png
Left Side Pins Note Right Side Pins Note
RST Pull-up & Reset-Button TXD
ADC - RXD
EN Pull-up 4
IO16 - 5
IO14 - 0 Pull-up & Flash-Button
IO12 - 2 Pull-up
IO13 - 15 Pull-down
3V3 - GND
CS - CLK
DI - DO
IO09 - IO10
VIN - GND

Documents of boards

Pages in category "ESP8266 Hardware"

The following 6 pages are in this category, out of 6 total.