ESP8266: Difference between revisions
Created page with "ESP8266 is a low cost Wi-Fi capable microcontroller created by Espressif, a Shanghai based company. For more information, read the Wikipedia article at https://en.wikipedia.o..." |
No edit summary |
||
| Line 32: | Line 32: | ||
* https://homeautomationfordummies.wordpress.com/2016/03/04/esp8266-esp-12-getting-started/ | * https://homeautomationfordummies.wordpress.com/2016/03/04/esp8266-esp-12-getting-started/ | ||
* http://support.thingplus.net/en/esp8266.html | * http://support.thingplus.net/en/esp8266.html | ||
* https://tttapa.github.io/ESP8266/Chap03 - Software.html | |||
Revision as of 02:25, 21 January 2018
ESP8266 is a low cost Wi-Fi capable microcontroller created by Espressif, a Shanghai based company.
For more information, read the Wikipedia article at https://en.wikipedia.org/wiki/ESP8266
Usage
The ESP8266 runs on 3.3v and is not 5v tolerant. However, I was able to connect the ESP8266 to a 5v FTDI adapter without any issue. Ideally though, the RX/RX should be connected through a voltage divider.
To power on and play with the ESP8266, connect
- vcc to 3.3v
- gnd to ground
- GPIO-15 to ground via 10k resistor
- GPIO-2 to vcc via 10k resistor
- GPIO-0 to vcc
- TXD0 to TX (on FTDI or Arduino board without the atmel chip)
- RXD0 to RX (through voltage divider)
- RST to vcc via 10k resistor. (Connecting this to gnd will reset chip)
- EN (or CH_PD on some boards?) to vcc via 10k resistor
The serial connection by default out of the box was 115200 baud.
The NON-OS firmware will boot and will start accepting AT commands.
Flashing
To flash the stock firmware (NON-OS), get the SDK and the flashing tools from:
- http://espressif.com/en/support/download/other-tools
- http://espressif.com/en/support/download/sdks-demos
Source code can be found at: