ESP8266
ESP8266 is a low cost Wi-Fi capable microcontroller created by Espressif, a Shanghai based company. I got a few from Ebay for $1.75USD each (some even cheaper when on auction).
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.
AT Command Reference
See: https://room-15.github.io/blog/2015/03/26/esp8266-at-command-reference/
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: