ESP8266 projects for Wifi based home automation

ESP8266 Project

You can search for this project in google but not exact this project
ESP8266 Wifi based home automation

There are many  projects done on ESP8266 projects. Now I am discussing about the project named WIFI based home automation using  ESP8266 module. The above picture represents the module. By this kit we can automatically control fans lights in our house or anywhere with an app in our mobile or PC. ESP8266 is a Wi-Fi based module. By this module we can connect the internet connection. In this we will not use microcontroller separately. Because it is inbuilt in ESP8266 module. In this project we are going to make a home automation system using ESP8266 Wi-Fi module and Arduino UNO. Using this we will be able to control lights, electric fans and other home appliances through a web browser using your pc or mobile. These AC main appliances will be connected to relays which are controlled by the Arduino.

Circuit Description:

This circuit diagram consists of the following parts:

  • ESP8266 Wi-Fi module
  • Relays
  • PCF8574T
  • LCD display
  • Reset button

Now we discuss every part of the circuit separately.

ESP8266 Wi-Fi module:

ESP8266 is a low-cost Wi-Fi microchip with full TCP/IP stack and microcontroller capability produced by Shanghai-based Chinese manufacturer. The ESP8285 is an ESP8266 with 1 MiB of built-in flash, allowing for single chip devices capable of connecting Wi-Fi. NodeMCU  is an open source platform which includes firmware which runs on ESP8266 WIFI SOC and hardware which runs on ESP-12 module. NodeMCU was created shortly after the ESP8266 came out.

ESP8266 is a UART transparent transmission module with ultralow power consumption, specially designed for the needs of a new connected world. It has powerful on-board processing and storage.


Relay is an electronic switch. It is used instead of switches used in our house. Many relays uses electromagnet to operate a switch. Relays are used where it is necessary to operate a circuit by signal. These are used extensively in telephones. Many machines use them. These are used in vehicles also.


You can find itin google it is used with ESP8266 in this kit


PCF8574T is a I2c bus. I2C is a serial bus invented by Phillips. It is a high performance serial bus. It has only two bidirectional signal lines. PCF8574 is 8-bit I/O expander used for two line bidirectional is designed for 2.5V to 6V VCC operation. The device features an 8-bit quasi-bidirectional I/O port (P0–P7), including latched outputs with high-current drive capability for directly driving LEDs.

LCD Display:

LCD stands for Liquid Crystal Display. It is a flat panel display. It has two rows and 16 columns. So it is called LCD 16×2 display. These are used to display arbitrary images or fixed images. These liquid crystals do not emit light directly. these displays are used in many electronic devices like televisions mobile phones computers laptops etc. These displays are in three colours red green white.

It is made of either passive matrix or active matrix display grid.

Reset Button:

Reset button is used to rese the device. It clears the whole memory and reboots the system. In our project we use this button to reset the IP address which we use to activate the operation of the lights and fans etc.

Circuit principle:

The project aims at designing an advanced home automation system using Wi-Fi technology. The device can be switched ON/OFF using a PC (personal computer) or smart phones through Wi-Fi. At present we designed only for bulbs.

Working principle:

  • We will connect the ESP8266 module to our mobile or laptop to a data cable. After connecting it the kit will be ON.
  • First of all after the kit is ON we will find a wi-Fi connection with username Smart control.
  • We should connect to that Smart control then a page of that smart control will be opened.
  • Click on configure Wi-Fi the it will display the nearest Wi-Fi users or hotspot users.
  • Connect to the nearest network .
  • Now open the app in our mobile which is named as ESP8266 Wi-Fi control.
  • When we open the app it will ask an IP address of our wi-Fi o hotspot network that we connected before.
  • The IP address of that network will be displayed on LCD display.
  • Type that IP address in our app and give port number as 80 and click on save option.
  • Now the home page will be opened.
  • Then there will be four bulbs displayed. If we click on each bulb the bulb will be ON.
  • If we click again it will be OFF. So by this process we can operate our bulbs automatically.

Software used:

In this project we used the software called Arduino software. We wrote our program also in Arduino only. We used C language to writ the program.


  • Equipment can be placed almost anywhere
  • No unsightly cords running through your home
  • No need for an additional Ethernet output
  • Keeps your router’s ports free


  • Lighting Control
  • Air Conditioning
  • Ventilation
  • Heating
  • Outdoor Lawn Irrigation
  • Kitchen Appliances
  • Security Systems


Wi-Fi technology capable solution has proved to be controlled remotely, provide home security and is cost-effective as compared to the previously existing systems.

With the help of smart phones or computer the devices can be operated according to the user wish with complete accuracy. In this project we overcome the problem of large data handling by making this smart home technology even more smarter and efficient by enabling smart home appliances by sitting at any corner of the globe with the help of internet.

 Future Scope:

As time goes on, you should be able to connect more and more of your home devices automating every aspect of your home life. Voice command technology will be everywhere, and remote controls will be a thing of the past.

Home automation products aim to simplify your home life in ways you didn’t even realize you wanted or needed. The future will bring an increase in combination sensor products, like the connected sensors. Ultimately, these multi-sensing home automation devices will better “understand” the context of how we live our lives and automatically adjust our environment accordingly.

Please share your feedback with us in the comment section below. We at Eckovation love to hear your thoughts.

Don't miss out!
Subscribe To Our Newsletter

Learn new things. Get an article everyday.

Invalid email address
Give it a try. You can unsubscribe at any time.