How home automation works

What you will learn here home automation

  • How home automation works

How home automation works

What comes in mind when we say home automation? Controlling electric load such as AC, FAN, lights, geyser from mobile or web application right! So let me tell you making a home automation system is very easy. The home automation system involves the following block. The simple home automation system is shown below

  • Mobile or Web Application
  • Router
  • Control Unit
    • AC Sensing unit (for manual ON/OFF functionality)
    • Microcontroller (SOC)
    • AC control unit
  • Loads such as lights or FAN or AC etc

How home automation works

Mobile or Web Application

In order to control light or blub or geyser or ac from mobile or web application in home automation first, you need a mobile app or web application. So first you need to develop a mobile application that will send data to the router over a particular protocol.

Control Unit

The control unit is the heart of Home automation. Control unit has three important parts and those are

  1. AC sensing unit ( for manual ON/OFF functionality)
  2. Microcontroller (SOC)
  3. AC control unit

AC Sensing Unit

The AC sensing unit is responsible for checking whether the AC supply is available or not.  If AC supply is available means blub or electrical equipment is ON. If AC supply is not available means blub or electrical equipment is OFF. If you want to know how to implement AC sensing then please visit the following link

Sensing AC voltage using microcontroller


The microcontroller is heart of the entire home automation system.  When I say microcontroller (SOC) means you need to use SOC means microcontroller with additional functionality. For example, ESP8266 is the microcontroller with WiFi function. With ESP8266 microcontroller you can connect to the router, mobile hotspot, etc over the WiFi functionality.

The microcontroller (SOC) is responsible for the following functionality

  1. Receives data from the mobile app and controls loads such as blub or AC or geyser
  2. Provides manual ON/OFF functionality using AC Sensing

This is an important part of home automation where you have to write code such a way that it will receive a signal from the router and control GPIO pin to which light or blub or geyser is connected. You also need to write a code such way that it will microcontroller will control GPIO pin to which load is connected based on AC sensing output.

Ac control unit

This part receives is connected to anyone of the GPIOs of the microcontroller. Based on the GPIO pin status it controls the load i.e. light or blubs or AC or geyser. If you want to know how this works please visit the following link.

How to control light with microcontroller

You may also like...

Leave a Reply