How to easily and quickly program the ESP8266 module via an arduino using the arduino IDE with example.

Link to paste : http://arduino.esp8266.com/stable/package_esp8266com_index.json
Download The Arduino IDE : https://goo.gl/F5ClOy
ESP Pin Diagram : https://preview.ibb.co/e9vBVa/Schema_ESP82661.jpg

**********F.A.Q.s**************
Q. Getting Error : espcomm_upload_mem failed
A. Make sure that the GPIO 0 pin is connected to ground(GND) and the esp module is getting power.

Q. Can’t Install the ESP board?
A. Make sure that you have a reliable connection to the internet.

Q. My sketch doesn’t run after I power the the ESP again?
A. Make sure that the GPIO 0 pin is disconnected if you want to run a sketch. Reconnect it if you want to program the board.

Q. I did everything right but I still get error during upload?
A. Go to tools, upload speed and try uploading with different speeds either ‘115200’ or ‘9600’ should work but if they don’t try the other ones.

Q.How do I power the ESP without a arduino?
A. You can use a 3.5v LiPo battery or a breadboard power supply like the one I showed at the end(link below) or use 3 AA cells in series.
*******************************

******PURCHACE LINKS******
Buy ESP8266-01 Module : https://goo.gl/KR6fsn
Buy Arduino Nano : https://goo.gl/Cn44aP
Buy USB to TTL Adapter : https://goo.gl/Dl6NQw

Make The Breadboard Adapter : https://goo.gl/F0OI23
Buy The Breadboard Adapter : https://goo.gl/lyomlw
Buy Jumper (Dupont) Cables : https://goo.gl/QqdBal
Buy Breadboard Power Supply : https://goo.gl/az9qWz
*******************************

Music : Invisible by Vibe Tracks https://youtu.be/dbJvKGvIK_k

Tags: esp8266 beginners guide
how to use the esp8266
how to program the esp8266 using arduino

Source

Leave a Reply