A Presentation on IoT BASED HOME AUTOMATION USING ANDROID APPLICATION Project Report Presentation By Tiyasha Das Roll No- 11 Ritosom Pal Roll No- 23 Rohan Sarkar Roll No- 33 Souvik Kundu Roll No- 64 Under the supervision of Mr. Dipra Mitra Department of Computer Science and Technology, Technique Polytechnic Institute, Panchrokhi, Sugandhya, Hooghly
CONTENTS  INTRODUCTION  WHAT IS IoT?  AUTOMATION  HOME AUTOMATION SYSTEM  SYSTEM REQUIREMENTS SPECIFICATIONS  WORKING PRINCIPLE  CIRCUIT DIAGRAM  SCREENSHOTS  ADVANTAGES AND DISADVANTAGES  CONCLUSION  REFERENCES 01
INTRODUCTION Homes of the 21st century will become more and more self-controlled and automated due to the comfort it provides, especially when employed in a private home. A home automation system is a means that allow users to control electric appliances of varying kind. Many existing, well-established home automation systems are based on wired communication. This does not pose a problem until the system is planned well in advance and installed during the physical construction of the building. But for already existing buildings the implementation cost goes very high. In contrast, Wireless systems can be of great help for automation systems. With the advancement of wireless technologies such as Wi-Fi, cloud networks in the recent past, wireless systems are used every day and everywhere. Wireless Home Automation system (WHAS) using IoT is a system that uses computers or mobile devices to control basic home functions and features automatically through internet from anywhere around the world, an automated home is sometimes called a smart home. It is meant to save the electric power and human energy. The home automation system differs from other system by allowing the user to operate the system from anywhere around the world through internet connection. 02
WHAT IS IoT? • The Internet of Things is simply "A network of Internet connected objects able to collect and exchange data." It is commonly abbreviated as IoT. • The word "Internet of Things" has two main parts; Internet being the backbone of connectivity, and Things meaning objects / devices . • In a simple way to put it, You have "things" that sense and collect data and send it to the internet. This data can be accessible by other "things" too. • Let me give you a practical example. Lets imagine you have a "Smart air conditioning unit" in your home that is connected to the internet. (This is a "thing" connected to the internet) Now, imagine it's a hot summer day and you have left for home from your work. You would like your home to be cool enough by the time you enter it. So, When you leave from your office, you can remotely switch ON the air conditioning unit of your home using your mobile (another "Thing" connected to the internet). Technically, with internet, you can control your AC system from any part of the world as long as both the AC and your mobile are connected using the "Internet". 03
AUTOMATION Automation is, unsurprisingly, one of the two main characteristics of home automation. Automation refers to the ability to program and schedule events for the devices on the network. The programming may include time-related commands, such as having your lights turn on or off at specific times each day. It can also include non-scheduled events, such as turning on all the lights in your home when your security system alarm is triggered. Once you start to understand the possibilities of home automation scheduling, you can come up with any number of useful and creative solutions to make your life better. Is that west-facing window letting in too much light? Plug your motorized blinds into a “smart” outlet and program it to close at noon each day. Do you have someone come by at the same time each day to walk the dog? Program your home automation system to unlock the front door for them, and lock it up again when they’re done. 04
HOME AUTOMATION SYSTEM • Home automation involves introducing a degree of computerized or automatic control to certain electrical and electronics system in a building. • These lighting, temperature control, etc.., this project demonstrates a simple home automation system which contains a remote mobile host controller and several client module (home appliances). • The client modules communicate with host controllers through a wireless device such as a Bluetooth enabled mobile phone, in this case, an android based smart phone. Our proposed system DGHOME is a building automation device for a home, called a smart home or smart house. A home automation system will control lighting, climate, entertainment systems, and appliances. It may also include home security such as access control and alarm systems. When connected with the Internet, home devices are an important constituent of the Internet of Things. 04
SYSTEM REQUIREMENTS SPECIFICATIONS HARDWARE REQUIREMENTS: CONTENT DESCRIPTION Node MCU ESP8266 CPU 4 Mega Bytes Memory 12 V, 1A SMPS Power Supply 12 V to 5 V step down voltage regulator LM7805 Voltage Regulator 4 channel 5V Active Low Relay Board (Optocoupler) Relay Module 06
07 HARDWARE COMPONENTS REQUIRED 1. Liquid Crystal LCD Display 2. NODEMCU ESP8266-12E 3. 4 Channel Relay Module 5. 12V 1A Power Supply 6. DC Switch 7. 220V AC, 5A light bulb.
SOFTWARE REQUIREMENTS 08 CONTENT DESCRIPTION Cloud Platform (DigitalOcean) LAMP Stack Server on UBUNTU 14.04 LTS (25GB Disk Space, 1GB Memory, 1vCPU)
WORKING PRINCIPLE The proposed system "DGHOME" is a distributed home automation system, consists of server, sensors. Server controls and monitors the various sensors, and can be easily configured to handle more hardware interface module. The NodeMCU is an efficient and perfect size to fit in our everyday use device. If the sensor parameters are greater than the threshold level then the respective measures can be taken through internet like 'switch off a light' or 'raising up an alarm' etc. The required lights are turned on/off automatically by detecting the light outside the house. The user can also monitor the electric appliances through the internet via web server. 09
A home automation system typically connects controlled devices to a central hub or "gateway". The user interface for control of the system uses either wall-mounted terminals, tablet or desktop computers, a mobile phone application, or a Web interface, that may also be accessible off-site through the Internet. There are three main elements of a home automation system: sensors, controllers, and actuators. • Sensors can monitor changes in daylight, temperature, or motion detection. Home automation systems can then adjust those settings (and more) to your preferences. • Controllers refer to the devices — personal computers, tablets or smartphones — used to send and receive messages about the status of automated features in your home. • Actuators may be light switches, motors, or motorized valves that control the actual mechanism, or function, of a home automation system. They are programmed to be activated by a remote command from a controller. 17
10 CIRCUIT DIAGRAM
13 PHOTOGRAPHS OF DEVICE DGHOME DEVICE
14 PHOTOGRAPHS OF DEVICE DGHOME DEVICE INTERNALSSTANDALONE DGHOME DEVICE
11 MOBILE APLCATION SCREENSHOTS WELCOME SCREEN OF MOBILE APP CONTROLLING DEVICES
12 ADDING NEW DEVICES FROM WEB CLIENT LOGIN SCREEN
13 ADDING NEW DEVICES FROM WEB ADDING NEW DEVICES
14 ADDING NEW DEVICES FROM WEB LIST OF ALL DEVICES ALREADY REGISTERED WITH DGHOME
15 GENERATING JSON DATA FROM WEB RAW JSON DATA, READY TO SENT IN MOBILE APP
Start Auto detecting SSID and password from EEPROM, if not found, then create hotspot. Static IP: 192.168.0.1 SSID and Password given Auto-connect with cloud server IP: ***.***.***.*** Relay board pins get excited to control home appliances. yes Stop FLOWCHART OF THE DEVICE 16
ADVANTAGES The purpose of a home automation system is to streamline how your home functions. Consider some of these benefits: •Remote access: Control your home from mobile devices, including your laptop, tablet, or smartphone. •Comfort: Use home automation to make your home a more comfortable, livable space. Pre program your thermostat with your preferred settings so that your home is always at a comfortable temperature, set up smart speakers to play music when you get home from work, or adjust your lights to soften or brighten based on the time of day. •Convenience: Program devices to turn on automatically at certain times, or access their settings remotely from anywhere with an Internet connection. When you don’t have to remember to lock the door behind you or switch off the lights, you can turn your attention to more important things. 18
•Increased safety: Smart fire detectors, carbon monoxide monitors, pressure sensors, and other home automation security features can help protect your home from disaster. •Energy efficiency: Home automation allows you to be more mindful of your power usage. For example, you can save on energy bills by reducing the length of time that lights stay on, or by lowering temperatures when you leave a room. 19
DISADVANTAGES In a review of home automation devices, Consumer Reports found two main concerns for consumers: •A Wi-Fi network connected to the internet can be vulnerable to hacking. •Technology is still in its infancy, and consumers could invest in a system that becomes abandonware. In 2014, Google bought the company selling the Revolv Hub home automation system, integrated it with Nest and in 2016 shut down the servers Revolv Hub depended on, rendering the hardware useless. •Microsoft Research found in 2011, that home automation could involve high cost of ownership, inflexibility of interconnected devices, and poor manageability. 20
CONCLUSION Home Automation is undeniably a resource which can make a home environment automated. People can control their electrical devices via these Home Automation devices and set up controlling actions through Mobile. A home control system controls the user’s whole house, triggering routines and events involving Home Subsystems. An automation system controls a collection of “Home Subsystems”. There is a need for a reliable, secure and interactive system that exercises full control over the electric and electronic aspects of the house, with the potential to be accessed from across the globe. The Smart House system would adjust the power supplied to each appliance according to need. Each appliance is provided with sufficient power to provide for its peak use. In addition, the Smart House controllers could schedule the operation of heavy power consuming appliances (such as dishwashers, electric water heaters, and air conditioners) to take maximum advantage of off-peak electric rates. These adjustments could result in lower utility costs. 21
REFERENCES 22 [1] Sirsath N. S, Dhole P. S.Mohire N. P, Nnik S. C & Ratnaparkhi N.S Department of Computer Engineering, 44, Vidyanagari, Parvati, Pune-411009. India University of Pune. Home Automation using Cloud Network and Mobile Devices" [2] Deepali Javale, Mohd. Mohsin,Shreerang Nandanwar "Home Automation and Security System Using Android ADK" in International Journal of Electronics Communication and Computer Tcchnology (IJECCT) Volume 3 Issue 2 (March 2013) [3] Charith Perera. Student Member, IEEE, Arkady Zaslavskyy, Member, I EEE, Peter Christen,and Dimitrios Georgakopoulos, Member, IEEE "Context Aware Computing for The Internet of Things A Survey".IEEE COMUNICATIONS SURVEYS & TUTORIAL [4] Charith Perera_y.Arkady Zaslavskyy, Peter Christen_ and Dimitrios Georgakopoulosy Research School of Computer Science, the Australian National University, Canberra, ACT 0200, Australia yCSIRO ICT Center, Canberra, ACT 2601, Australia “CA410T: Context Awareness for Internet of Things. [5] Bill N. Schilit, Norman Adams and Roy Want. "Context-Aware Computing Applications"
23

