ESP8266 is everyone’s favorite wifi chip for IOT projects. Ever since I started making tutorials on esp8266, the most asked question till now is, how to program esp8266 using Arduino UNO or how to connect/Interface Arduino.
In this tutorial, I will tell you how I made my simple DIY esp8266 programmer using Arduino. This Arduino shield is a programmer, so that you can put in top of Arduino UNO as a shield.
To Build this You Need:
- Arduino UNO
- Vero Board or General Purpose PCB
- Male and Female Burge Strip or Header Pin
- One Push Button
- Few Jumper wire
How to Build:
You can watch this build video tutorial below or you can follow step by step tutorial given after this video tutorial.
Step 1: Cut out one piece of vero board.
Step 2: Put 2 Male Header Pin Rx and Tx of Arduino UNO and 5 Pin to the Power supply side.
Step 3: Then Place the Vero board above it.
Step 4: Align the Vero board properly. And using marker make some mark.
Step 5: Then remove header pin and Vero board and start soldering. As Vero board is a single side, then you have to solder in a tricky way. For this put one small single stand wire solder on top side and below side of header pin.(Check Video for more clarity, if still have doubt please ask in comment section below)
Step 6: Connect 4×2 Female Header pin in place of esp01.
Step7: Complete all the connection as per the circuit diagram given above.
Why Rx is connected to Rx and Tx is connected to Tx?
Ans: It’s because, We are not actually connecting to Rx Tx of Arduino, instead we are bypassing Arduino by one Reset to GND jumper and connecting ESP8266 directly to USB serial IC of Arduino UNO Board.
Why There is A Push Button? How it is help ful?
Ans: GPIO 0 of ESP8266 acts like programming pin. When we drive GPIO 0 to GND , esp8266 acts l ike programming mode. So there is push button which drives GPIO 0 to GND when pushed.
What is steps to upload Program to ESP8266 using this shield?
- Remove USB cable from arduino board.
- Mount the shield you have built along with esp8266
- Push the button, hold it pushing and then insert the usb cable to pc and arduino.
- Compile the code, choose esp01 generic esp from boards manager under tool section
Note: If you have new and did not install esp8266 Arduino library yet, click here to watch this tutorial to install esp8266 library.
5. Push the button again on esp8266 shield and then click on the upload button on IDE
This is really fast and efficient way to upload code to esp8266 using Arduino. I really enjoy using this. Hope you will make one by yourself and found this tutorial useful.
Do let me know if you build this or you have any question. If you build one of yours then don’t forget to share the images on our FB page.
Keep Learning, Keep Sharing. Good Luck