ESP8266-01 LED Control
![P_20161213_201125.jpg](/proxy/?url=https://content.instructables.com/FKP/HNVT/IWMQX3FV/FKPHNVTIWMQX3FV.jpg&filename=P_20161213_201125.jpg)
ESP8266 is a wifi SOC (system on a chip) produced by Espressif Systems . It is an highly integrated chip designed to provide full internet connectivity in a small package. And it can be also controlled by our smartphone by using an App. In this toturial I'm going to show that how you can control four LEDs connected to ESP8266-01 through your android app. ESP8266-01 having two gpios but here we are using RX & Tx of the esp as a gpio for controlling the LEDs. Also on the place of LED you can control your home appliances using relay module, I also going to give a ckt diagram of relay module. I hope you have lots of fun making this project. It is cheap, easy & useful.
Lets begin....
Parts You Need:
![4_8mm_Straw_Hat_Blue_Led_Light.jpg](/proxy/?url=https://content.instructables.com/FAU/25OQ/IWMQWZSO/FAU25OQIWMQWZSO.jpg&filename=4_8mm_Straw_Hat_Blue_Led_Light.jpg)
![10uF_50V_Radial_Electrolytic_Capacitor-500x500.jpg](/proxy/?url=https://content.instructables.com/F36/GR0E/IWMQWZSY/F36GR0EIWMQWZSY.jpg&filename=10uF_50V_Radial_Electrolytic_Capacitor-500x500.jpg)
![64-00.jpg](/proxy/?url=https://content.instructables.com/F42/3J1Q/IWMQWZT2/F423J1QIWMQWZT2.jpg&filename=64-00.jpg)
![13678-01.jpg](/proxy/?url=https://content.instructables.com/F0G/V5JR/IWMQWZTF/F0GV5JRIWMQWZTF.jpg&filename=13678-01.jpg)
![BC547-500x416.jpg](/proxy/?url=https://content.instructables.com/FD4/LKHG/IWMQWZTP/FD4LKHGIWMQWZTP.jpg&filename=BC547-500x416.jpg)
![LM1117_grande.jpg](/proxy/?url=https://content.instructables.com/FQG/Q264/IWMQWZU3/FQGQ264IWMQWZU3.jpg&filename=LM1117_grande.jpg)
![ujh copy.jpg](/proxy/?url=https://content.instructables.com/FB1/1KIX/IWMQWZU7/FB11KIXIWMQWZU7.jpg&filename=ujh copy.jpg)
![wires-2.jpg](/proxy/?url=https://content.instructables.com/FCH/JTRN/IWMQWZV2/FCHJTRNIWMQWZV2.jpg&filename=wires-2.jpg)
![relay-2.jpg](/proxy/?url=https://content.instructables.com/FY9/IGEL/IWMQWZVQ/FY9IGELIWMQWZVQ.jpg&filename=relay-2.jpg)
![2x4 2x5 female pin.jpg](/proxy/?url=https://content.instructables.com/F5W/0WMS/IWMQWZXC/F5W0WMSIWMQWZXC.jpg&filename=2x4 2x5 female pin.jpg)
![19087-2ab2416dd9c1787e0709b72538daa1e7.jpg](/proxy/?url=https://content.instructables.com/FF2/IJPY/IWMQWZXD/FF2IJPYIWMQWZXD.jpg&filename=19087-2ab2416dd9c1787e0709b72538daa1e7.jpg)
![bfb6bd20b43b1c7a0892a7b6c40ea2b4.jpeg](/proxy/?url=https://content.instructables.com/FY7/RNOI/IWMQX00X/FY7RNOIIWMQX00X.jpg&filename=bfb6bd20b43b1c7a0892a7b6c40ea2b4.jpeg)
1. ESP 8266 programming board
here is the link how you can make it
https://www.instructables.com/id/DIY-ESP8266-Progra...
2. A breadboard
3. asm1117 3.3v regulator
4. 10uf capacitor
5. LED x4
6. Some wires
7. 9v Battery
For Relay Board
1. Small dot matrix PCB
2. Relay 9v or any
3. Bc547 transistor
4. 10k ohm resistor x2
5. 1k ohm resistor x1
6. LED x1
7. Male & female headers
8. Wires
9. 9v Battery
Flashing ESP With Nodemcu:
![P_20161101_111927.jpg](/proxy/?url=https://content.instructables.com/FUN/VAX2/IWMQX0N1/FUNVAX2IWMQX0N1.jpg&filename=P_20161101_111927.jpg)
![Capturhhe.JPG](/proxy/?url=https://content.instructables.com/FAC/VJRF/IWMQX0N2/FACVJRFIWMQX0N2.jpg&filename=Capturhhe.JPG)
if your system is 32bit > Open folder Win32
if your system is 64bit > Open folder Win64
> Release
> Run Espflasher.exe
Connect gpio0 to gnd of your Esp programming board And then Connect it to your Laptop or pc.
> Select COM Port
> Click On Flash
Wait for process to be completed
After green tick appear your esp8266 is flashed with node mcu.
Downloads
Uploading Sketch :
![1.png](/proxy/?url=https://content.instructables.com/FBX/4OML/IWMQX1TX/FBX4OMLIWMQX1TX.png&filename=1.png)
![2.png](/proxy/?url=https://content.instructables.com/FIH/3TCQ/IWMQX1XT/FIH3TCQIWMQX1XT.png&filename=2.png)
![3.png](/proxy/?url=https://content.instructables.com/F5K/UVXN/IWMQX1XY/F5KUVXNIWMQX1XY.png&filename=3.png)
![4.png](/proxy/?url=https://content.instructables.com/FI0/5AC0/IWMQX1Y6/FI05AC0IWMQX1Y6.png&filename=4.png)
![5.png](/proxy/?url=https://content.instructables.com/FQC/SRJL/IWMQX1Z1/FQCSRJLIWMQX1Z1.png&filename=5.png)
>Extract ESPlorer.rar
>Run ESPlorer.jar
if you don't having java in your pc download from here
https://java.com/en/download/
>Click on open
>Select init.lua file
>Open it
>Change "rishabh" with your SSID
>Change "12345678" with your Password
>Select Port in my case it is com10
>Click Open Port
> When it Show Communicating with MCU
Connect and remove reset pin to ground
>Now it shows your node mcu version
>Click on Save to ESP
Wait till upload is complete
Circuit on Breadboard
![Capture.JPG](/proxy/?url=https://content.instructables.com/FJG/FH3U/IWMQX2UD/FJGFH3UIWMQX2UD.jpg&filename=Capture.JPG)
![3ac81437-6de6-4d49-a66f-e99eb92ae564.jpg](/proxy/?url=https://content.instructables.com/FTI/05DK/IWMQX3A2/FTI05DKIWMQX3A2.jpg&filename=3ac81437-6de6-4d49-a66f-e99eb92ae564.jpg)
![P_20161213_201111.jpg](/proxy/?url=https://content.instructables.com/F43/HI3C/IWMQX3DI/F43HI3CIWMQX3DI.jpg&filename=P_20161213_201111.jpg)
![P_20161213_201125.jpg](/proxy/?url=https://content.instructables.com/FKP/HNVT/IWMQX3FV/FKPHNVTIWMQX3FV.jpg&filename=P_20161213_201125.jpg)
And Assemble the Circuit.
Android App
Install the App
Type your esp8266 ip address and save it.
Now you can control four leds from your smartphone.
Enjoy!!
Downloads
Relay Board
![esp.JPG](/proxy/?url=https://content.instructables.com/FLF/1X1J/IWMQX4GH/FLF1X1JIWMQX4GH.jpg&filename=esp.JPG)
![P_20161213_205533.jpg](/proxy/?url=https://content.instructables.com/F5F/UL5E/IWMQX3Y1/F5FUL5EIWMQX3Y1.jpg&filename=P_20161213_205533.jpg)
Instead of LEDs you can control four relays.
Circuit for Relay board is given assemble it on pcb and the relay board is ready.
Enjoy switching your appliances wirelessly.
Hope you Like the Project....
![ESP8266 01 LED Control](/proxy/?url=https://content.instructables.com/F1O/0MX0/IWMQXQXJ/F1O0MX0IWMQXQXJ.jpg&filename=ESP8266 01 LED Control)