Guillermo Alberto Pérez Guillen Automation Home

Similar documents
Project Description. The design details and parameters: Are as follows:

Home automation & security system solution base on IOT

«Smart Home Technology» by Quadrobit: security energy comfort

GX-Cubic1 Smart Care Medical Alarm Solutionon. Caring for Your Health and Personal Safety

Android Controlled Fire Fighting Robot

THE NEXT SMART HOME GENERATION

Construction of Wireless Fire Alarm System Based on ZigBee Technology

Welcome to smarter living. New Resident User Guide

Real Time Smart House Data Logging System Using LabVIEW

GX-Cubic1 Smart Care Medical Alarm Solutionon. Caring for Your Health and Personal Safety

Smart Hub. Connecting people, connected care. What is it? Who is it for? How does it work?

Network based smoke alarm - using Arduino and iphone

Secure Your Way of Life. Now Compa ble With. Climax Home Portal Platform. Enable a Connected Future

Integrated Security Solutions

SMART. FLEXIBLE. RELIABLE.

Open Source Home Security System

System Security And Monitoring On Smart Home Using Android

SMS GSM Alarm Messenger

Smart Home: Controlling and Monitoring Households Appliances Using Gsm Network

Secure Your Way of Life. Home Management Gateway Series. Transforming Your Life

GSM RFID VOICE Alarm System

V1.0. Smart Home Alarm System. User Manual. APP download via QR Code scanning. Please read the manual carefully before using.

AUTOMATIC STREET LIGHT CONTROL SYSTEM USING MICROCONTROLLER

DECLARATION. We also declare that all the authors made equal contribution for the completion of this paper. PAGE 1

HOME AUTOMATION BASED PROJECTS

Dishwasher Load-Unload Indicator. Jitendra Tailor

[Patil* et al., 5(7): July, 2016] ISSN: IC Value: 3.00 Impact Factor: 4.116

International Journal of Computer Engineering and Applications, Volume XII, Special Issue, March 18, ISSN

IDoorBell Fon DP68 Quick Installation Guide

1. Introduction. 2. Product overview

IQ PANEL USER GUIDE SMARTHOME.

Practical, Affordable Smart Home Technologies for People with Mobility Impairments

Smart Intrusion Detection

Supervised Security System Owner's Guide

Elderly Care Alarm System

MOBILE CALL GSM Alarm System User s Manual

Designing A Home Automation System by Using RF Receivers

AG HOME ALARM Quick Start Guide

Honeywell Control Panels FOR RESIDENTIAL AND COMMERCIAL INSTALLATIONS. Feature Charts

Preface. Thank you for purchasing our GSM Security Alarm System ( The System )! The System will keep your home and property safe around the clock.

Group A Carlos Castro, Courtnie Coleman, Lucas Plager, Patrick Schexnayder

GSM Based Computer Lab Security System Using PIR Sensors

Integrated Security Solutions

Profile. For a better understanding of this product, please read this user manual thoroughly before using it.

PROTECTION CABINETS SUPERVISION CABINETS FOR AUTOMATIC EXTERNAL DEFIBRILLATORS (AEDs)

ADRIA intelligent room system

USER S MANUAL. Profile. MOBILE CALL GSM Alarm System

Humidity and Temperature Prototype for Education with Internet of Things

Secure Your Way of Life. Now Compa ble With. Vesta Smart Security Solution ML Series

Characteristics of different sensors used for Distance Measurement

Intelligent Wireless GSM Alarm System

Now Compa ble With. VL Touchscreen Alarm. Crafted Touchscreen Security System that Revolutionizes Your World. illi tl C

Secure Your Way of Life. ESGW EasySmart Gateway Series. A Smart Way of Living Green and Saving Smart

CONTENTS. (User s Manual)

YOUR SCHOOL STAFF NEEDS PROTECTION

GSM Alarm System. User s Manual. Profile. MOBILE CALL GSM Alarm System

Wolf Guard Touch Keypad GSM Wireless alarm system User s Manual

Alarm System SECURE AS 302

Smart Home Design and Application

SYSTEM ENHANCEMENT MODULE

Smart Anytime, Safe Anywhere. Home Control Gateway Series. Life-Transforming ZigBee/Z-Wave Innovations

Automated Medication Kit

Ontech GSM 9040/50. Reference Manual English -1 -

rvm4c Installation Guide Remote Video Module

