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....

Step 1: Parts You Need:

1. ESP 8266 programming board

here is the link how you can make it


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

Step 2: Flashing ESP With Nodemcu:

Extract The given folder

if your system is 32bit > Open folder Win32

if your system is 64bit > Open folder Win64

> Release

> Run Espflasher.exe

Connect gpio2 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.

Step 3: Uploading Sketch :

>Connect your esp programming board to pc

>Extract ESPlorer.rar

>Run ESPlorer.jar

if you don't having java in your pc download from here


>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

Step 4: Circuit on Breadboard

Make a connector for Esp to make esp breadboard friendly.

And Assemble the Circuit.

Step 5: Android App

Install the App

Type your esp8266 ip address and save it.

Now you can control four leds from your smartphone.


Step 6: Relay Board

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....

<p>Hi</p><p>Thanks for your kind descriptions</p><p>I have two problems:</p><p>1- would you please share your MIT app inverter file</p><p>2- when I want to upload code to ESP, ESPlorer gives this message:</p><p>Communication with MCU...</p><p>..........</p><p>..........</p><p>..........</p><p>......Got answer! AutoDetect firmware...</p><p>Communication with MCU established.</p><p>Can't autodetect firmware, because proper answer not received (may be unknown firmware). </p><p>Please, reset module or continue.</p><p>&OElig;c&OElig;&ucirc;g'&Yuml;log&oelig;&atilde;&auml;cp8&auml;&Dagger;lrl;lWaiting answer from ESP - Timeout reached. Command aborted</p>
Check port selected correctly. Reset eap8266 several times when error occure. Again flash the esp8266. Connect gpio0 to gnd then plug into ur pc.<br>
<p>Aoa sir my project is remote control of home appliance with arduino through webpage for interfacing arduino with webpage i am using esp8266 esp 12...in project i am using master slave technique ...which means webpage will interface with master arduino through esp8266 then that master arduino will send signal to slave arduino through rf module ..and this slave will now light up the appliances....now main issue is i have made webpage communication between master slave has been done ...but interfacing of arduino with webpage is making problem ....my code is correct connections are correct but the code is not burning in wifi module it is giving error &quot; </p><p>Error : failed to open com6<br>Error: espcom_open failed<br>Error: espcom_upload_mem failed &quot;<br>Do you have some idea about it ?<br>Moreover sir i wana ask we have to remove arduino chip when we are buring code in esp8266 ?<br>Or we have to write the code in the same arduino file which we have developed while communication between master and slave ?</p>
<p>nice one bro</p>
Can you please provide a screenshot of the app? this is really cool.
Thank you....... This is the app.

About This Instructable




More by RishabhL:8 Player Quizz Buzzer System Using Arduino ROYALTEK REB-4216 GPS MODEM WITH ARDUINO LED Strip Effects Controlled by Android App 
Add instructable to: