SlideShare a Scribd company logo
1 of 15
1 | P a g e
CHAPTER 1
INTRODUCTION
_____________________________________________________________________________
1.1 Problem Statement:
While people are pursuing ever-growing high quality of their lives today. This leads to more and
more facilities and home appliances poured into their buildings. How to control and manage
these versatile facilities and appliances in a house?
Usually conventional wall switches are located in different corners of a house and, thus
necessitate the need of manual operations like pressing to turn the loads on or off. It becomes
very difficult for the elderly or physically handicapped people to operate them. How to help
them?
1.2 Objectives:
To construct a wireless home automation system controlled by a smartphone specifically an
android device.
To design and implement cost effective home automation system yet an efficient one.
To design a user friendly and a safe system to control home appliances especially aimed to aid
the elders and handicapped.
1.3 Motivation:
Have you ever wondered about home automation which would give the facility of controlling
tube lights, fans and other electrical appliances at home using a remote control? Off course, Yes!
But, are the available options cost-effective? If the answer is No, we have found a solution to it.
We have come up with a new system called Arduino based home automation using Bluetooth.
This system is super-cost effective and can give the user, the ability to control any electronic
device without even spending for a remote control. This project helps the user to control all the
electronic devices using his/her smartphone.
1.4 Historical Background:
Home automation began to increase in popularity in the late 1990s and early 2000s as internet
technology developed fast and smart homes suddenly became a more affordable option. Most of
the Smart home appliances that exist nowadays only have the provision of turning the machines
ON and OFF. There are many systems available that aim to automate using NFC, Bluetooth and
Wi-Fi. The existing system consists of a procedure to interact with the appliances, which usually
2 | P a g e
includes pressing a button at some location within the application on your smart device. While
some also have the provision to do so with the help of specific command. Many smart home
appliances are available nowadays, which includes Amazon Echo, Google Home and Apple
Home Kit, this is in order to bring home automation to every household.
3 | P a g e
CHAPTER 2
EXPERIMENTAL SETUP AND PROCEDURE
______________________________________________________________________________
2.1 Methodology:
In designing a home automation system, one or more suitable platforms are used in order to build
a reliable and flexible system that can be easily operated and adapted for a new household
appliance.
Therefore, for the purpose of this project some specific deliberate choices were made on the type
of platforms, hardware components and mode of operation of the home automation system.
4 | P a g e
2.2 Flow Chart:
5 | P a g e
2.3 Block Diagram:
6 | P a g e
2.4 Schematic Diagram:
2.5 Hardware Components:
The list of components mentioned here are specifically for controlling 4 different loads.
 Arduino Uno R3 Development Board
 HC – 05 Bluetooth Module
 4 Channel Relay Board Operates On 5V
 Male to Female Jumper Wires
 USB D Type for reprograming the Arduino
 Laptop
 Android Phone or Tablet (Bluetooth enabled)
 9 V Power supply
