Introduction: Control 9 Appliances Without Internet

About: Electronic and Telecommunications Engineer

Now a days, Home automation is the most popular new trend inside the house improvement market with increasingly more technological advances. Home automation way of literally run your home automatically. Home automation is part of internet of things (IOT). by using this system we can control home appliance over the android phone or computer.

In this project we are controlling 8 appliances using android phone. yes we can control up to 8 electronic appliances using your mobile phone without internet connection. you just need to make a simple project and install this android application on your mobile phone. you can control any Electronic devices like TV, Fan, AC, Water pump, Tube light, any thing that you want to controlled.
For this project we are using NODEMCU development board. ESP8266 Wifi Module, or Nodemcu or any of the other ESP8266 based boards can be used to build web server through which all the GPIO pin of the board can be controlled over WiFi.

Note : for demonstration we are controlling 8 devices.

Today, we are going to put that web server in use and control 8 home appliances with it.

Step 1: Required Hardware

  • Nodemcu ESP8266 development board just 330/- Link
  • 8 channel relay module just 250/- Link
  • 5v mobile old charger
  • Breadboard (optional) just 90/- Link
  • Jumper wire just 220/- Link

Other Components

  • Arduino Uno just 384/- Link
  • Arduino Nano just 330/- Link

For more low cost components comment me......

Step 2: Required Software

Arduino Software Link

Step 3: Connecting the Hardware

  • NodeMCU – Relay Module
  • Nodemcu pin D0 --> Relay module pin IN1
  • Nodemcu pin D1 --> Relay module pin IN2
  • Nodemcu pin D2 --> Relay module pin IN3
  • Nodemcu pin D3 --> Relay module pin IN4
  • Nodemcu pin D4 --> Relay module pin IN5
  • Nodemcu pin D5 --> Relay module pin IN6
  • Nodemcu pin D6 --> Relay module pin IN7
  • Nodemcu pin D7 --> Relay module pin IN8
  • Nodemcu pin VCC --> Relay module pin VCC
  • Nodemcu pin GND --> Relay module pin GND

Step 4: Circuit Diagram

Step 5: Setting Up Arduino IDE

First open Arduino IDE software, next to select the board go to Tools ==> Board ==> and search for NodeMCU 1.0(ESP-12E Module) and click on it.

If you don't have Nodemcu board installed then follow the procedure below link

Installing ESP8266 Board in Arduino IDE

Step 6: Arduino IDE Code

To get Arduino code just mail me i will send you code.

Gmail address

Then, Download the source code below from the link and open code. We need to do some changes, just change your wifi ssid and wifi password.
Now , upload the source code to the nodemcu, en͏s͏u͏r͏e ͏e͏v͏e͏r͏y͏t͏h͏i͏n͏g ͏i͏s ͏c͏o͏n͏n͏e͏c͏t͏e͏d ͏a͏s ͏d͏e͏s͏c͏r͏i͏b͏e͏d ͏u͏n͏d͏e͏r ͏t͏h͏e ͏s͏c͏h͏e͏m͏a͏t͏i͏c͏s ͏s͏e͏c͏t͏i͏o͏n. ͏a͏f͏t͏e͏r ͏u͏p͏l͏o͏a͏d͏i͏n͏g ͏t͏h͏e ͏c͏o͏d͏e, ͏open serial monitor and y͏o͏u ͏s͏h͏o͏u͏l͏d ͏s͏e͏e ͏t͏h͏e ͏i͏p ͏a͏d͏d͏r͏e͏s͏s ͏o͏f ͏y͏o͏u͏r ͏w͏e͏b ͏s͏e͏r͏v͏e͏r ͏d͏i͏s͏p͏l͏a͏y͏e͏d ͏i͏n ͏t͏h͏e ͏s͏e͏r͏i͏a͏l ͏m͏o͏n͏i͏t͏o͏r ͏a͏s ͏s͏h͏o͏w͏n ͏b͏e͏l͏o͏w.

Step 7: Android Application Set Up

Application Link "DHome"

Now open the "DHome" android application and add this IP address. To add the IP address follow the below process. First click on setting symbol and then type this IP address and click on save button, and you are all done.
Note : In DHome android application there is 9 button, you can also connect one more device to system, means you can control up 9 electronic devices.

That’s it for this tutorial. Thanks for reading.
If you have any question about today’s tutorial, please feel free to share via the comment section I hope it will helpful to you...........................Thanks.

Step 8: ESP8266 Webserver DHT11 Sensor and OLED Display

Step 9: My Other Project Arduino LED Cube