Presentation on IoT Based Home Automation using android & NodeMCU

  • 1.
    A Presentation on IoTBASED HOME AUTOMATION USING ANDROID APPLICATION Project Report Presentation By Tiyasha Das Roll No- 11 Ritosom Pal Roll No- 23 Rohan Sarkar Roll No- 33 Souvik Kundu Roll No- 64 Under the supervision of Mr. Dipra Mitra Department of Computer Science and Technology, Technique Polytechnic Institute, Panchrokhi, Sugandhya, Hooghly
  • 2.
    CONTENTS  INTRODUCTION  WHATIS IoT?  AUTOMATION  HOME AUTOMATION SYSTEM  SYSTEM REQUIREMENTS SPECIFICATIONS  WORKING PRINCIPLE  CIRCUIT DIAGRAM  SCREENSHOTS  ADVANTAGES AND DISADVANTAGES  CONCLUSION  REFERENCES 01
  • 3.
    INTRODUCTION Homes of the21st century will become more and more self-controlled and automated due to the comfort it provides, especially when employed in a private home. A home automation system is a means that allow users to control electric appliances of varying kind. Many existing, well-established home automation systems are based on wired communication. This does not pose a problem until the system is planned well in advance and installed during the physical construction of the building. But for already existing buildings the implementation cost goes very high. In contrast, Wireless systems can be of great help for automation systems. With the advancement of wireless technologies such as Wi-Fi, cloud networks in the recent past, wireless systems are used every day and everywhere. Wireless Home Automation system (WHAS) using IoT is a system that uses computers or mobile devices to control basic home functions and features automatically through internet from anywhere around the world, an automated home is sometimes called a smart home. It is meant to save the electric power and human energy. The home automation system differs from other system by allowing the user to operate the system from anywhere around the world through internet connection. 02
  • 4.
    WHAT IS IoT? •The Internet of Things is simply "A network of Internet connected objects able to collect and exchange data." It is commonly abbreviated as IoT. • The word "Internet of Things" has two main parts; Internet being the backbone of connectivity, and Things meaning objects / devices . • In a simple way to put it, You have "things" that sense and collect data and send it to the internet. This data can be accessible by other "things" too. • Let me give you a practical example. Lets imagine you have a "Smart air conditioning unit" in your home that is connected to the internet. (This is a "thing" connected to the internet) Now, imagine it's a hot summer day and you have left for home from your work. You would like your home to be cool enough by the time you enter it. So, When you leave from your office, you can remotely switch ON the air conditioning unit of your home using your mobile (another "Thing" connected to the internet). Technically, with internet, you can control your AC system from any part of the world as long as both the AC and your mobile are connected using the "Internet". 03
  • 5.
    AUTOMATION Automation is, unsurprisingly,one of the two main characteristics of home automation. Automation refers to the ability to program and schedule events for the devices on the network. The programming may include time-related commands, such as having your lights turn on or off at specific times each day. It can also include non-scheduled events, such as turning on all the lights in your home when your security system alarm is triggered. Once you start to understand the possibilities of home automation scheduling, you can come up with any number of useful and creative solutions to make your life better. Is that west-facing window letting in too much light? Plug your motorized blinds into a “smart” outlet and program it to close at noon each day. Do you have someone come by at the same time each day to walk the dog? Program your home automation system to unlock the front door for them, and lock it up again when they’re done. 04
  • 6.
    HOME AUTOMATION SYSTEM •Home automation involves introducing a degree of computerized or automatic control to certain electrical and electronics system in a building. • These lighting, temperature control, etc.., this project demonstrates a simple home automation system which contains a remote mobile host controller and several client module (home appliances). • The client modules communicate with host controllers through a wireless device such as a Bluetooth enabled mobile phone, in this case, an android based smart phone. Our proposed system DGHOME is a building automation device for a home, called a smart home or smart house. A home automation system will control lighting, climate, entertainment systems, and appliances. It may also include home security such as access control and alarm systems. When connected with the Internet, home devices are an important constituent of the Internet of Things. 04
  • 7.
    SYSTEM REQUIREMENTS SPECIFICATIONS HARDWAREREQUIREMENTS: CONTENT DESCRIPTION Node MCU ESP8266 CPU 4 Mega Bytes Memory 12 V, 1A SMPS Power Supply 12 V to 5 V step down voltage regulator LM7805 Voltage Regulator 4 channel 5V Active Low Relay Board (Optocoupler) Relay Module 06
  • 8.
    07 HARDWARE COMPONENTS REQUIRED 1.Liquid Crystal LCD Display 2. NODEMCU ESP8266-12E 3. 4 Channel Relay Module 5. 12V 1A Power Supply 6. DC Switch 7. 220V AC, 5A light bulb.
  • 9.
    SOFTWARE REQUIREMENTS 08 CONTENT DESCRIPTION CloudPlatform (DigitalOcean) LAMP Stack Server on UBUNTU 14.04 LTS (25GB Disk Space, 1GB Memory, 1vCPU)
  • 10.
    WORKING PRINCIPLE The proposedsystem "DGHOME" is a distributed home automation system, consists of server, sensors. Server controls and monitors the various sensors, and can be easily configured to handle more hardware interface module. The NodeMCU is an efficient and perfect size to fit in our everyday use device. If the sensor parameters are greater than the threshold level then the respective measures can be taken through internet like 'switch off a light' or 'raising up an alarm' etc. The required lights are turned on/off automatically by detecting the light outside the house. The user can also monitor the electric appliances through the internet via web server. 09
  • 11.
    A home automationsystem typically connects controlled devices to a central hub or "gateway". The user interface for control of the system uses either wall-mounted terminals, tablet or desktop computers, a mobile phone application, or a Web interface, that may also be accessible off-site through the Internet. There are three main elements of a home automation system: sensors, controllers, and actuators. • Sensors can monitor changes in daylight, temperature, or motion detection. Home automation systems can then adjust those settings (and more) to your preferences. • Controllers refer to the devices — personal computers, tablets or smartphones — used to send and receive messages about the status of automated features in your home. • Actuators may be light switches, motors, or motorized valves that control the actual mechanism, or function, of a home automation system. They are programmed to be activated by a remote command from a controller. 17
  • 12.
  • 13.
  • 14.
    14 PHOTOGRAPHS OF DEVICE DGHOMEDEVICE INTERNALSSTANDALONE DGHOME DEVICE
  • 15.
    11 MOBILE APLCATION SCREENSHOTS WELCOMESCREEN OF MOBILE APP CONTROLLING DEVICES
  • 16.
    12 ADDING NEW DEVICESFROM WEB CLIENT LOGIN SCREEN
  • 17.
    13 ADDING NEW DEVICESFROM WEB ADDING NEW DEVICES
  • 18.
    14 ADDING NEW DEVICESFROM WEB LIST OF ALL DEVICES ALREADY REGISTERED WITH DGHOME
  • 19.
    15 GENERATING JSON DATAFROM WEB RAW JSON DATA, READY TO SENT IN MOBILE APP
  • 20.
    Start Auto detecting SSID and password from EEPROM,if not found, then create hotspot. Static IP: 192.168.0.1 SSID and Password given Auto-connect with cloud server IP: ***.***.***.*** Relay board pins get excited to control home appliances. yes Stop FLOWCHART OF THE DEVICE 16
  • 21.
    ADVANTAGES The purpose ofa home automation system is to streamline how your home functions. Consider some of these benefits: •Remote access: Control your home from mobile devices, including your laptop, tablet, or smartphone. •Comfort: Use home automation to make your home a more comfortable, livable space. Pre program your thermostat with your preferred settings so that your home is always at a comfortable temperature, set up smart speakers to play music when you get home from work, or adjust your lights to soften or brighten based on the time of day. •Convenience: Program devices to turn on automatically at certain times, or access their settings remotely from anywhere with an Internet connection. When you don’t have to remember to lock the door behind you or switch off the lights, you can turn your attention to more important things. 18
  • 22.
    •Increased safety: Smartfire detectors, carbon monoxide monitors, pressure sensors, and other home automation security features can help protect your home from disaster. •Energy efficiency: Home automation allows you to be more mindful of your power usage. For example, you can save on energy bills by reducing the length of time that lights stay on, or by lowering temperatures when you leave a room. 19
  • 23.
    DISADVANTAGES In a reviewof home automation devices, Consumer Reports found two main concerns for consumers: •A Wi-Fi network connected to the internet can be vulnerable to hacking. •Technology is still in its infancy, and consumers could invest in a system that becomes abandonware. In 2014, Google bought the company selling the Revolv Hub home automation system, integrated it with Nest and in 2016 shut down the servers Revolv Hub depended on, rendering the hardware useless. •Microsoft Research found in 2011, that home automation could involve high cost of ownership, inflexibility of interconnected devices, and poor manageability. 20
  • 24.
    CONCLUSION Home Automation isundeniably a resource which can make a home environment automated. People can control their electrical devices via these Home Automation devices and set up controlling actions through Mobile. A home control system controls the user’s whole house, triggering routines and events involving Home Subsystems. An automation system controls a collection of “Home Subsystems”. There is a need for a reliable, secure and interactive system that exercises full control over the electric and electronic aspects of the house, with the potential to be accessed from across the globe. The Smart House system would adjust the power supplied to each appliance according to need. Each appliance is provided with sufficient power to provide for its peak use. In addition, the Smart House controllers could schedule the operation of heavy power consuming appliances (such as dishwashers, electric water heaters, and air conditioners) to take maximum advantage of off-peak electric rates. These adjustments could result in lower utility costs. 21
  • 25.
    REFERENCES 22 [1] Sirsath N.S, Dhole P. S.Mohire N. P, Nnik S. C & Ratnaparkhi N.S Department of Computer Engineering, 44, Vidyanagari, Parvati, Pune-411009. India University of Pune. Home Automation using Cloud Network and Mobile Devices" [2] Deepali Javale, Mohd. Mohsin,Shreerang Nandanwar "Home Automation and Security System Using Android ADK" in International Journal of Electronics Communication and Computer Tcchnology (IJECCT) Volume 3 Issue 2 (March 2013) [3] Charith Perera. Student Member, IEEE, Arkady Zaslavskyy, Member, I EEE, Peter Christen,and Dimitrios Georgakopoulos, Member, IEEE "Context Aware Computing for The Internet of Things A Survey".IEEE COMUNICATIONS SURVEYS & TUTORIAL [4] Charith Perera_y.Arkady Zaslavskyy, Peter Christen_ and Dimitrios Georgakopoulosy Research School of Computer Science, the Australian National University, Canberra, ACT 0200, Australia yCSIRO ICT Center, Canberra, ACT 2601, Australia “CA410T: Context Awareness for Internet of Things. [5] Bill N. Schilit, Norman Adams and Roy Want. "Context-Aware Computing Applications"
  • 26.