7 | P a g e
2.6 Project Cost:
Sr. No Component Cost in PKR
1 Arduino Uno R3 Development Board 700
2 HC-05 Bluetooth Module 300
3 4 Channel Relay Board Operate on 5V 300
4 USB D type for Reprograming the Arduino 100
5 Male to Female Jumper Wires 50
6 9V Power Supply 60
8 | P a g e
CHAPTER 3
EXPERIMENTAL RESULTS
_____________________________________________________________________________
3.1 Test Results:
Implementation of Home Automation In the implementation process firstly, we have tested the
home automation part. For home automation we have used all our sensors as input, Arduino
mega as the controller and lights as appliances or output. In this process optimum and auto
modes are tested separately. We have checked weather the conditions for turning on fan and
lights work properly or not, as shown in Fig. After succeeding this part we moved into the next
phase which is controlling over an android app.
Implementation of home automation
9 | P a g e
Controlling from Android Application In this phase we have controlled the above operation
mentioned earlier from an android phone. We have used “blynk” which is an open application
for beginners to test IoT stuffs. We 26 have tested our home automation modes from this app.
For this case we needed the blynk app installed in our phone. On the other hand another
controller NodeMCU is added with the arduino. So the process is command was sent through the
blynk app to internet towards the NodeMCU which is connected to internet via Wi-Fi. The
NodeMCU takes input from internet and according to input it gives output to the arduino mega.
Arduino mega than works according to the home automation algorithms. Like when optimum
mode on is pressed in the blynk app, the command is sent to NodeMCU via internet. Than the
NodeMCU will make the pin high which is assigned to optimum mode on. So the NodeMCU’s
output is the input of arduino mega. Arduino mega now gets an input pin high which is actually
telling the arduino to run the optimum mode part. This is how the appliances was controlled from
blynk app.
Controlling from app Node MCU & Blynk App.
10 | P a g e
Controlling from App
This is the final phase of implementation. We have used android based application Node
MCU App & Blynk App. After that we went for final testing. The control process is the
same as previous. When a button is pressed in the app, it will send the instruction related to
that particular button to NodeMCU through internet. The NodeMCU than gives output as
instructed. As the output of the NodeMCU is the input of the arduino mega, so the arduino
will execute its algorithm based on input. Like if active mode on button is pressed in
NodeMCU app than NodeMCU will make the pin high which is assigned for active
mode on. Next, arduino mega will get the input as high which is assigned for active mode.
Than it will perform the active mode. As a result all the appliances will turn on.
Controlling from app Node MCU & Blynk App.
As shown in Fig modes are being controlled by smart phone with android app. This is
how modes are being checked weather they work properly. This system worked with a
high accuracy rate.
11 | P a g e
CHAPTER 4
CONCLUSION
______________________________________________________________________________
4.1 Conclusion:
The home automation system has been experimentally proven to work satisfactorily by
connecting sample appliances to it and the appliances were successfully controlled from a
wireless mobile device. We learned many skills such as soldering, wiring the circuit and other
tools that we use for this project and was able to work together as a team during this project.
The Bluetooth client was successfully tested on a multitude of different mobile phones from
different manufacturers, thus proving its portability and wide compatibility. Thus, a low-cost
home automation system was successfully designed, implemented and tested.
12 | P a g e
REFERENCES:
1. www.autogates.com.my
2. www.usautomatic.com
3. www.amazinggates.com
4. www.microchip.co.uk
5. www.quora.com
6. www.engineeringproject.com
7. www.efy.com
8. www.electronicsworldforyou.com
13 | P a g e
A. PROGRAMING
String inputs;
#define relay1 2 //Connect relay1 to pin 9
#define relay2 3 //Connect relay2 to pin 8
#define relay3 4 //Connect relay3 to pin 7
#define relay4 5 //Connect relay4 to pin 6
#define relay5 6 //Connect relay5 to pin 5
#define relay6 7 //Connect relay6 to pin 4
#define relay7 8 //Connect relay7 to pin 3
#define relay8 9 //Connect relay8 to pin 2
void setup()
{
Serial.begin(9600); //Set rate for communicating with phone
pinMode(relay1, OUTPUT); //Set relay1 as an output
pinMode(relay2, OUTPUT); //Set relay2 as an output
pinMode(relay3, OUTPUT); //Set relay1 as an output
pinMode(relay4, OUTPUT); //Set relay2 as an output
pinMode(relay5, OUTPUT); //Set relay1 as an output
pinMode(relay6, OUTPUT); //Set relay2 as an output
pinMode(relay7, OUTPUT); //Set relay1 as an output
pinMode(relay8, OUTPUT); //Set relay2 as an output
digitalWrite(relay1, LOW); //Switch relay1 off
digitalWrite(relay2, LOW); //Swtich relay2 off
digitalWrite(relay3, LOW); //Switch relay1 off
digitalWrite(relay4, LOW); //Swtich relay2 off
digitalWrite(relay5, LOW); //Switch relay1 off
digitalWrite(relay6, LOW); //Swtich relay2 off
digitalWrite(relay7, LOW); //Switch relay1 off
digitalWrite(relay8, LOW); //Swtich relay2 off
}
void loop()
{
while(Serial.available()) //Check if there are available bytes to read
{
delay(10); //Delay to make it stable
char c = Serial.read(); //Conduct a serial read
if (c == '#'){
break; //Stop the loop once # is detected after a word
}
inputs += c; //Means inputs = inputs + c
}
if (inputs.length() >0)
{
Serial.println(inputs);
if(inputs == "A")
{
14 | P a g e
digitalWrite(relay1, LOW);
}
else if(inputs == "a")
{
digitalWrite(relay1, HIGH);
}
else if(inputs == "B")
{
digitalWrite(relay2, LOW);
}
else if(inputs == "b")
{
digitalWrite(relay2, HIGH);
}
else if(inputs == "C")
{
digitalWrite(relay3, LOW);
}
else if(inputs == "c")
{
digitalWrite(relay3, HIGH);
}
else if(inputs == "D")
{
digitalWrite(relay4, LOW);
}
else if(inputs == "d")
{
digitalWrite(relay4, HIGH);
}
else if(inputs == "E")
{
digitalWrite(relay5, LOW);
}
else if(inputs == "e")
{
digitalWrite(relay5, HIGH);
}
else if(inputs == "F")
{
digitalWrite(relay6, LOW);
}
else if(inputs == "f")
{
digitalWrite(relay6, HIGH);
}
else if(inputs == "G")
{
15 | P a g e
digitalWrite(relay7, LOW);
}
else if(inputs == "g")
{
digitalWrite(relay7, HIGH);
}
else if(inputs == "H")
{
digitalWrite(relay8, LOW);
}
else if(inputs == "h")
{
digitalWrite(relay8, HIGH);
}
inputs="";
}
}

