Design and Implementation of Smart Electric Switch Boards for Controlling of Electric Loads

Home Automation Using Android Application through smart switch is a low cost, secure, universally accessible, auto-configurable, remotely controlled solution. It helps the user to turn on and off the electrical loads over the internet or control with a touch (capacitive touch sensors) or with the ti

2025-06-28 16:31:45 - Adil Khan

Project Title

Design and Implementation of Smart Electric Switch Boards for Controlling of Electric Loads

Project Area of Specialization Electrical/Electronic EngineeringProject Summary

Home Automation Using Android Application through smart switch is a low cost, secure, universally accessible, auto-configurable, remotely controlled solution. It helps the user to turn on and off the electrical loads over the internet or control with a touch (capacitive touch sensors) or with the time specified by the user. User can also see the power consumption of all the individual load.

The design works on the existing electrical switches and wiring system which provides more safety control on the switches with low voltage activating method. The switches status is synchronized with the control system whereby every user’s interface indicates the real time status of switches. The system intended to control electrical appliances and devices in house, shops, Hospitals, and Industries with relatively low-cost design, user-friendly interface and ease of installation.

Project Objectives

The objectives of a system is to: 

Project Implementation Method

The smart switch is designed with Microchip PIC 16 microcontroller Family. The software used to program this microcontroller mikroC Pro for PIC (using the C/C++ language). Also a web GUI is designed with Microsoft Visual Studio Code using HTML, CSS and JavaScript languages. Then the GUI is deployed to ESP8266 web server (this server serves the web pages to the connected user).

Sensors used in this smart switch are

The current and voltage sensors are analog sensors. First, these sensors value goes to microcontroller ADC. ADC convert these values to Digital for further computation of current and voltage values

Benefits of the Project Technical Details of Final Deliverable

Smart switch is designed with Microchip PIC16F877A and espressif ESP8266 microprocessors. The PIC16F877A controls all the loads when receives commands from capacitive touch sensors or from ESP8266 microcontrollers.

This system is based on two main parts. First part is mobile application based on Android platform. Second part of the system is an electronic circuit board that is used for controlling. First usage scenario is when Android application is used for communication with an electronic circuit board using Wi-Fi as communication channel.

Electronic circuit board consists of a microcontroller, a Wi-Fi module, relays which are used to switch electrical loads on the circuit and to switch power supply. Android application sends a command which is received by Wi-Fi module and forwarded using USART serial interface to the microcontroller that performs necessary actions. The operating voltage of this microcontroller is 2v-5.5V. The values can be read on Android mobile device that reads the values from the cloud. All smart appliances are connected to the same network, using Wi-Fi router and are communicating with main computer in the system which is microcontroller device. All sensors are connected directly to the microcontroller device, and microcontroller device is collecting all information from sensors and is sending that information using existing Wi-Fi network. The real time status of the loads is displayed, which are collected on the sensors. Also, the same information is sent to Android mobile device. User can also operate the loads through touch panel.

ESP8266 is a Wi-Fi capable microcontroller. It works as a Wi-Fi Access Point. A web server is implemented and deployed . Whenever any user access the server, a web interface is displayed to control the load and shows the power consumption of all the loads. This web interface is designed with HTML, CSS and JavaScript.

Final Deliverable of the Project HW/SW integrated systemCore Industry Energy Other Industries Others Core Technology Clean TechOther Technologies OthersSustainable Development Goals Industry, Innovation and Infrastructure, Sustainable Cities and CommunitiesRequired Resources
Item Name Type No. of Units Per Unit Cost (in Rs) Total (in Rs)
Total in (Rs) 12200
PIC 16F877A Equipment2350700
ESP8266 Equipment2400800
ACS712-20A(Current Sensor) Equipment44001600
ZMPT101B(Voltage sensor) Equipment42801120
Relay module(4 channel) Equipment1430430
Capacitors(22 pF) Equipment4520
Crystal oscillator(16MHz and 12MHz) Equipment22550
Printed circuit board(PCB) Equipment1125125
IC socket 40 pin Equipment12525
90 degree male header Equipment22550
Female headers single line Equipment22040
Female header dual line Equipment13535
Ferric chloride Equipment17070
Male-female jumper wires Equipment4100400
female-female Jumper Wires Equipment4100400
push buttons Equipment33090
Bit holder(smallest size) Equipment1100100
Smallest drill bit Equipment11515
Capacitive Touch sensors Equipment4230920
Resistors(10 kilo ohm and 220 ohm) Equipment2510
Plastic Box Equipment110001000
Thesis Report Miscellaneous 66003600
LCD Equipment1600600

More Posts