Secure Your Way of Life. Now Compa ble With. Vesta Smart Security Solution - MZ Series

Security designed for your lifestyle

Jon Longtin Department of Mechanical Engineering SUNY Stony Brook

WIRELESS NETWORK USER MANUAL MHz RFT-868-PIR Wireless Passive Infrared Sensor

PRODUCT CATALOGUE. Cape Town 18 Darter Road Blue Water Estate Kommetjie. Gauteng 245 Louis Botha Avenue Orchards Johannesburg

With Magictrl, you can control MatiGard anytime & anywhere via your smartphone, even without data network.

GLOBAL. InstallatIon & operation manual

Security System Proposal

ERS-3600B. PERS-3600B Personal Emergency Reporting System

MICANS INFOTECH

Smart Homes in. Rajya Sabha Co-operative Housing Society

Secure Your Way of Life. Home Control Gateway Series. Life-Transforming ZigBee/Z-Wave Innovations

Intelligent Fire Detection and Visual Guided Evacuation System Using Arduino and GSM

Design of Intelligent Alarm System Based on GSM Network Shun Qing XU


Integration with Mobotix Q24

EXPANDABLE SMART HOME SECURITY KIT

PRODUCT LYNC IoT 37. PRODUCT: LYNC IoT

YALE SECURE CONNECT. Delivering a premium digital locking solution with flexible control and peace of mind.

SAFETY PRE-ALARM MONITOR SYSTEM BASED ON GSM AND ARM

ARCHITECTURAL ROBOTICS - ECE 868 / ARCH 868 PROJECT #1 - CONSTRUCTED LANDSCAPE TREE

NEXT-GENERATION MULTIFUNCTIONAL DEVICE

For Android devices MYQ-G0301 MYQ-G0301C MYQ-G0301D MYQ-G0301LA

Design and Development of General Purpose Alarm Generator for Automated System

Innovative EEE mini-projects list

Solutions for Smarter Home Security

Failure to comply with the following instructions may result in death or serious injury to

Secure Your Way of Life. Home Control Gateway Series. Life-Transforming ZigBee/Z-Wave Innovations

Welcome, and thank you for joining us today!

THE EVOLUTION OF CONTROL APP & CLOUD PORTAL

ViewMatrix. Software for Online Monitoring & Control of Matrix2000 Conventional Fire Alarm Panels. Version: 2.0 Revision: 0.1

About IntraLogic. In Business since 2004 Over 55 Full time employees

Home intelligence PRODUCT CATALOG FIBARO SYSTEM

G SERIES: Security INTEGRATION as you want it. Greater expansion, communication, video integration, system resilience, and automation.

International Journal of Computer Engineering and Applications, Volume XII, Special Issue, March 18, ISSN

Sensaphone 400 Telemetry System Integration

Transcription:

Guillermo Alberto Pérez Guillen Automation Home

1. Introduction 2. Schematic Diagram 3. Electric Diagram 4. Hardware 5. Software INDEX

6. Photographs 7. Links This work is author s property, and has been registered on the Website http://www.safecreative.com with the registration code 1607058305393 and protected under the License Creative Commons Attribution-NonCommercial-NoDerivatives 4.0

1. INTRODUCTION HISTORY Early home automation began with labor-saving machines. Self-contained electric or gas powered home appliances became viable in the 1900s with the introduction of electric power distribution and led to the introduction of washing machines (1904), water heaters (1889), refrigerators, sewing machines, dishwashers, and clothes dryers. In 1975, the first general purpose home automation network technology, X10, was developed. It is a communication protocol for electronic devices. It primarily uses electric power transmission wiring for signalling and control, where the signals involve brief radio frequency bursts of digital data, and remains the most widely available. By 1978, X10 products included a 16 channel command console, a lamp module, and an appliance module. According to Li et. al. (2016) there are three generations of home automation: 1) First generation: wireless technology with proxy server; 2) Second generation: artificial intelligence controls electrical devices; 3) Third generation: robot buddy who interacts with humans. BENEFITS OF SMART HOMES The benefits of the smart home are by no means limited to convenience, although this is a compelling feature. The automation of simple tasks saves us time time that could be spent on our families, our careers, or other passions, which is a strong selling proposition. Smart homes also have the potential to be greener and cheaper: water and energymonitoring tools, and programs to optimize energy consumption, could impel us to lower our water and energy usage, which could, in turn, lower our bills and reduce our carbon footprint. Automation and centralized control have serious benefits for family caregivers. By integrating home healthcare equipment, such as monitoring and diagnostic tools, smart homes could simplify the caregiving process for the hundreds of millions of adults worldwide who care for an elderly, ailing, or infirm parent or relative. For example, a smart home might allow you to monitor the movements of a relative suffering from dementia

