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 08:48] – 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 ===== | ||
| {{: | {{: | ||
| {{: | {{: | ||
| - | ^ Pin # ^ Pin | + | ^ Pin # ^ GPIO ^ role / description |
| - | | 7 | CH_PD | | Chip power down - to enable chip needs to be pulled up | | + | | 15 |
| - | | 32 | + | | 26 |
| - | | 6 | T_OUT | ADC | | + | | 14 | GPIO2 |
| - | | GPIO0 | + | | 25 | GPIO3 |
| - | | GPIO1 | + | | 16 | GPIO4 |
| - | | GPIO2 | + | | 24 | GPIO5 |
| - | | GPIO3 | + | | 21 |
| - | | GPIO6 | MMC CLK | | + | | 22 |
| - | | GPIO7 | MMC D0 | | + | | 23 |
| - | | GPIO8 | MMC D1 | | + | | 18 |
| - | | GPIO9 | MMC D2 | | + | | 19 |
| - | | GPIO10 | MMC D3 | | + | | 20 |
| - | | GPIO11 | MMC CMD | | + | | 10 | GPIO12 | HSPI_MISO |
| - | | 10 | + | | 12 |
| - | | GPIO13 | HSPI D / RXD2 | | + | | 9 | GPIO14 | HSPI CLK | MTMS |
| - | | 9 | GPIO14 | HSPI CLK | MTMS | | | + | | 13 | GPIO15 | HSPI CS | MTDO | UART0_RTS / UART0_TXD2 | !!! Must be L durign bootup (H=SDIO mode) | |
| - | | 13 | GPIO15 | HSPI CD | + | | 8 | GPIO16 | XPD_DCDC |
| - | | GPIO16 | XPD | Depp sleep Timer output / USER / WAKE | | + | | | | |
| - | | IO0 | | + | | 7 |
| - | | IO2 | | + | | 32 | | EXT_RSTB |
| - | | IO4 | | + | | 6 |
| - | | IO5 | | + | | | | |
| - | | IO12 | | + | | 11 | | VDDPST |
| - | | IO13 | | + | | 17 | | VDDPST |
| - | | IO14 | | + | | 29 | | VDD |
| - | | IO15 | | + | | 30 | | VDDA | |
| + | | 27 | | XTAL_OUT | ||
| + | | 28 | | XTAL_IN | ||
| + | | 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 119: | Line 87: | ||
| ===== Arduino ===== | ===== Arduino ===== | ||
| [[https:// | [[https:// | ||
| + | |||
| + | [[https:// | ||