Programming the ESP8266 With the Arduino IDE in 3 Simple Steps
Learn how you can get your ESP8266 up and running ASAP using the Arduino IDE.
Join the DZone community and get the full member experience.Join For Free
the esp8266 is a low-cost wifi module built by espressif systems . its popularity has been growing among the hardware community thanks to its nice features and stability, to the point that it can be easily programmed using your arduino ide .
in this post, we'll learn how to program your esp8266 using an uartbee or arduino uno, and the arduino ide.
1. wire up!
first, we'll need to identify the pinout of esp8266.
to set the esp8266 in programming mode you need to connect its wires like this:
note: if you are using an arduino uno you will need to set arduino rst to gnd. please be careful with the vcc of the esp8266, it works only with a 3.3v supply.
2. setup the arduino ide
download arduino ide.
open you ide and click on "file -> preferences".
in "aditional boards manager urls" add this line and click on "ok":
go to "tools -> board -> boards manager" , type "esp8266" and install it.
go again to "tools -> board" and select "generic esp8266 module".
3. flash your code!
now you're ready to use your esp8266 as a stand-alone module without needing an external micro-controller. check out more esp8266 resources here to learn how to build iot products and projects using this amazing module.
Published at DZone with permission of Mateo Velez, DZone MVB. See the original article here.
Opinions expressed by DZone contributors are their own.