PROJECT Design a Home Automation and using Arduino UNO and App Inventor. This project serves to control lamps or bulbs and other electrical or electronic devices proposed. Goals: 1. The home s lamp or light bulb is activated with a switch of the App. 2. The bedroom s lamp or light bulb is activated with a switch of the App. 3. The bathroom s lamp or light bulb is activated with a switch of the App. 4. The kitchen s lamp or light bulb is activated with a switch of the App. 5. The door s lock is controlled with a switch of the App and using a servo. 6. A fan activated with a switch of the App. 7. An alarm system is activated with a switch of the App and using a PIR motion sensor and a buzzer. 8. A light detection system is activated with a switch of the App and using a LDR sensor and 3 leds that can illuminate outdoors at night. 9. A humidity and temperature system and using a DHT11 sensor and print the values on the notifier of the App. 10. A gas detection system and using a MQ2 sensor when there s a gas leak the kitchen s lamp or light bulb is triggered and print a message on the App. 11. A voice-activated system and using speech recognizer and the microphone of the hads free and the cellular network or the wifi network.

2. SCHEMATIC DIAGRAM

3. ELECTRIC DIAGRAMA 4

4. HARDWARE The components used are as follows: Arduino UNO Bluetooth HC-05 DHT11 Sensor MQ2 Sensor PIR Motion Sensor LDR Sensor Servo Buzzer Fan Relay 5V Transistor NPN Resistances: 220, 330, 570, 1K, 10K, 100K LEDs Battery: 5 V, 3.3 V and 9V The schematic diagram and electrical diagram show me the physical and wireless connections to build this project. Arduino UNO is connected via wired to the devices: DHT11, MQ2, PIR, Buzzer, Fan, Servo, LDR, LED and HC-05. Arduino UNO board can communicates with the Smart Lights Smartphone application via wireless and using the Bluetooth HC-05. The Smart Lights Smartphone application communicates with the voice recognition system of Google via wireless through the wireless network or telephone network data. You can see the list of parts used in this project in the section Things. In the video where I show you my work you can see the tests with the hardware devices as switch on or turn off the four LEDS, door, fan, alarm and light detection system. It also shows me the values measured as humidity and temperature and gas leak alarms and flashing lamp.

5. SOFTWARE 1. Arduino program This program is developed with Arduino and is named Smart_Lights.ino, the program contains the comments of its operation and is registered in Safe Creative.

The operation of the Software, I divided into three parts: 1. Use of switches in the Smart Lights Smartphone application to control the following systems: light bulbs, door, fan, alarm and light detection. 2. Using voice commands to control the same devices shows in the part one. 3. Using the Arduino UNO board to control the DHT11 and the MQ2 sensors and sending data to the Smart Lights Smartphone application via Bluetooth. This code is author s property, and has been registered on the Website http://www.safecreative.com with the registration code 1607058305409 and protected under the License Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 You can get the link of source code on the chapter 7.

Arduino UNO - Smart Lights // AUTOMATION HOME //Author Guillermo Alberto Perez Guillen #include <Servo.h> #include DHT.h #define DHTPIN 2 #define DHTTYPE DHT11 DHT dht(dhtpin, DHTTYPE); // DHT11 pin Servo servomotor; // Name of servo int pos = 5; //Hall, Bedroom, Bathroom, Kitchen, Ventilator and Alarm pins int ledpin1= 13, ledpin2= 12, ledpin3= 11, ledpin4= 10, ledpin6= 8, ledpin7= 7; const int ledpin8 = 6; // LDR pin const int analoginpin = A0; // Analog input pin that the MQ-2 is connected int sensorvalue = 0; // value read from the sensor

