Adafruit ESP8266

Add WiFi to your project.

Photo

The ESP8266 can be setup as a local WiFi hotspot that you can connect to using a laptop, tablet or phone. The project shows a simple Serial relay to a web page.

Serial protocol3.3 volts6.0 volts

The ESP8266 is like its own microcontroller that you can compile and load scripts. Load the drivers into the Arduino IDE. A USB-to-Serial cable can be used to upload the script.

To load the script it is important to hold down the GPIO0 button whilst pressing the Reset button. This will put the ESP8266 into load script mode.

The ESP8266 can be easily added to a microcontroller on the serial pins.

Fritzing

Image developed using Fritzing

warning: espcomm_sync failed
error: espcomm_open failed
error: espcomm_upload_mem failed
error: espcomm_upload_mem failed

To load the script it is important to hold down the GPIO0 button whilst pressing the Reset button. This will put the ESP8266 into load script mode.

Push down the GPIO0 button and a bright red light will show. If you see any blue light flash, you have pressed the wrong button. Whilst GPIO0 is pressed down, push with another finger the Reset button. Release both fingers and you should see a dim red light. The board is now ready to upload with a new script.

................................................................................ [ 33% ]
................................................................................ [ 66% ]
................................................................................ [ 99% ]
.                                                                                [ 100% ]

copy/paste Sketch