meta data for this page
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
home_automation:esp8266:general [2016/06/03 09:10] – [Pinout] niziak | home_automation:esp8266:general [2020/06/05 14:43] (current) – niziak | ||
---|---|---|---|
Line 25: | Line 25: | ||
{{: | {{: | ||
+ | ====== External software ====== | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[http:// | ||
+ | * [[https:// | ||
- | ===== Modules versions ===== | ||
- | === ESP-01 === | ||
- | To enable deep sleep mode, connect XPD pin to RESET pin (picture from [[http:// | ||
- | {{: | ||
- | {{: | ||
- | {{: | ||
- | {{: | ||
- | === ESP-12 === | ||
- | === ESP-12E === | ||
- | {{home_automation: | ||
- | |||
- | === ESP-12F === | ||
- | improved stability, better antenna, 4 layer pcb.\\ | ||
- | {{: | ||
- | {{: | ||
- | |||
- | === ESP-14 === | ||
===== Pinout ===== | ===== Pinout ===== | ||
{{: | {{: | ||
Line 49: | Line 37: | ||
^ Pin # ^ GPIO ^ role / description ^^^^ | ^ Pin # ^ GPIO ^ role / description ^^^^ | ||
- | | 15 | GPIO0 | FLSH | SPI_CS2 | | Pull up during | + | | 15 | GPIO0 | FLSH | SPI_CS2 | | !!! Must be H during |
- | | 26 | GPIO1 | UART0_TXD | SPI_CS1 | | Uart Tx during flash programming | + | | 26 | GPIO1 | UART0_TXD | SPI_CS1 | | UART TX during flash programming |
- | | 14 | GPIO2 | | + | | 14 | GPIO2 | UART1_TXD |
- | | 25 | GPIO3 | UART0_RXD | | + | | 25 | GPIO3 | UART0_RXD | |
| 16 | GPIO4 | | | 16 | GPIO4 | | ||
| 24 | GPIO5 | | | 24 | GPIO5 | | ||
Line 62: | Line 50: | ||
| 20 | GPIO11 | | SPI_CS0 | SD_CMD | | | | 20 | GPIO11 | | SPI_CS0 | SD_CMD | | | ||
| 10 | GPIO12 | HSPI_MISO | MTDI | | | | | 10 | GPIO12 | HSPI_MISO | MTDI | | | | ||
- | | 12 | GPIO13 | HSPI_MOSI | MTCK | UART0_CTS | | | + | | 12 | GPIO13 | HSPI_MOSI | MTCK | UART0_CTS |
| 9 | GPIO14 | HSPI CLK | MTMS | | | | | 9 | GPIO14 | HSPI CLK | MTMS | | | | ||
- | | 13 | GPIO15 | HSPI CS | MTDO | UART0_RTS | | | + | | 13 | GPIO15 | HSPI CS | MTDO | UART0_RTS |
- | | 8 | GPIO16 | XPD_DCDC | + | | 8 | GPIO16 | XPD_DCDC |
| | | | ||
| 7 | | 7 | ||
Line 79: | Line 67: | ||
| 31 | | RES12K | | 31 | | RES12K | ||
- | |||
- | |||
- | |||
- | ====== Flashing new firmware ====== | ||
- | When Chip is powered on, with GPIO0 pulled up, it enter into firmware downloading mode. | ||
- | |||
- | |||
- | ===== esptool ===== | ||
- | Download/ | ||
- | |||
- | Example usage: | ||
- | <code bash> | ||
- | |||
- | < | ||
- | Connecting... | ||
- | Erasing flash... | ||
- | Writing at 0x00001400... (1 %) | ||
- | </ | ||
- | |||
- | < | ||
- | Erasing flash... | ||
- | Wrote 462848 bytes at 0x00000000 in 520.5 seconds (7.1 kbit/s)... | ||
- | |||
- | Leaving... | ||
- | </ | ||
====== Firmwares ===== | ====== Firmwares ===== | ||
Line 124: | Line 87: | ||
===== Arduino ===== | ===== Arduino ===== | ||
[[https:// | [[https:// | ||
+ | |||
+ | [[https:// | ||