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 revisionPrevious revision
Next revision
Previous revision
home_automation:esp8266:general [2016/06/03 09:02] niziakhome_automation:esp8266:general [2020/06/05 14:43] (current) niziak
Line 25: Line 25:
 {{:home_automation:esp8266:0a-esp8266_datasheet_en_v4.3.pdf|}} {{:home_automation:esp8266:0a-esp8266_datasheet_en_v4.3.pdf|}}
  
 +====== 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]]
  
-===== Modules versions ===== 
-=== ESP-01 === 
-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&200|}} 
-{{:home_automation:esp8266:esp-01_mcu_pinouts.jpg?direct&300|}} 
-{{:home_automation:esp8266:esp8266_extra_gpio.jpg?direct&200|}} 
  
-=== ESP-12 === 
-=== ESP-12E === 
-{{home_automation: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|}}
 {{:home_automation:esp8266:esp8266_pinout.jpg?direct&200|}} {{:home_automation:esp8266:esp8266_pinout.jpg?direct&200|}}
  
-^ Pin # ^ GPIO   ^ role / description ^ +^ Pin # ^ GPIO   ^ role / description ^^^^ 
-| 7            | CH_PD  | CHIP_EN | Chip power down - to enable chip needs to be pulled up | +| 15    | GPIO0  | FLSH      | SPI_CS2 |        | !!! Must be H during bootup. L=boot from UART 
-| 32    |        | EXT_RSTB    | | | External reset signal (active low) | +| 26    | GPIO1  | UART0_TXD | SPI_CS1 |        | UART TX during flash programming  3,3V ! | 
-| 6            | T_OUT  | ADC | +| 14    | GPIO2  | UART1_TXD |                | UART TX during flash programming | 
-| 15    | GPIO0  | FLSH | SPI_CS2 | Pull up during powering to go into flashing mode +| 25    | GPIO3  | UART0_RXD |         |        | UART Rx during flash programming  3,3V ! | 
-| 26    | GPIO1  | UART0_TXD | SPI_CS1 |Uart Tx during flash programming 3,3V ! | +| 16    | GPIO4  |                          | 
-| 14    | GPIO2  | UART Tx during flash programming | +| 24    | GPIO5  |                          
-| 25    | GPIO3  | UART0_RXD | Uart Rx during flash programming 3,3V ! | +| 21    | GPIO6  |           | SPI_CLD | SD_CLK 
-| 16    | GPIO4  | +| 22    | GPIO7  |           | SPI_MISO| SD_D0  
-| 24    | GPIO5  |                          | +| 23    | GPIO8  |           | SPI_MOSI| SD_D1  
-| 21    | GPIO6  |           | SPI_CLD | SD_CLK | +| 18    | GPIO9  | HSPI_HD   | SPI_HD  | SD_D2  
-| 22    | GPIO7  |           | SPI_MISO| SD_D0  | +| 19    | GPIO10 | HSPI_WP   | SPI_WP  | SD_D3  
-| 23    | GPIO8  |           | SPI_MOSI| SD_D1  | +| 20    | GPIO11 |           | SPI_CS0 | SD_CMD 
-| 18    | GPIO9  | HSPI_HD   | SPI_HD  | SD_D2  | +| 10    | GPIO12 | HSPI_MISO | MTDI           | 
-| 19    | GPIO10 | HSPI_WP   | SPI_WP  | SD_D3  | +| 12    | GPIO13 | HSPI_MOSI | MTCK    | UART0_CTS / UART0_RXD2 | Note: there is UART Swap register, and UART0 can be muxed to GPIO13 and GPIO15 
-| 20    | GPIO11 |           | SPI_CS0 | SD_CMD | +| 9     | GPIO14 | HSPI CLK  | MTMS    |           
-| 10    | GPIO12 | HSPI_MISO | MTDI | +| 13    | GPIO15 | HSPI CS   | MTDO    | UART0_RTS / UART0_TXD2 | !!! Must be L durign bootup (H=SDIO mode) 
-| 12    | GPIO13 | HSPI_MOSI |      | UART0_CTS | +| 8     | GPIO16 | XPD_DCDC  |                   | Depp sleep Timer output / USER / WAKE. Connect it to reset ping to wakeup from Deep Sleep mode | 
-| 9     | GPIO14 | HSPI CLK  | MTMS |           | +|              |                             | | 
-| 13    | GPIO15 | HSPI CS   | MTDO | UART0_RTS | +| 7            | CH_PD     | CHIP_EN |           | Chip power down - to enable chip needs to be pulled up | 
-| 8     | GPIO16 | XPD_DCDC  | Depp sleep Timer output / USER / WAKE | +| 32    |        | EXT_RSTB  |                   | External reset signal (active low) | 
-| 11    |        | VDDPST | Digital I/O Power Supply (1.8V~3.3V) | +| 6            | T_OUT     | ADC               | | 
-| 17    |        | VDDPST | Digital I/O Power Supply (1.8V~3.3V) | +|              |                             
-| 29    |        | VDD    | Analog power 3.0V~3.6V | +| 11    |        | VDDPST                      | Digital I/O Power Supply (1.8V~3.3V) | 
-| 30    |        | VDDA   | Analog power 3.0V~3.6V | +| 17    |        | VDDPST                      | Digital I/O Power Supply (1.8V~3.3V) | 
-| 27    |        | XTAL_OUT | +| 29    |        | VDD       |                   | Analog power 3.0V~3.6V | 
-| 28    |        | XTAL_IN  +| 30    |        | VDDA                        | Analog power 3.0V~3.6V | 
-| 31    |        | RES12K  | Serial connection with a 12kOhm resistor do ground |+| 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 GPIO0 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 122: Line 87:
 ===== Arduino ===== ===== Arduino =====
 [[https://github.com/esp8266/Arduino]] [[https://github.com/esp8266/Arduino]]
 +
 +[[https://github.com/markszabo/IRremoteESP8266]]