More Related Content

What's hot

Home automation system
Home automation systemHome automation system
Home automation systemNaman Gautam
 
CONTROLLING HOME APPLIANCES WITH IOT,BLYNK APP & NODE MCU
CONTROLLING HOME APPLIANCES WITH IOT,BLYNK APP & NODE MCUCONTROLLING HOME APPLIANCES WITH IOT,BLYNK APP & NODE MCU
CONTROLLING HOME APPLIANCES WITH IOT,BLYNK APP & NODE MCUVINAY KUMAR GUDELA
 
Home Automation Using Arduino Uno and HC-05
Home Automation Using Arduino Uno and HC-05Home Automation Using Arduino Uno and HC-05
Home Automation Using Arduino Uno and HC-05Vidhi Shah
 
Android Based Home Automation Control
Android Based Home Automation ControlAndroid Based Home Automation Control
Android Based Home Automation ControlVivek Porwal
 
home automation using esp8266
home automation using esp8266home automation using esp8266
home automation using esp8266smit bakori
 
Home automation using arduino
Home automation using arduinoHome automation using arduino
Home automation using arduinoIkram Arshad
 
Arduino based Home Automation System with Android
Arduino based Home Automation System with AndroidArduino based Home Automation System with Android
Arduino based Home Automation System with AndroidSayan Seth
 
IR BASED HOME AUTOMATION USING ARDUINO UNO
IR BASED HOME AUTOMATION USING ARDUINO UNOIR BASED HOME AUTOMATION USING ARDUINO UNO
IR BASED HOME AUTOMATION USING ARDUINO UNOMln Phaneendra
 
Bluetooth based home automation using arduino presentaton
Bluetooth based home automation using arduino presentatonBluetooth based home automation using arduino presentaton
Bluetooth based home automation using arduino presentatonLalitKapoor7
 
Iot home automation varsha,ashish,sagar,arvind
Iot home automation  varsha,ashish,sagar,arvindIot home automation  varsha,ashish,sagar,arvind
Iot home automation varsha,ashish,sagar,arvindAshish Chourasiya
 
bluetooth controlled home automation using arduino by shubham sinha
bluetooth controlled home automation using arduino by shubham sinhabluetooth controlled home automation using arduino by shubham sinha
bluetooth controlled home automation using arduino by shubham sinhaShubham Sinha
 
Home automation using wifi
Home automation using wifiHome automation using wifi
Home automation using wifiKhairunnisa Naaz
 
Project report on home automation using Arduino
Project report on home automation using Arduino Project report on home automation using Arduino
Project report on home automation using Arduino AMIT SANPUI
 
Final year report on remote control of home appliances via bluetooth
Final year report on remote control of home appliances via bluetoothFinal year report on remote control of home appliances via bluetooth
Final year report on remote control of home appliances via bluetoothShubham Bhattacharya
 
SMART HOME AUTOMATION USING MOBILE APPLICATION
SMART HOME AUTOMATION USING MOBILE APPLICATIONSMART HOME AUTOMATION USING MOBILE APPLICATION
SMART HOME AUTOMATION USING MOBILE APPLICATIONEklavya Sharma
 

What's hot (20)

Home automation system
Home automation systemHome automation system
Home automation system
 
CONTROLLING HOME APPLIANCES WITH IOT,BLYNK APP & NODE MCU
CONTROLLING HOME APPLIANCES WITH IOT,BLYNK APP & NODE MCUCONTROLLING HOME APPLIANCES WITH IOT,BLYNK APP & NODE MCU
CONTROLLING HOME APPLIANCES WITH IOT,BLYNK APP & NODE MCU
 
Home Automation Using Arduino Uno and HC-05
Home Automation Using Arduino Uno and HC-05Home Automation Using Arduino Uno and HC-05
Home Automation Using Arduino Uno and HC-05
 
Android Based Home Automation Control
Android Based Home Automation ControlAndroid Based Home Automation Control
Android Based Home Automation Control
 
home automation using esp8266
home automation using esp8266home automation using esp8266
home automation using esp8266
 
Home automation using arduino
Home automation using arduinoHome automation using arduino
Home automation using arduino
 
