Adil Khan 9 months ago
AdiKhanOfficial #FYP Ideas

Intelligent Smart Switch using IoT and Machine Learning

Home Automation Systems have increased worldwide popularity in the last decade or so. But now world looking towards Intelligent Smart Home Automation Systems which must be wise to provide efficient electricity usage plan. Intelligent Smart Switch is based on making user life easier. The Internet of

Project Title

Intelligent Smart Switch using IoT and Machine Learning

Project Area of Specialization

Internet of Things

Project Summary

Home Automation Systems have increased worldwide popularity in the last decade or so. But now world looking towards Intelligent Smart Home Automation Systems which must be wise to provide efficient electricity usage plan. Intelligent Smart Switch is based on making user life easier. The Internet of Things makes a vast amount of data. Additionally, it contains a huge number of sensors and their data which can control or monitor appliances. This project shows about how the Internet of Things (IoT), Machine Learning and Data Mining use for converting the normal home to the Intelligent Smart home. A user of this system can control their appliances using their smartphone application as well as the web browser which are connected to the internet. The user will also get efficient usage plan to minimize the power wastage. This project is divided into four section, Hardware, User Interface (UI), Cloud Platform and Data mining & Machine Learning.

Project Objectives

As an increase in population and global integration, energy consumption also increases. This pretense a risk for run-down natural resources, and Increases demand of renewable energy systems. The prices of fossil fuel going up progressively. Pakistan is in front of the energy crisis where electricity generation is far less than consumption and 50 percent of electricity is consumed by household in Pakistan. By using intelligent smart switches we will be able to reduce energy wastage by providing efficient usage plan. It does not lie that the world is moving towards energy crises. The need of the hour is to save energy by using modern technologies which involve Internet of Thing (IoT) and Machine Learning. The problem is to monitor energy usage and provide an effective plan that helps the user in both energy saving and reducing electricity bills.

The aim of the project is to eliminate energy wastage by monitoring energy usage of each appliance in the home and provide an energy proficient plan to the user. It will be able to predict the behavior of appliances operating in the location and provide a competent profile of the user. Our intention is to use modern technologies and advance knowledge to capitalize on the quality measures.

  1. Fabrication of smart switch.
  2. Design and development of User Interface (Android app, Web page).
  3. Data collection on cloud platform.
  4. Effective energy usage plan using Machine Learning.

We can optimize various parameter using Machine Learning such as Bill, Load and time. We want to achieve effective usage plan using different machine learning algorithms.

Project Implementation Method

There are two ways to implement this project.

The first way is to implement by replacing the conventional switch and appliances can only be controlled by  Andriod application using a smartphone or by Web app using laptop or desktop computers.

The second way is to connect these switches parallel to the conventional switch and the appliances can be controlled by both conventional switches as well as Android and web application

We only need wifi to connect to implement this project in any area.

Benefits of the Project

Control your devices from anywhere in the globe.

Adds Safety Through Appliance.

Trim Your Energy Costs.

Increases Convenience Through Temperature Adjustment.

Saves Time and Cost Effectiveness.

Keep eyes on which device is wasting energy.

Ease to control appliance for older and disable persons.

Technical Details of Final Deliverable

This project is divided into Hardware, User interface, Data collection, and Machine Learning algorithms.
Hardware is based around Wemos D1 mini Esp8266 microcontrollers. AC appliances are switches using the relay which is isolated using optocoupler and control by a latch circuit. Current is measured by ZMCT103C Current Transformer by following formulas:
 VPP = getVPP();
 CurrThruResistorPP2 = VPP2 / 380.0;
 CurrThruResistorRMS2 = CurrThruResistorPP2 * 0.707;
 CurrentThruWire2 = CurrThruResistorRMS2 * 1000;
The calculated current is upload to thingspeaks to a channel specified by write key of the channel. Current data is stored upto three decimal places.
We can download this data in the form of an excel sheet as well as XML form. 
Android application is developed by using the android studio in java language. Application has a login page and some other pages including buttons to switch relays. When the status of a button changes from off to on it changes the in Real-time database of Google Firebase from 0 to 1. Then the microcontroller read the tag from the google firebase and changes the microcontroller pin from low to high.
The web application is developed using HTML language and has a similar procedure as an android application to control appliances.

