meta data for this page
  •  

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
home_automation:esp8266:general [2016/04/06 06:55]
niziak esp8266:general renamed to home_automation:esp8266:general
home_automation:esp8266:general [2020/06/05 14:43] (current)
niziak
Line 22: Line 22:
 Memory MAP: [[http://​www.esp8266.com/​wiki/​doku.php?​id=esp8266_memory_map]] Memory MAP: [[http://​www.esp8266.com/​wiki/​doku.php?​id=esp8266_memory_map]]
  
-===== Modules versions ===== +{{:​home_automation:esp8266:esp8266_specifications_english.pdf|}}\\  
-=== ESP-01 === +{{:​home_automation:esp8266:0a-esp8266_datasheet_en_v4.3.pdf|}}
-To enable deep sleep mode, connect XPD pin to RESET pin (picture from [[http://​www.esp8266.com/​viewtopic.php?​f=32&​t=5701&​start=28]])\\ +
-{{:esp8266:esp-01.jpg?​direct&​300|}} +
-{{:esp8266:esp8266-01-deep-sleep-mod.jpg?​direct&​300|}}+
  
 +====== External software ======
 +  * [[https://​github.com/​igrr/​esptool-ck/​releases/​download/​0.4.8/​esptool-0.4.8-linux64.tar.gz|esptool 0.4.8]]
 +    * [[https://​github.com/​themadinventor/​esptool|https://​github.com/​themadinventor/​esptool]]
 +  * [[http://​arduino.esp8266.com/​linux64-xtensa-lx106-elf-gb404fb9.tar.gz|xtensa-lx106-elf-gcc 1.20.0-26-gb404fb9-2]]
 +  * [[https://​github.com/​igrr/​mkspiffs/​releases/​download/​0.1.2/​mkspiffs-0.1.2-linux64.tar.gz|mkspiffs 0.1.2]]
  
-=== ESP-12 === 
-=== ESP-12E === 
-{{:​esp8266:​esp8266-esp-12e.jpg?​direct&​200|}} 
  
-=== ESP-12F === 
-improved stability, better antenna, 4 layer pcb.\\ 
-{{:​esp8266:​esp8266-wifi-series-of-model-esp-12-esp-12f-esp12f-esp12-authenticity-guaranteed.jpg?​direct&​200|}} 
-{{:​esp8266:​esp-12f-back.jpeg?​direct&​100|}} 
- 
-=== ESP-14 === 
 ===== Pinout ===== ===== Pinout =====
 {{:​esp8266:​esp_pinout_01.pdf|}} {{:​esp8266:​esp_pinout_01.pdf|}}
-^ Pin    ^ role ^ description ^ +{{:​home_automation:​esp8266:​esp8266_pinout.jpg?​direct&​200|}}
-| CH_PD  | | Chip power down - to enable chip needs to be pulled up | +
-| RST    | | | +
-| T_OUT  | ADC | +
-| GPIO0  | FLSH | Pull up during powering to go into flashing mode | +
-| GPIO1  | TXD | 3,3V ! | +
-| GPIO2  | IO | | +
-| GPIO3  | RXD | 3,3V ! | +
-| GPIO6  | MMC CLK | +
-| GPIO7  | MMC D0  | +
-| GPIO8  | MMC D1  | +
-| GPIO9  | MMC D2  | +
-| GPIO10 | MMC D3  | +
-| GPIO11 | MMC CMD | +
-| GPIO12 | HSPI Q | +
-| GPIO13 | HSPI D / RXD2 | +
-| GPIO14 | HSPI CLK | +
-| GPIO15 | HSPI CD / TXD2 | +
-| GPIO16 | XPD | Depp sleep Timer output / USER / WAKE | +
-| IO0 | +
-| IO2 | +
-| IO4 | +
-| IO5 | +
-| IO12 | +
-| IO13 | +
-| IO14 | +
-| IO15 |+
  
 +^ Pin # ^ GPIO   ^ role / description ^^^^
 +| 15    | GPIO0  | FLSH      | SPI_CS2 |        | !!! Must be H during bootup. L=boot from UART |
 +| 26    | GPIO1  | UART0_TXD | SPI_CS1 |        | UART TX during flash programming ​ 3,3V ! |
 +| 14    | GPIO2  | UART1_TXD |         ​| ​       | UART TX during flash programming |
 +| 25    | GPIO3  | UART0_RXD |         ​| ​       | UART Rx during flash programming ​ 3,3V ! |
 +| 16    | GPIO4  |           ​| ​        ​| ​       | |
 +| 24    | GPIO5  |           ​| ​        ​| ​       | |
 +| 21    | GPIO6  |           | SPI_CLD | SD_CLK | |
 +| 22    | GPIO7  |           | SPI_MISO| SD_D0  | |
 +| 23    | GPIO8  |           | SPI_MOSI| SD_D1  | |
 +| 18    | GPIO9  | HSPI_HD ​  | SPI_HD ​ | SD_D2  | |
 +| 19    | GPIO10 | HSPI_WP ​  | SPI_WP ​ | SD_D3  | |
 +| 20    | GPIO11 |           | SPI_CS0 | SD_CMD | |
 +| 10    | GPIO12 | HSPI_MISO | MTDI    |        | |
 +| 12    | GPIO13 | HSPI_MOSI | MTCK    | UART0_CTS / UART0_RXD2 | Note: there is UART Swap register, and UART0 can be muxed to GPIO13 and GPIO15 |
 +| 9     | GPIO14 | HSPI CLK  | MTMS    |           | |
 +| 13    | GPIO15 | HSPI CS   | MTDO    | UART0_RTS / UART0_TXD2 | !!! Must be L durign bootup (H=SDIO mode) |
 +| 8     | GPIO16 | XPD_DCDC ​ |         ​| ​          | Depp sleep Timer output / USER / WAKE. Connect it to reset ping to wakeup from Deep Sleep mode |
 +|       ​| ​       |           ​| ​        ​| ​          | |
 +| 7     ​| ​       | CH_PD     | CHIP_EN |           | Chip power down - to enable chip needs to be pulled up |
 +| 32    |        | EXT_RSTB ​ |         ​| ​          | External reset signal (active low) |
 +| 6     ​| ​       | T_OUT     | ADC     ​| ​          | |
 +|       ​| ​       |           ​| ​        ​| ​          | |
 +| 11    |        | VDDPST ​   |         ​| ​          | Digital I/O Power Supply (1.8V~3.3V) |
 +| 17    |        | VDDPST ​   |         ​| ​          | Digital I/O Power Supply (1.8V~3.3V) |
 +| 29    |        | VDD       ​| ​        ​| ​          | Analog power 3.0V~3.6V |
 +| 30    |        | VDDA      |         ​| ​          | Analog power 3.0V~3.6V |
 +| 27    |        | XTAL_OUT ​ |         ​| ​          | |
 +| 28    |        | XTAL_IN ​  ​| ​        ​| ​          | |
 +| 31    |        | RES12K ​   |         ​| ​          | Serial connection with a 12kOhm resistor do ground |
  
-====== Flashing new firmware ====== 
-When Chip is powered on, with GPIO1 pulled up, it enter into firmware downloading mode. 
- 
- 
-===== esptool ===== 
-Download/​clone [[https://​github.com/​themadinventor/​esptool|https://​github.com/​themadinventor/​esptool]] 
- 
-Example usage: 
-<code bash>​./​esptool.py --port /​dev/​ttyUSB1 --baud 9600 write_flash 0 ../​nodemcu_float_0.9.6-dev_20150704.bin</​code>​ 
- 
-<​code>​ 
-Connecting... 
-Erasing flash... 
-Writing at 0x00001400... (1 %) 
-</​code>​ 
- 
-<​code>​ 
-Erasing flash... 
-Wrote 462848 bytes at 0x00000000 in 520.5 seconds (7.1 kbit/s)... 
- 
-Leaving... 
-</​code>​ 
  
 ====== Firmwares ===== ====== Firmwares =====
Line 107: Line 82:
 The ESP Easy firmware can be used to turn the ESP module into an easy multifunction sensor device for Home Automation solutions like Domoticz. Configuration of the ESP Easy is entirely web based, so once you've got the firmware loaded, you don't need any other tool besides a common web browser. ​ The ESP Easy firmware can be used to turn the ESP module into an easy multifunction sensor device for Home Automation solutions like Domoticz. Configuration of the ESP Easy is entirely web based, so once you've got the firmware loaded, you don't need any other tool besides a common web browser. ​
 [[http://​www.esp8266.nu]] [[http://​www.esp8266.nu]]
 +
 +Wiki page [[espeasy]]
  
 ===== Arduino ===== ===== Arduino =====
 [[https://​github.com/​esp8266/​Arduino]] [[https://​github.com/​esp8266/​Arduino]]
 +
 +[[https://​github.com/​markszabo/​IRremoteESP8266]]