Home automation
Home automationHome automation
Home automation
 
Arduino based Home Automation System with Android
Arduino based Home Automation System with AndroidArduino based Home Automation System with Android
Arduino based Home Automation System with Android
 
IR BASED HOME AUTOMATION USING ARDUINO UNO
IR BASED HOME AUTOMATION USING ARDUINO UNOIR BASED HOME AUTOMATION USING ARDUINO UNO
IR BASED HOME AUTOMATION USING ARDUINO UNO
 
Bluetooth based home automation using arduino presentaton
Bluetooth based home automation using arduino presentatonBluetooth based home automation using arduino presentaton
Bluetooth based home automation using arduino presentaton
 
Home automation
Home automationHome automation
Home automation
 
Iot home automation varsha,ashish,sagar,arvind
Iot home automation  varsha,ashish,sagar,arvindIot home automation  varsha,ashish,sagar,arvind
Iot home automation varsha,ashish,sagar,arvind
 
bluetooth controlled home automation using arduino by shubham sinha
bluetooth controlled home automation using arduino by shubham sinhabluetooth controlled home automation using arduino by shubham sinha
bluetooth controlled home automation using arduino by shubham sinha
 
Wireless electricity
Wireless electricityWireless electricity
Wireless electricity
 
Home automation with arduino
Home automation with arduinoHome automation with arduino
Home automation with arduino
 
Home automation using wifi
Home automation using wifiHome automation using wifi
Home automation using wifi
 
Project report on home automation using Arduino
Project report on home automation using Arduino Project report on home automation using Arduino
Project report on home automation using Arduino
 
BATTERY LESS PHONE
BATTERY LESS PHONE BATTERY LESS PHONE
BATTERY LESS PHONE
 
Final year report on remote control of home appliances via bluetooth
Final year report on remote control of home appliances via bluetoothFinal year report on remote control of home appliances via bluetooth
Final year report on remote control of home appliances via bluetooth
 
SMART HOME AUTOMATION USING MOBILE APPLICATION
SMART HOME AUTOMATION USING MOBILE APPLICATIONSMART HOME AUTOMATION USING MOBILE APPLICATION
SMART HOME AUTOMATION USING MOBILE APPLICATION
 

Similar to Report Home automation using arduino

IRJET- Android based Home Automation using Bluetooth Technology
IRJET- Android based Home Automation using Bluetooth TechnologyIRJET- Android based Home Automation using Bluetooth Technology
IRJET- Android based Home Automation using Bluetooth TechnologyIRJET Journal
 
IRJET- Android based Home Automation using Bluetooth Technology
IRJET-  	  Android based Home Automation using Bluetooth TechnologyIRJET-  	  Android based Home Automation using Bluetooth Technology
IRJET- Android based Home Automation using Bluetooth TechnologyIRJET Journal
 
IRJET- Home Control System using Artificial Intelligence
IRJET- Home Control System using Artificial IntelligenceIRJET- Home Control System using Artificial Intelligence
IRJET- Home Control System using Artificial IntelligenceIRJET Journal
 
IRJET- Designing of Smart Switch for Home Automation
IRJET- Designing of Smart Switch for Home AutomationIRJET- Designing of Smart Switch for Home Automation
IRJET- Designing of Smart Switch for Home AutomationIRJET Journal
 
DIGITAL LOGIC DESIGN (1) PROJECT REPORT.docx
DIGITAL LOGIC DESIGN (1) PROJECT REPORT.docxDIGITAL LOGIC DESIGN (1) PROJECT REPORT.docx
DIGITAL LOGIC DESIGN (1) PROJECT REPORT.docxRafayNaveed4
 
Home Automation using NodeMCU .docx
Home Automation using NodeMCU .docxHome Automation using NodeMCU .docx
Home Automation using NodeMCU .docxclassic tpr
 
Report 171115175724
Report 171115175724Report 171115175724
Report 171115175724PAVINRAJ5
 
Icacci2017 lowcostimplementationofsmarthomeautomation
Icacci2017 lowcostimplementationofsmarthomeautomationIcacci2017 lowcostimplementationofsmarthomeautomation
Icacci2017 lowcostimplementationofsmarthomeautomationdangthanhlinh
 
IRJET-Wireless Controlling of Remote Electrical Device using Android Smartphone
IRJET-Wireless Controlling of Remote Electrical Device using Android SmartphoneIRJET-Wireless Controlling of Remote Electrical Device using Android Smartphone
IRJET-Wireless Controlling of Remote Electrical Device using Android SmartphoneIRJET Journal
 
