100% found this document useful (1 vote)
915 views

Project Report On Home Automation Using Arduino 1 1024

home automation

Uploaded by

Imran Khan
Copyright
© © All Rights Reserved
Available Formats
Download as PDF or read online on Scribd
100% found this document useful (1 vote)
915 views

Project Report On Home Automation Using Arduino 1 1024

home automation

Uploaded by

Imran Khan
Copyright
© © All Rights Reserved
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 19
Abstract The main objective of this project is to develop a home automation system using an Arduino board with Bluetooth being remotely controlled by any Android OS smart phone. As technology is advancing so houses are also getting smarter. Modern houses are gradually shifting from conventional switches to centralized control system, involving remote controlled switches. Presently, conventional wall switches located in different parts of the house makes it difficult for the user to go near them to operate. Even more it becomes more difficult for the elderly or physically handicapped people to do so. Remote controlled home automation system provides a most modern solution with smart phones. In order to achieve this, a Bluetooth module is interfaced to the Arduino board at the receiver end while on the transmitter end, a GUI application on the cell phone sends ON/OFF commands to the receiver where loads are connected. By touching the specified location on the GUI, the loads can be turned ON/OFF remotely through this technology. The loads are operated by Arduino board through opto- isolators and thyristors using triacs. Acknowledgement First and foremost, I would like to take this opportunity to thank our lecturer Mr. Monish Gupta forhis guidance and advice on this project. At the same time I also won’t forget my group participant and also friends to because they quite good with sharing some of their information to complete this final year project successfully. Last but not least, | am very grateful to our College, lecture sand friends where they gave us enough of time to complete this project and at the same time I would like to thank my friends and classmates who helps me a lotto complete this project. Thank You. Introduction Nowadays, we have remote controls for our television sets and other electronic systems, which have made our lives real easy. 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. Time is a very valuable thing, Everybody wants to save time as much as they can. New technologies are being introducedto save our time. To save people's time ‘we are introducing Home Automation system using Bluetooth . With the help of this system you can control your home appliances from your mobile phone. You can turn on/off your home appliances within the range of Bluetooth. Project Aim The aim of the project is to design and construct a home automation system that ‘will remotely switch on or off any household appliances connected to it, using a microcontroller , voice dial on phone, or Bluetooth based android application. Project Objective The objective of this project is to implement a low cost, reliable and scalable home automation system that can be used to remotely switch on or off any household appliance, using a microcontroller to achieve hardware simplicity low cost short messaging service for feedback and voice dial from any phone to ‘toggle the switch state. Project scope and limitation ‘This project work is complete on its own in remotely and automatically switching on or off of an electrical appliance not limited to household appliances and sends a feedback message indicating the new present state of the appliance. Description of the Project This projectis one of the important Arduino Projects. Arduino based home automation using Bluetooth project helps the user to control any electronic device using Device Control app on their Android Smartphone. The android app sends commands to the controller ~ Arduino, through wireless communication, namely, Bluetooth. The Arduino is connected to the main PCB which has five relays as shown in the block diagram. These relays can be connected to different electronic devices. As per the block diagram, Device 1 ~ Buzzer, Device 2- Fan, Device 3 ~Lights. When the user presses on the ‘On’ button displayed on the app for the device 1, the Buzzer is switched on. This Buzzer can be switched off, by pressing the same button again. Similarly, when the user presses on the ‘On’ button displayedon the app for the device 2, the fan is switched on. The fan can be switched off, by pressing the same button again. This project of home automation using Bluetooth and Arduino can be used for controlling any AC or DC devices. In the demonstration, we have used DC Fan and DC Bulb. To drive this DC Fan and Light, a 9V battery is connected. Hardware Requirement ‘The list of components mentioned here are specifically for controlling 4 different loads. Arduino Uno with Atmega 328P microcontroller HC—05 Bluetooth Module 10 KO Resistor 1KQ Resistor X 4 BCS47 NPN Transistor X 4 1N4007 Diode X4 5V Relay X 4 Prototyping board (Bread board) Connecting wires 9V Power supply Smartphone or tablet (Bluetooth enabled} vv vv vw Software Requirement > Arduino 1.6.9 compiler > Proteus 7 Android application Description of Hardware Required Arduino uno ‘The Arduino Uno is a microcontroller board based on the ATmega328P . ithas 14 digital input/output pins (of which 6 can be used as PWM outputs), 6 analog inputs, a 16 MHez crystal oscillator, a USB.connection, a power jack, an |CSP header, anda reset button. It contains everything needed to support the microcontroller; simply connect it to a computer with a USB cable or power it with a AC-to-DC adapter or batteryto get started. ‘The Uno differs from all preceding boards in that it does not use the FTDI USB-to- serial driver chip. Instead, it features the Atmega8U2 programmed as a USB-to- serial converter. > Some Technical Specification of Arduino Uno are: 1. Microcontroller ATmega328P 2. Operating Voltage sv 3, Input Voltage (recommended) 7.2V 4. Input Voltage (limits) 6-20V 5. Digital /O Pins 4 6. Analog Input Pins 6 7. DC Current per I/O Pin 40 mA 8. DC Current for 3.3V Pin 50 mA 9. Hash Memory 32 KB of which 0.5 KB used by bootloader 10.SRAM 2B 11.EEPROM 1KB 12. Clock Speed 16 MHz Circuit Diagram Aton t6u2 ieracatrale 1C/UED controle 7a 13N0€ input 2th Sm ae center pow csp for US tertace (120) $eL - Serial ke (42C) 508 serial data Pt arent (St) Sok ~ Sera cock (Set) MSO - Maztar.in veut (St) MOS ~ Maxer-cu,staveon (671) 5 — Sve select LUO Reference wotage east Sv Outmue Inout votege nai ain sig ant naig nn 2 esi pn (20) SoA (ue) se Aragn320 ie smag526 HC-05 Bluetooth Module HC-05 module is an easy to use Bluetooth SPP (Serial Port Protocol) module, designed for transparent wireless serial connection setup. Serial port Bluetooth module is fully qualified Bluetooth V2.0+£DR (Enhanced Data Rate) 3Mbps Modulation with complete 2.4GHz radio transceiver and baseband. it uses CSR Bluecore 04-External single chip Bluetooth system with CMOS technology and with AFH(Adaptive Frequency Hopping Feature). It has the footprint as small as 12.7mmx27mm. Hope it will simplify your overall design/development cycle. s+ 28 MASTER/SLAVE =P nwisw 26 CLEAR 4—24 STATUS LED p <— BUTTON swiTcH 10 HC-05 Bluetooth Module Interfacing with Arduino UNO HC-05 is a Bluetooth device used for wireless communication with Bluetooth enabled devices (like smartphone). It communicates with microcontrollers using serial communication (USART). Default settings of HC-05 Bluetooth module can be changed using certain AT commands. As HC-05 Bluetooth module has 3.3 V level for RX/TX and microcontroller can detect 3.3 V level, so, there is no need to shift TX voltage level of HC-05 module. But we need to shift the transmit voltage level from microcontroller to RX of HC- 05 module. HG-05 Bluctooth Module 1 Sketch for Displaying Data Received Via Bluetooth On Serial Monitor ‘#includecSoftwareSerial. h> /* Create object naned bt of the class Softwareserial */ ‘Softwareserial bt (2,3); /* (Rx,Tx) */ void setup() { bt -begin( 9600) ; [> Di baud rate for software serial c nication */ Serdal .begin(9600); /* Define baud rate for serial communication */ void 100p() { Af (bt.available()) /* rf data is t Serial.write(bt.read()); /* Print character nee tor */ ) ailable on serial port */ ed on to the serial 12 Design And Implementation Alow cost and efficient smart home system is presented in our design. This system has two main modules: the hardware interface module and the software communication module. At the heart of this system is the Arduino Mega 2560 microcontroller which is also capable of functioning as a micro web server and the interface for all the hardware modules. All communication and controls inthis system pass through the microcontroller. Designing the Circuit Technical Specification for this project 1) A smartphone or an Android mobile which should have the android app installed in it. 2) Bluetooth receiver module ~ Our project will be connected to the smartphone using Bluetooth technology. 3) Controller or the main processing circuit- In this project, Arduino Uno is the main controlling / processing unit. Also, this project can be developed using PICISFASSO, AVR ATmega32 and 8051 series like: 89551, 89¢51, 89552, 89vS1RD2. 4) LCD Display ~ The Liquid Crystal Display is optional but shows important messages like device status once command is received from Bluetooth. 5) Relays to control devices — We have used 12.volt Single push single throw relays. 6) Output devices ~ For the demo purpose, we connected a DC devices to arelay (12 volt DC bulb). You can connect any AC/DC devices to the remaining 3 relays. ‘Also, Device 6 is a Buzzer. 14 Program Code Pros of Home Automation 1. Security ‘Tap your finger to turn on the lights when you get home so you worried about what's hiding in the shadows, or in your pathways. Or automate to turn on when you aren't home to look like you are to ward off potential robbers. Door locks are another automated home product that can increase your home security. 2. Energy Efficiency Increase your home's energy efficiency by remotely powering off systems and appliances when they aren'tin use. In addition to the standard home automation products that give you active control, some products actively monitor systems and arm the homeowner with knowledge, insight and guidance to achieve greater control and energy efficiency. 3. Savings Home automation literally pays off. When you are able to use home systems and appliances only when needed, the savings will be apparent in the first, utility bill. No more wasting money on lights left on when you aren't home, or ‘spending money on gas to drive home because you forgot to lock the door. Monetary savings are apparent, but you'll also be saving time. No wasted trips home, no running through the house turing everything off, no time spent worrying about what was or wasn't turned off. 4, Convenience Don't you hate having to rely on neighbors to watch your house when you're gone? With home automation, convenient control of your home is. at your fingertips. You don’t have to trust someone else with your most valued possessions. 5. Comfort Ever leave for workin the morning when it was a comfortable 68° outside only to come home to a sweltering house because the temperature shot up to 90°? Connected home products like the Sensi™ Wi-Fi Thermostats let you conveniently adjust your home temperature from the mobile app so your family is always comfortable. $$$ 16. Cons of Home Automation 1. Cost of Intelligence Installing state-of-the-art features ins: je a home results ina higher price tag for the property. The cost of an intelligent home that makes our lives convenient is high because some of the technology is relatively new, ‘The cost of living expenses such as utilities, maintenance and repair of the technology can be expensive as well 2. Technology Learning Curve Owning a smart home means having to learn how to use your home. Unlike traditional homes, smart home technology requires you to adapt to the innovations within your living area such as security systems, air units and a remote that controls your entire house. For the technology-savvy family, the smart home will help achieve convenience faster, but for others, it will take reading manuals and learning how-to before the benefits of convenience pay off. 3. Video Surveillance Video surveillance can be a wonderfull tool in hei ghtening security and deterring crime, but when the technology falls into the wrong hands, issues of privacy can occur. Security sensors within the doors and walls of a smart home use wireless technology to transfer signals to a central control unit that notifies emergency officials of any foreign activity. 7 Applications % Using this project, we can turn on or off appliances remotely i.e. using a phone or tablet. > The project can be further expanded to a smart home automation system by including some sensors like light sensors, temperature sensors, safety sensors etc. and automatically adjust differ ent parameters like room lighting, air conditioning (room temperature), door locks etc. and transmit the information to our phone. » Additionally, we can connect to internet and control the home from remote location over internet and also monitor the safety. Future Development of the project } Arduino based device control using Bluetooth on Smartphone project can be enhanced to control the speed of the fan or volume of the buzzer etc. > Home automation and Device controlling can be done using Internet of Things — IOT technology. > We can replace Bluetooth by GSM modem so that we can achieve device controll sending SMS u: GSM modem, 2 a 18, 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. 19) Reference ‘The web sites that provide the information's: www.autogates.com.my www.usautomatic.com www.amazinggates.com www. microchip.co.uk www.quora.com www.engineeringproject.com www.efy.com www.ele ctronicsworldforyou.com 20

You might also like