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
Last revision Both sides next revision
boards:esp8266 [2019/07/07 09:34]
darron [Tasmota]
boards:esp8266 [2023/10/15 13:31]
127.0.0.1 external edit
Line 1: Line 1:
-==== Espressif Systems ESP8266 ESP-XX ====+==== Espressif Systems ESP8266====
 <wrap right> <wrap right>
 {{:boards:esp8266-ch340.jpg?200}} {{:boards:esp8266-ch340.jpg?200}}
 </wrap> </wrap>
  
-The Espressif Systems ESP8266 is used in cheap WiFi modules. It embeds an Xtensa LX3 CPU. The ESP-XX boards come with at least 1/2 megabyte of SPI flash for program storage.+The Espressif Systems ESP8266 is used in cheap WiFi modules. It embeds an Xtensa LX3 CPU. ESP8266 boards named ESP-XX come with at least 1/2 megabyte of SPI flash for program storage.
  
 === Pinout === === Pinout ===
Line 36: Line 36:
  
 The default AT firmware can be updated using [[:tools:esptool|ESPTool]]. The default AT firmware can be updated using [[:tools:esptool|ESPTool]].
 +
 +To program the chip, keep GPIO0 low and reset the device on EXT_RSTB.
  
 <code> <code>
-wget "http://wiki.kewl.org/downloads/v0.9.2.2 AT Firmware.bin"+wget "https://wiki.kewl.org/downloads/v0.9.2.2 AT Firmware.bin"
 esptool.py --port /dev/ttyUSB0 write_flash 0x000000 "v0.9.2.2 AT Firmware.bin" esptool.py --port /dev/ttyUSB0 write_flash 0x000000 "v0.9.2.2 AT Firmware.bin"
 Connecting... Connecting...
Line 141: Line 143:
 Although the ESP-01 only has 2 GPIOs, NodeMcu has I2C support and a circuit such as [[:projects:esp|this]] can extend its capabilities. Although the ESP-01 only has 2 GPIOs, NodeMcu has I2C support and a circuit such as [[:projects:esp|this]] can extend its capabilities.
  
-=== Tasmota === 
- 
-Tasmota is firmware providing support for various devices attached to an ESP8266. It has both and HTTP (web) and MQTT interface. 
- 
-It was primarily designed for SONOFF power switches but can be used with any device to give an MQTT enabled WIFI temperature monitor, for example. 
- 
-Here is an example seession for a SONOFF basic switch. 
- 
-Backup factory firmware. 
- 
-<code> 
-esptool.py --port /dev/ttyUSB0 read_flash 0x00000 0x100000 image1M.bin 
-</code> 
- 
-Write tasmota firmware. 
- 
-<code> 
-esptool.py --port /dev/ttyUSB0 write_flash -fs detect -fm dout 0x0 sonoff-basic.bin 
-</code> 
- 
-Now an example session with the D1 Mini Lite. 
- 
-Read MAC address. 
- 
-<code> 
-esptool.py -p /dev/ttyUSB0 read_mac 
- 
-esptool.py v2.6-beta1 
-Serial port /dev/ttyUSB0 
-Connecting.... 
-Detecting chip type... ESP8266 
-Chip is ESP8285 
-Features: WiFi, Embedded Flash 
-MAC: xx:xx:xx:xx:xx:xx 
-Uploading stub... 
-Running stub... 
-Stub running... 
-MAC: xx:xx:xx:xx:xx:xx 
-Hard resetting via RTS pin... 
-</code> 
 === Resources === === Resources ===
  
 [[http://www.nodemcu.com/index_en.html|NodeMcu home page]] [[http://www.nodemcu.com/index_en.html|NodeMcu home page]]