Voice Control Home Automation
Voice Control Home AutomationVoice Control Home Automation
Voice Control Home AutomationSaumya Tiwari
 
IoT Based Home Automation using Intel Galileo Gen-2
IoT Based Home Automation using Intel Galileo Gen-2IoT Based Home Automation using Intel Galileo Gen-2
IoT Based Home Automation using Intel Galileo Gen-2IRJET Journal
 
A major project report on Energy Efficient Infrared (IR) Based Home Automatio...
A major project report on Energy Efficient Infrared (IR) Based Home Automatio...A major project report on Energy Efficient Infrared (IR) Based Home Automatio...
A major project report on Energy Efficient Infrared (IR) Based Home Automatio...Prasant Kumar
 
IRJET- Wireless Home Automation System using OpenHAB
IRJET- Wireless Home Automation System using OpenHABIRJET- Wireless Home Automation System using OpenHAB
IRJET- Wireless Home Automation System using OpenHABIRJET Journal
 
Home automation system
Home automation systemHome automation system
Home automation systemRaadSabah
 
IRJET - IoT based Home Automation System through Voice Control using Google A...
IRJET - IoT based Home Automation System through Voice Control using Google A...IRJET - IoT based Home Automation System through Voice Control using Google A...
IRJET - IoT based Home Automation System through Voice Control using Google A...IRJET Journal
 
IRJET- H-Box (Connecting Homes)
IRJET- H-Box (Connecting Homes)IRJET- H-Box (Connecting Homes)
IRJET- H-Box (Connecting Homes)IRJET Journal
 
smart home automation system
smart home automation systemsmart home automation system
smart home automation systemMdSaifuddinQuader
 
Domotics – A Cost Effective Smart Home Automation System Using Wifi as Networ...
Domotics – A Cost Effective Smart Home Automation System Using Wifi as Networ...Domotics – A Cost Effective Smart Home Automation System Using Wifi as Networ...
Domotics – A Cost Effective Smart Home Automation System Using Wifi as Networ...IJERA Editor
 

Similar to Report Home automation using arduino (20)

IRJET- Android based Home Automation using Bluetooth Technology
IRJET- Android based Home Automation using Bluetooth TechnologyIRJET- Android based Home Automation using Bluetooth Technology
IRJET- Android based Home Automation using Bluetooth Technology
 
IRJET- Android based Home Automation using Bluetooth Technology
IRJET-  	  Android based Home Automation using Bluetooth TechnologyIRJET-  	  Android based Home Automation using Bluetooth Technology
IRJET- Android based Home Automation using Bluetooth Technology
 
IRJET- Home Control System using Artificial Intelligence
IRJET- Home Control System using Artificial IntelligenceIRJET- Home Control System using Artificial Intelligence
IRJET- Home Control System using Artificial Intelligence
 
IRJET- Designing of Smart Switch for Home Automation
IRJET- Designing of Smart Switch for Home AutomationIRJET- Designing of Smart Switch for Home Automation
IRJET- Designing of Smart Switch for Home Automation
 
home automation digital
home automation digitalhome automation digital
home automation digital
 
DIGITAL LOGIC DESIGN (1) PROJECT REPORT.docx
DIGITAL LOGIC DESIGN (1) PROJECT REPORT.docxDIGITAL LOGIC DESIGN (1) PROJECT REPORT.docx
DIGITAL LOGIC DESIGN (1) PROJECT REPORT.docx
 
Home Automation using NodeMCU .docx
Home Automation using NodeMCU .docxHome Automation using NodeMCU .docx
Home Automation using NodeMCU .docx
 
Report 171115175724
Report 171115175724Report 171115175724
Report 171115175724
 
Icacci2017 lowcostimplementationofsmarthomeautomation
Icacci2017 lowcostimplementationofsmarthomeautomationIcacci2017 lowcostimplementationofsmarthomeautomation
Icacci2017 lowcostimplementationofsmarthomeautomation
 
IRJET-Wireless Controlling of Remote Electrical Device using Android Smartphone
IRJET-Wireless Controlling of Remote Electrical Device using Android SmartphoneIRJET-Wireless Controlling of Remote Electrical Device using Android Smartphone
IRJET-Wireless Controlling of Remote Electrical Device using Android Smartphone
 
Voice Control Home Automation
Voice Control Home AutomationVoice Control Home Automation
Voice Control Home Automation
 
IoT Based Home Automation using Intel Galileo Gen-2
IoT Based Home Automation using Intel Galileo Gen-2IoT Based Home Automation using Intel Galileo Gen-2
IoT Based Home Automation using Intel Galileo Gen-2
 