void setup() { Serial.begin(9600); dht.begin(); pinmode(ledpin1, OUTPUT); pinmode(ledpin2, OUTPUT); pinmode(ledpin3, OUTPUT); pinmode(ledpin4, OUTPUT); pinmode(ledpin6, OUTPUT); pinmode(ledpin7, OUTPUT); pinmode(ledpin8, OUTPUT); servomotor.attach(9); servomotor.write(pos); delay(5); } // initialize serial communication: // Sets the digital pins as output // Set the pin 9 as servo void loop() { int h = dht.readhumidity(); int t = dht.readtemperature(); // Save DHT11 humidity // Save DHT11 temperature sensorvalue = analogread(analoginpin); // MQ-2 sensor reading if (sensorvalue >= 500) { Serial.println( GAS LEAK ); digitalwrite(ledpin4, HIGH); // Kitchen On delay(200); digitalwrite(ledpin4, LOW); // Kitchen Off } delay(5); if (isnan(t) isnan(h)) { Serial.println( Error in the DHT sensor ); //Message of error if there aren t numbers

} else { delay(5); Serial.print( Humidity= ); Serial.print(h); Serial.println( %\t ); Serial.print( Temperature= ); Serial.print(t); Serial.println( *C ); } // Humidity printing // Temperature printing if (Serial.available() > 0) { int inbyte = Serial.read(); switch (inbyte) { case a : // Hall On digitalwrite(ledpin1, HIGH); case b : // Hall Off digitalwrite(ledpin1, LOW); case c : // Bedroom On digitalwrite(ledpin2, HIGH); case d : // Bedroom Off digitalwrite(ledpin2, LOW); case e : // Bathroom On digitalwrite(ledpin3, HIGH); case f : // Bathroom Off digitalwrite(ledpin3, LOW); case g : // Kitchen On

digitalwrite(ledpin4, HIGH); case h : // Kitchen Off digitalwrite(ledpin4, LOW); case i : // Door Open for(pos = 5; pos < 180; pos += 5) { servomotor.write(pos); delay(10); } case j : // Door Close for(pos = 180; pos>=5; pos-=5) { servomotor.write(pos); delay(5); } case k : // Ventilator On digitalwrite(ledpin6, HIGH); case l : // Ventilator Off digitalwrite(ledpin6, LOW); case m : // Alarm On digitalwrite(ledpin7, HIGH); case n : // Alarm Off digitalwrite(ledpin7, LOW); case o : // LDR On

digitalwrite(ledpin8, HIGH); case p : // LDR Off digitalwrite(ledpin8, LOW); default: // Turn all the LEDs off for (int thispin = 2; thispin < 7; thispin++) { digitalwrite(thispin, LOW); } delay(200); } } }

2. App Inventor 2 Application This application is for a cell and is developed with App Inventor 2 and is called Smart Lights and the files that compose it are: Smart_Lights.aia and Smart_Lights.apk and are registered in Safe Creative.

This code is author s property, and has been registered on the Website http://www.safecreative.com with the registration code 1607058305386 and protected under the License Creative Commons Attribution-NonCommercial-NoDerivatives 4.0

You can get the link of source code on the chapter 7. Button connect

Button Light example.

Button Spech Recognizer

The following photos show a test. 6. PHOTOGRAPHS

This is the first version of my project and I m pleased because I achieve my goals. It was not so easy to do it because there are several pressures, mainly get the necessary material and have the knowledge and enough time. As designer, this project leaves me good and interesting experiences such as: 1.- Voice-activated system depends on: a) The pronunciation of voice must be loud and clear, b) To reduce external noise, c) The signal quality of the wireless telephone network must be good, and d) We must use keywords to reduce errors, for example I used door open instead open the door 2.- Don t overload the Batteries, for example Arduino UNO only can give us 500 ma of current. 3.- Avoid doing complex program code because the microcontroller only has 8 bits and 20 MHz clock, otherwise the program would collapse or blocked.

7. LINKS The video of this project is on Youtube at the following link: https://youtu.be/f5n7nfmm8x4 This video shows us: The objectives The hardware used in this project. The software used to program the Arduino UNO. The software used to develop the application of the Smartphone, in this case I use App Inventor 2. Tests performed with switches and voice-activated system. The Tutorial project is located at the following link: http://hubpages.com/technology/automation-home-with-arduino-uno Arduino UNO Source code: https://drive.google.com/file/d/0b8xmvcdjvbbyu0xuejetrnkyn00/view? usp=sharing App Inventor 2 Source code: https://drive.google.com/file/d/0b8xmvcdjvbbycxhit2padfbtdle/view? usp=sharing Image of App Inventor 2 Source code: https://drive.google.com/file/d/0b8xmvcdjvbbyau5mcjbstexidhc/view? usp=sharing