The other sensors also send data to thing speaks. The other sensor includes occupancy sensor, temperature sensor, gas sensor, flame sensor, soil sensor, and rain sensor.
Various Machine learning algorithms applied to the data collected on thing speaks platform to get proficient and efficient energy consumption plan.

Final Deliverable of the Project

HW/SW integrated system

Type of Industry

IT , Energy

Technologies

Artificial Intelligence(AI), Internet of Things (IoT), Big Data

Sustainable Development Goals

Affordable and Clean Energy, Responsible Consumption and Production

Required Resources

If you need this project, please contact me on contact@adikhanofficial.com
large scale smart clock

Nowadays, with the development of the wide utilization of the Internet, clocks would now h...

1675638330.png
Adil Khan
9 months ago
Designing of an Efficient Electrooculogram (EOG) Based Human-Computer...

This Final Year Project (FYP) aims to design and implement a Human-Computer Interface (HCI...

1675638330.png
Adil Khan
9 months ago
video

How to Attach a Virus with Image File

AdiKhanOfficial
Adil Khan
4 years ago
Stair Climbing Wheelchair

A stair-climbing wheelchair, sometimes known as a wheelchair stair climber, is a mobi...

1675638330.png
Adil Khan
9 months ago
Control box assembly in fcs systems.

Our project name is control box assembly in fire control systems.In control box there are...

1675638330.png
Adil Khan
9 months ago
Item Name Type No. of Units Per Unit Cost (in Rs) Total (in Rs)
Node MCU Equipment2450900
Wemos D1 mini Equipment1400400
ESP 01 8266 Equipment1290290
ESP 12E 8266 Equipment1290290
ESP 8266 ADAPTER Equipment1220220
FT232 Equipment1290290
CH340TTL Equipment1110110
ATTINY85 Equipment1200200
12E ADAPTER Equipment15050
5A CURRENT SENSOR Equipment2250500
ACS712 5A,20A,30A Equipment3250750
0.96 OLED Equipment1450450
BTA 136 Equipment23060
BTA 137 Equipment23570
BTA 139 Equipment23570
BTA 16 Equipment23060
AMS 1117 SMD Equipment21020
PC817 Equipment3618
MINI 360 BUCK Equipment18080
1 CH RELAY Equipment18080
1 RELAY SSR Equipment1200200
LTYPE 5V RELAY Equipment1150150
PCB MOUNT SUPPLY Equipment1150150
SOLDER WICK Equipment19090
HEAT TUBING Equipment42080
VB DOTTED Equipment32575
FEMALE HEADERS Equipment3824
MALE HEADER Equipment3618
GLUE STICKS Equipment42080
SOLDER WIRE Equipment1400400
JUMPER WIRE Equipment380240
HEAT SINK Equipment31030
HEAT SINK Equipment21530
MICRO USB CABLE Equipment260120
SWITCH PUSH Equipment1010100
MOC83 Equipment33090
MOC61 Equipment33090
CURRENT TRANSFORMER 5A/5mA Equipment1270840
10A/10mA CT CURRENT TRANSFORMER CURRENT SENSOR Equipment3110330
SOIL SENSOR Equipment17070
CURRENT TRANSFORMER 5A/5mA Equipment15701050
FLAME SENSOR Equipment1120120
HC-SR501 PIR HUMAN MOTION SENSOR Equipment2140280
PUSH BUTTON Equipment1010100
DHT-11 TEMPERATURE SENSOR Equipment2120240
MECHANIC SOLDER PASTE Equipment1310310
MRFC522 RC522 RFID Equipment2250500
MQ5 GAS SENSOR Equipment2200400
POWER RELAY SLA-05VDC-SL-A30A Equipment2150300
RAIN DROP DETECTION SENSOR Equipment290180
SOLDERING SPONGE Equipment12020
SHOO(PWA3 SHOO IP) Equipment101001000
V3 CABLE Equipment22040
IP SHOO Equipment1150150
IPH5 SHOO Equipment2130260
GT HT Equipment1180180
WEMOS D1 MINI ESP 8266 Equipment84303440
FUSE BASE Equipment5525
FUSE Equipment202Close