A major project report on Energy Efficient Infrared (IR) Based Home Automatio...
A major project report on Energy Efficient Infrared (IR) Based Home Automatio...A major project report on Energy Efficient Infrared (IR) Based Home Automatio...
A major project report on Energy Efficient Infrared (IR) Based Home Automatio...
 
IRJET- Wireless Home Automation System using OpenHAB
IRJET- Wireless Home Automation System using OpenHABIRJET- Wireless Home Automation System using OpenHAB
IRJET- Wireless Home Automation System using OpenHAB
 
Home automation system
Home automation systemHome automation system
Home automation system
 
IRJET - IoT based Home Automation System through Voice Control using Google A...
IRJET - IoT based Home Automation System through Voice Control using Google A...IRJET - IoT based Home Automation System through Voice Control using Google A...
IRJET - IoT based Home Automation System through Voice Control using Google A...
 
IRJET- H-Box (Connecting Homes)
IRJET- H-Box (Connecting Homes)IRJET- H-Box (Connecting Homes)
IRJET- H-Box (Connecting Homes)
 
Uvais
Uvais Uvais
Uvais
 
smart home automation system
smart home automation systemsmart home automation system
smart home automation system
 
Domotics – A Cost Effective Smart Home Automation System Using Wifi as Networ...
Domotics – A Cost Effective Smart Home Automation System Using Wifi as Networ...Domotics – A Cost Effective Smart Home Automation System Using Wifi as Networ...
Domotics – A Cost Effective Smart Home Automation System Using Wifi as Networ...
 

Recently uploaded

AmericanHighSchoolsprezentacijaoskolama.
AmericanHighSchoolsprezentacijaoskolama.AmericanHighSchoolsprezentacijaoskolama.
AmericanHighSchoolsprezentacijaoskolama.arsicmarija21
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementmkooblal
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
Quarter 4 Peace-education.pptx Catch Up Friday
Quarter 4 Peace-education.pptx Catch Up FridayQuarter 4 Peace-education.pptx Catch Up Friday
Quarter 4 Peace-education.pptx Catch Up FridayMakMakNepo
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersSabitha Banu
 
Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxEyham Joco
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxAnupkumar Sharma
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designMIPLM
 
Planning a health career 4th Quarter.pptx
Planning a health career 4th Quarter.pptxPlanning a health career 4th Quarter.pptx
Planning a health career 4th Quarter.pptxLigayaBacuel1
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomnelietumpap1
 
Romantic Opera MUSIC FOR GRADE NINE pptx
Romantic Opera MUSIC FOR GRADE NINE pptxRomantic Opera MUSIC FOR GRADE NINE pptx
Romantic Opera MUSIC FOR GRADE NINE pptxsqpmdrvczh
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfAMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfphamnguyenenglishnb
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Celine George
 
Judging the Relevance and worth of ideas part 2.pptx
Judging the Relevance  and worth of ideas part 2.pptxJudging the Relevance  and worth of ideas part 2.pptx
Judging the Relevance and worth of ideas part 2.pptxSherlyMaeNeri
 
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfMr Bounab Samir
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxiammrhaywood
 

Recently uploaded (20)

AmericanHighSchoolsprezentacijaoskolama.
AmericanHighSchoolsprezentacijaoskolama.AmericanHighSchoolsprezentacijaoskolama.
AmericanHighSchoolsprezentacijaoskolama.
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of management
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
Quarter 4 Peace-education.pptx Catch Up Friday
Quarter 4 Peace-education.pptx Catch Up FridayQuarter 4 Peace-education.pptx Catch Up Friday
Quarter 4 Peace-education.pptx Catch Up Friday
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginners
 
Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptx
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-design
 
Planning a health career 4th Quarter.pptx
Planning a health career 4th Quarter.pptxPlanning a health career 4th Quarter.pptx
Planning a health career 4th Quarter.pptx
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choom
 
Romantic Opera MUSIC FOR GRADE NINE pptx
Romantic Opera MUSIC FOR GRADE NINE pptxRomantic Opera MUSIC FOR GRADE NINE pptx
Romantic Opera MUSIC FOR GRADE NINE pptx
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfAMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17
 
Judging the Relevance and worth of ideas part 2.pptx
Judging the Relevance  and worth of ideas part 2.pptxJudging the Relevance  and worth of ideas part 2.pptx
Judging the Relevance and worth of ideas part 2.pptx
 
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
 

Report Home automation using arduino

  • 1. 1 | P a g e CHAPTER 1 INTRODUCTION _____________________________________________________________________________ 1.1 Problem Statement: While people are pursuing ever-growing high quality of their lives today. This leads to more and more facilities and home appliances poured into their buildings. How to control and manage these versatile facilities and appliances in a house? Usually conventional wall switches are located in different corners of a house and, thus necessitate the need of manual operations like pressing to turn the loads on or off. It becomes very difficult for the elderly or physically handicapped people to operate them. How to help them? 1.2 Objectives: To construct a wireless home automation system controlled by a smartphone specifically an android device. To design and implement cost effective home automation system yet an efficient one. To design a user friendly and a safe system to control home appliances especially aimed to aid the elders and handicapped. 1.3 Motivation: Have you ever wondered about home automation which would give the facility of controlling tube lights, fans and other electrical appliances at home using a remote control? Off course, Yes! But, are the available options cost-effective? If the answer is No, we have found a solution to it. We have come up with a new system called Arduino based home automation using Bluetooth. This system is super-cost effective and can give the user, the ability to control any electronic device without even spending for a remote control. This project helps the user to control all the electronic devices using his/her smartphone. 1.4 Historical Background: Home automation began to increase in popularity in the late 1990s and early 2000s as internet technology developed fast and smart homes suddenly became a more affordable option. Most of the Smart home appliances that exist nowadays only have the provision of turning the machines ON and OFF. There are many systems available that aim to automate using NFC, Bluetooth and Wi-Fi. The existing system consists of a procedure to interact with the appliances, which usually
  • 2. 2 | P a g e includes pressing a button at some location within the application on your smart device. While some also have the provision to do so with the help of specific command. Many smart home appliances are available nowadays, which includes Amazon Echo, Google Home and Apple Home Kit, this is in order to bring home automation to every household.
  • 3. 3 | P a g e CHAPTER 2 EXPERIMENTAL SETUP AND PROCEDURE ______________________________________________________________________________ 2.1 Methodology: In designing a home automation system, one or more suitable platforms are used in order to build a reliable and flexible system that can be easily operated and adapted for a new household appliance. Therefore, for the purpose of this project some specific deliberate choices were made on the type of platforms, hardware components and mode of operation of the home automation system.
  • 4. 4 | P a g e 2.2 Flow Chart:
  • 5. 5 | P a g e 2.3 Block Diagram:
  • 6. 6 | P a g e 2.4 Schematic Diagram: 2.5 Hardware Components: The list of components mentioned here are specifically for controlling 4 different loads.  Arduino Uno R3 Development Board  HC – 05 Bluetooth Module  4 Channel Relay Board Operates On 5V  Male to Female Jumper Wires  USB D Type for reprograming the Arduino  Laptop  Android Phone or Tablet (Bluetooth enabled)  9 V Power supply
  • 7. 7 | P a g e 2.6 Project Cost: Sr. No Component Cost in PKR 1 Arduino Uno R3 Development Board 700 2 HC-05 Bluetooth Module 300 3 4 Channel Relay Board Operate on 5V 300 4 USB D type for Reprograming the Arduino 100 5 Male to Female Jumper Wires 50 6 9V Power Supply 60
  • 8. 8 | P a g e CHAPTER 3 EXPERIMENTAL RESULTS _____________________________________________________________________________ 3.1 Test Results: Implementation of Home Automation In the implementation process firstly, we have tested the home automation part. For home automation we have used all our sensors as input, Arduino mega as the controller and lights as appliances or output. In this process optimum and auto modes are tested separately. We have checked weather the conditions for turning on fan and lights work properly or not, as shown in Fig. After succeeding this part we moved into the next phase which is controlling over an android app. Implementation of home automation
  • 9. 9 | P a g e Controlling from Android Application In this phase we have controlled the above operation mentioned earlier from an android phone. We have used “blynk” which is an open application for beginners to test IoT stuffs. We 26 have tested our home automation modes from this app. For this case we needed the blynk app installed in our phone. On the other hand another controller NodeMCU is added with the arduino. So the process is command was sent through the blynk app to internet towards the NodeMCU which is connected to internet via Wi-Fi. The NodeMCU takes input from internet and according to input it gives output to the arduino mega. Arduino mega than works according to the home automation algorithms. Like when optimum mode on is pressed in the blynk app, the command is sent to NodeMCU via internet. Than the NodeMCU will make the pin high which is assigned to optimum mode on. So the NodeMCU’s output is the input of arduino mega. Arduino mega now gets an input pin high which is actually telling the arduino to run the optimum mode part. This is how the appliances was controlled from blynk app. Controlling from app Node MCU & Blynk App.
  • 10. 10 | P a g e Controlling from App This is the final phase of implementation. We have used android based application Node MCU App & Blynk App. After that we went for final testing. The control process is the same as previous. When a button is pressed in the app, it will send the instruction related to that particular button to NodeMCU through internet. The NodeMCU than gives output as instructed. As the output of the NodeMCU is the input of the arduino mega, so the arduino will execute its algorithm based on input. Like if active mode on button is pressed in NodeMCU app than NodeMCU will make the pin high which is assigned for active mode on. Next, arduino mega will get the input as high which is assigned for active mode. Than it will perform the active mode. As a result all the appliances will turn on. Controlling from app Node MCU & Blynk App. As shown in Fig modes are being controlled by smart phone with android app. This is how modes are being checked weather they work properly. This system worked with a high accuracy rate.
  • 11. 11 | P a g e CHAPTER 4 CONCLUSION ______________________________________________________________________________ 4.1 Conclusion: The home automation system has been experimentally proven to work satisfactorily by connecting sample appliances to it and the appliances were successfully controlled from a wireless mobile device. We learned many skills such as soldering, wiring the circuit and other tools that we use for this project and was able to work together as a team during this project. The Bluetooth client was successfully tested on a multitude of different mobile phones from different manufacturers, thus proving its portability and wide compatibility. Thus, a low-cost home automation system was successfully designed, implemented and tested.
  • 12. 12 | P a g e REFERENCES: 1. www.autogates.com.my 2. www.usautomatic.com 3. www.amazinggates.com 4. www.microchip.co.uk 5. www.quora.com 6. www.engineeringproject.com 7. www.efy.com 8. www.electronicsworldforyou.com
  • 13. 13 | P a g e A. PROGRAMING String inputs; #define relay1 2 //Connect relay1 to pin 9 #define relay2 3 //Connect relay2 to pin 8 #define relay3 4 //Connect relay3 to pin 7 #define relay4 5 //Connect relay4 to pin 6 #define relay5 6 //Connect relay5 to pin 5 #define relay6 7 //Connect relay6 to pin 4 #define relay7 8 //Connect relay7 to pin 3 #define relay8 9 //Connect relay8 to pin 2 void setup() { Serial.begin(9600); //Set rate for communicating with phone pinMode(relay1, OUTPUT); //Set relay1 as an output pinMode(relay2, OUTPUT); //Set relay2 as an output pinMode(relay3, OUTPUT); //Set relay1 as an output pinMode(relay4, OUTPUT); //Set relay2 as an output pinMode(relay5, OUTPUT); //Set relay1 as an output pinMode(relay6, OUTPUT); //Set relay2 as an output pinMode(relay7, OUTPUT); //Set relay1 as an output pinMode(relay8, OUTPUT); //Set relay2 as an output digitalWrite(relay1, LOW); //Switch relay1 off digitalWrite(relay2, LOW); //Swtich relay2 off digitalWrite(relay3, LOW); //Switch relay1 off digitalWrite(relay4, LOW); //Swtich relay2 off digitalWrite(relay5, LOW); //Switch relay1 off digitalWrite(relay6, LOW); //Swtich relay2 off digitalWrite(relay7, LOW); //Switch relay1 off digitalWrite(relay8, LOW); //Swtich relay2 off } void loop() { while(Serial.available()) //Check if there are available bytes to read { delay(10); //Delay to make it stable char c = Serial.read(); //Conduct a serial read if (c == '#'){ break; //Stop the loop once # is detected after a word } inputs += c; //Means inputs = inputs + c } if (inputs.length() >0) { Serial.println(inputs); if(inputs == "A") {
  • 14. 14 | P a g e digitalWrite(relay1, LOW); } else if(inputs == "a") { digitalWrite(relay1, HIGH); } else if(inputs == "B") { digitalWrite(relay2, LOW); } else if(inputs == "b") { digitalWrite(relay2, HIGH); } else if(inputs == "C") { digitalWrite(relay3, LOW); } else if(inputs == "c") { digitalWrite(relay3, HIGH); } else if(inputs == "D") { digitalWrite(relay4, LOW); } else if(inputs == "d") { digitalWrite(relay4, HIGH); } else if(inputs == "E") { digitalWrite(relay5, LOW); } else if(inputs == "e") { digitalWrite(relay5, HIGH); } else if(inputs == "F") { digitalWrite(relay6, LOW); } else if(inputs == "f") { digitalWrite(relay6, HIGH); } else if(inputs == "G") {
  • 15. 15 | P a g e digitalWrite(relay7, LOW); } else if(inputs == "g") { digitalWrite(relay7, HIGH); } else if(inputs == "H") { digitalWrite(relay8, LOW); } else if(inputs == "h") { digitalWrite(relay8, HIGH); } inputs=""; } }