Iot For Home Automation
Iot For Home Automation
Iot For Home Automation
CONTENTS
INTRODUCTION
• There are probably thousands of such sensors out there that can be a part of this list, but since this is
an introduction towards smart home technology, we will keep it brief. We will break down IoT sensors
for home automation by their sensing capabilities:
• Temperature sensors
• Lux sensors
• Water level sensors
• Air composition sensors
• Video cameras for surveillance
• Voice/Sound sensors
• Pressure sensors
• Humidity sensors
• Accelerometers
• Infrared sensors
• Vibrations sensors
• Ultrasonic sensors
• Depending upon what you need, you may use one or many of these to build a truly smart home IoT
product. Let’s have a look at some of the most commonly used home automation sensors.
• Temperature Sensors
• The market is full of them, but the famous temperature sensors are DHT11/22, DS18B20,
LM35, and MSP430 series from TI. The MSP430 series is more accurate than the rest, but at
the same time, it is one of the most expensive for prototyping or initial product testing
purposes. MSP430 tops all temperature sensors, as the precision and battery consumption is
minimal with them.
• The DHT11 has a very restricted temperature range and suffers from accuracy issues. DHT22,
on the other hand, is a little bit more accurate but still, doesn’t make it as the preference.
• The DS18B20, on the other hand, is more accurate, as opposed to digital temperature sensors
like the DHT22 and 11. Dallas temperature sensors are analog and can be extremely accurate
down to 0.5 degrees.
• Take note that often, the temperatures that you directly sense from these sensors may not be
very accurate, and you would occasionally see 1000 F or greater values no matter what you
are doing.
• There’s an entire logic that goes around building temperature sensors that we will address in
another blog post.
• Lux Sensors
• Lux sensors measure the luminosity and can be used to trigger various
functions range from cross-validating movements to turn the lights on
if it becomes too dark. Some of the most popular light sensors are
TSL2591 and BH1750.
• Recent tests to include TSL2591 and BH1750 into low-powered IoT
devices have found them to be working fairly well for most use cases.
• Here’s a study done by Robert and Tomas that shows how these two
compare against a spectrometer and a photodiode.
• To get a good idea of whether these two sensors would meet your
needs, we would suggest illuminance tests followed by normalizations
of the data to observe deviations under various situations.
• Water Level Sensors
• While building your prototype, you may consider a solid
state eTape liquid level sensor or, like others, just use an
HC-SR04 ultrasonic sensor to measure the water level.
• On the other hand, in other cases where those two don’t
suffice, one has to utilize something that can deliver a
much higher performance.
• Float level sensors and other ICs like LM1830 offer a more
precise measurement capability to IoT developers —
although, they are substantially much more expensive than
others.
• Air Composition Sensors
• There are a couple of specific sensors that are used by developers to measure
specific components in the air:
• CO monitoring by MiCS-5525
• MQ-8 to measure Hydrogen gas levels
• MiCS-2714 to measure nitrogen oxide
• MQ135 to sense hazardous gas levels (NH3, NOx, Alcohol, Benzene, smoke, CO2
• Most of these are sensors have a heating time, which also means that they
require a certain time before they actually start delivering accurate values.
• These sensors mainly rely on their surface to detect gas components. When they
initially start sensing, there’s always something that’s there on their surface,
some sort of deposition that requires some heating to go away.
• Hence, after the surface gets heated enough, true values start to show up.
• Video Cameras for Surveillance and Analytics
• A range of webcams and cameras specific to hardware
development kits are usually used in such scenarios. Hardware
with USB ports offer to integrate camera modules to build
functionality.
• But utilizing USB ports is not very efficient, especially in the
case of real-time video transfer or any kind of video processing.
• Take the Raspberry Pi for example. It comes with a camera
module (Pi cam) that connects using a flex connector directly to
the board without using the USB port. This makes the Pi cam
extremely efficient.
• Sound Detection
• Sound detection plays a vital role in everything from
monitoring babies to automatically turning lights on and off
to automatically detecting your dog’s sound at the door
and opening it up for your pet.
• Some commonly used sensors for sound detection include
the SEN-12462 and EasyVR Shield for rapid prototyping.
• These sensors aren’t as good as industrial-grade sensors
like those from 3DSignals, which can detect even ultra-low
levels of noise and fine tune between various noise levels
to build even machine break-up patterns.
• Humidity Sensors
• These sensors bring the capability of sensing humidity/RH levels in the air to
smart homes. The accuracy and sensing precision depends a lot on multiple
factors, including the overall sensor design and placement.
• But certain sensors like the DHT22 and 11, built for rapid prototyping, will always
perform poorly when compared to high-quality sensors like HIH6100 and Dig RH.
• While building a product to sense humidity levels, ensure that there’s no
localized layer of humidity that is obscuring the actual results. Also, keep in mind
that in certain small spaces, the humidity might be too high at one end as
compared to the others.
• When you look at free and open spaces where the air components can move
much freely, the distribution around the sensor can be expected to be uniform
and, subsequently, will require fewer corrective actions for the right calibration.
• A relay is an electrical device which is generally used to control high voltages using very low
voltage as an Input. This consists of a coil wrapped around a pole and a two small metal
flaps(nodes) that are used to close the circuit. One of the node is fixed and other is movable.
Whenever an electricity is passed through the coil, it creates a magnetic field and attracts the
moving node towards the static node and the circuit gets completed. So, just by applying small
voltage to power up the coil we can actually complete the circuit for the high voltage to travel.
Also, as the static node is not physically connected to the coil there is very less chance that the
Microcontroller powering the coil gets damaged if something goes wrong.
• A relay is an electromagnetic switch operated by a relatively small electric current that can turn
on or off a much larger electric current. The heart of a relay is an electromagnet (a coil of wire
that becomes a temporary magnet when electricity flows through it). You can think of a relay as
a kind of electric lever: switch it on with a tiny current and it switches on ("leverages") another
appliance using a much bigger current. Why is that useful? As the name suggests, many sensors
are incredibly sensitivepieces of electronic equipment and produce only small electric currents.
But often we need them to drive bigger pieces of apparatus that use bigger currents. Relays
bridge the gap, making it possible for small currents to activate larger ones. That means relays
can work either as switches (turning things on and off) or as amplifiers (converting small
currents into larger ones).
• Home Automation Protocols
• One of the most important parts of building a home automation product is to think about protocols — protocols that your
device will use to communicate to gateways, servers, and sensors. A few years ago, the only way to do so was by either
using Bluetooth, Wi-Fi, or GSM. But due to added expenses on cellular SIM cards and low performance of Wi-Fi, most such
solutions didn’t work.
• Bluetooth survived and later evolved as Bluetooth Smart or Bluetooth Low Energy. This helped bring a lot of connectivity
in the “mobile server powered economy.” Essentially, your phone would act as a middleware to fetch data from BLE-
powered sensors and send it over to the internet.
• When looking at the major home automation protocols, the following top the list:
• Bluetooth Low Energy or Bluetooth Smart: Wireless protocol with mesh capabilities, security, data encryption algorithms,
and much more. Ideal for IoT-based products for smart homes.
• Zigbee: Low cost, mesh networked, and low power radio frequency-based protocol for IoT. Different Zigbee versions don’t
talk to each other.
• X10: A legacy protocol that utilizes powerline wiring for signaling and control.
• Insteon: Communicates with devices both wirelessly and with wires.
• Z-wave: Specializes in home automation with an emphasis on security.
• Wi-Fi: Needs no explanation.
• UPB: Uses existing power lines installed in a home. Reduces costs.
• Thread: A royalty-free protocol for smart home automation, uses a 6lowpan.
• ANT: An ultra low-power protocol helping developers build low-powered sensors with a mesh distribution capabilities.
• 6lowpan
Wireless Connectivity: How the Internal
Communication Occurs
• Most of the IoT based Home Automation systems available today work on
three widely used wireless communication protocols : Wi-Fi, ZigBee and Z-
Wave
• The ZigBee and the Z-Wave controllers are assigned a network ID which is
distributed over other sensors in the network. The communication
amongst devices take place in a mesh topology where there is no fixed
path for the signals transmitted from the controller to the sensors and vice
versa. Depending on the availability of the shortest path the signal from
the controller will travel to the target sensors either directly or through
signal hops. If any intermediate sensor in the pathway is busy or occupied
the signal will trace another path within the mesh network to reach the
final destination. Note that sensors with different Network IDs cannot
communicate with each other over common channel.
• Wi-Fi: Please explain this section.
Connected with the Cloud: Access Everything on the Go
• It is not practically possible to trigger every action one by one in your day
long busy schedule. This is where you can put the Internet to work for
you. The IF This Then That (IFTTT) Integration helps you in this condition.
• This enables you to create cascading effect of actions where the target
action will trigger only when the IF condition is satisfied. Some of the
examples of IFTTT triggers are like “IF” day temperature above 25
degrees, turn the ACs on and roll-down the curtain blinds. IF Movie
Mode is ON, then turn the lights to 10% brightness, IF soil moisture less
then specific values, turn the water sprinklers in the garden ON.
• There are endless possibilities that you can create with IFTTT triggers and
thus make the optimum use of your Home Automation system thereby
making optimum use of energy and simultaneously enjoying a
comfortable lifestyle.
SOFTWARE REQUIRMENT
• Arduino
• Webpage
ARDUINO SOFTWARE
• The open-source Arduino Software (IDE) makes
• it easy to write code and upload it to the
• board. It runs on Windows, Mac OS X, and
• Linux.
• The environment is written in Java and based
• on Processing and other opensource
• software. This software can be used
• with any Arduino board.
WEB PAGE
• A webpage is a document commonly written in
• Hyper Text Markup Language (HTML) that is
• accessible through the Internet or other network
• using an Internet browser.
• A web page is accessed by entering a URL
• address and may contain text, graphics to other
• web pages and files
APPLICATIONS
• Heating, ventilation and air conditioning (HVAC): it is possible to have remote control of all
home energy monitors over the internet incorporating a simple and friendly user interface. [10][11]
• Lighting control system
• Occupancy-aware control system: it is possible to sense the occupancy of the home using smart
meters[12] and environmental sensors like CO2 sensors,[13] which can be integrated into the
building automation system to trigger automatic responses for energy efficiency and building
comfort applications.
• Appliance control and integration with the smart grid and a smart meter, taking advantage, for
instance, of high solar panel output in the middle of the day to run washing machines. [14][15]
• Security: a household security system integrated with a home automation system can provide
additional services such as remote surveillance of security cameras over the Internet, or central
locking of all perimeter doors and windows.[16]
• Leak detection, smoke and CO detectors[17][18]
• Indoor positioning systems
• Home automation for the elderly and disabled
• Pet Care, for example tracking the pets movements and controlling access rights
• Advantages of Home Automation
• In recent years, wireless systems like Wi-Fi have become more and more common in home networking. Also in home and building automation
systems, the use of wireless
• technologies gives several advantages that could not be
• achieved using a wired network only.
• 1) Reduced installation costs: First and foremost, installation costs are significantly reduced since no cabling is necessary. Wired solutions require
cabling, where material as well as the professional laying of cables (e.g. into walls) is expensive.
• 2) System scalability and easy extension: Deploying a wireless network is especially advantageous when, due to new or changed requirements,
extension of the network is necessary. In contrast to wired installations, in which cabling
• extension is tedious. This makes wireless installations a
• seminal investment.
• 3) Aesthetical benefits: Apart from covering a larger area, this attribute helps to full aesthetical requirements as well. Examples include representative
buildings with all-glass architecture and historical buildings where design or conservatory reasons do not allow laying of cables.
• 4) Integration of mobile devices: With wireless networks, associating mobile devices such as PDAs and Smartphones with the automation system
becomes possible everywhere and at any time, as a device's exact physical location is no longer crucial for a connection (as long as the device is in
reach of the network).
• The inefficiency of operation of conventional wall switches can be overwhelmed using various home automation systems (without using conventional
switching methods).
• The loss of power can be reduced and manpower required for home automation is very less compared to conventional methods.
• The IR, RF, android application, Arduino, Bluetooth, DTMF, etc., based home automation systems can be more efficient, provides ease of operation.
• Provides safety from electrical power short circuits while using conventional wall switches to operate loads.
• Home automation system with automated door locking and security cameras facilitates more security.
• By using a home automation system, we can save a lot of time to operate home appliances from anywhere (without wasting time to move from office
to home for just unlocking door for family members to enter the home).
• Disadvantages
• Cost –
• Most families are able to purchase smart home products, but that doesn’t mean it won’t leave a dent in your wallet. You can
purchase the products one at a time and it won’t seem like too much, $50 here, $300 there, but by the time you have the smart
home system you want, you will likely have spent a larger sum than you would have if you had purchased non-smart products.
• Slight Learning Curve –
• I know I stated in the advantages that most smart home systems are actually very easy to use, but at the same time there is still
somewhat of a learning curve for most people. For anyone already immersed in technology, converting your smart home will be a
breeze, but for anyone not so tech savvy, it may make for a lot of time spent reading manuals.
• If you think you might have trouble learning how to use a smart home device, the answer may be simple. Ask for help! Asking
someone to show you how to run your smart home can far less confusing than trying to make heads or tails of an instruction
manual.
• Reliability –
• A smart home will be extremely reliant on your internet connection. If your connection drops you’ll be left with a lot of smart
products that won’t work. Additionally, wireless signals can possibly be interrupted by other electronics in your home and cause
some of your smart products to function slowly or not at all.
• System crashes due to any damage in the interconnection: If there is any damage due to rupturing of cables or the fibers the
entire system gets crashed. This will not be the case of radio signals or the other signals. Here there will be a problem of signal
receiving. The wiring of the system results in crash in most of the systems.
• Human errors: If the human does not handle the kit safely or if he/she does not use the correct keys to perform the operations,
human errors may occur. Human errors also lead to destructions of the machine. Then there will be a huge system crash.
• Poor internet connection
• Conclusion:
• The home automation using Internet of Things has been
experimentally proven to work satisfactorily by connecting
simple appliances to it and the appliances were successfully
controlled remotely through internet. The designed system not
only monitors the sensor data, like temperature, gas, light,
motion sensors, but also actuates a process according to the
requirement, for example switching on the light when it gets
dark. It also stores the sensor parameters in the cloud (Gmail)
in a timely manner. This will help the user to analyze the
condition of various parameters in the home anytime
anywhere.
FUTURE SCOPE
• Introduction of New Technology for Home Security Systems
• One big change expected in coming years is the introduction of new technology for use in home security systems. Just this last year, ADT released a user friendly home security system that can connect
with up to 16 different security cameras and can be easily managed from an Internet browser by anyone with intermediate computer skills.
• Even more advanced is the face-recognition camera by Netatmo, also introduced in 2015. This camera can be programmed to recognize certain faces, like friends and family members, and will send an
alert to the administrator’s smart phone when they arrive at their front door. And if an unrecognized face arrives at your front door, you will also receive an alert and be able to watch a live feed from
your smart phone.
•
• Reducing Energy Consumption Through Smart Home Products
• At Modernize, we believe strongly in doing everything we can to create more sustainable homes. As the modern world continues to place a high priority on green living and reducing consumption of
energy created from nonrenewable sources, we expect that smart home products will be heavily used as energy saving tools. Currently, the majority of smart home devices that control heating and air
conditioning systems and lighting systems can be easily controlled from any Internet capable device. This allows users to program their systems while away from home, lower thermostat temperatures,
or program lights to only be used during certain times of the day.
• Newer to the market, and still not widely used, are systems like the Bosch Sensortec, that not only allows users to monitor their heating and cooling system but also smartly monitors the home itself.
This system can measure heating, cooling, humidity, and air quality and will make the necessary adjustments if these levels are found to be unsafe or out of balance.
•
• Increasing Family Safety Through Smart Home Products
• Another area expected to grow in popularity in the near future is the use of smart home products to increase family safety, specifically related to fire protection and carbon monoxide monitoring. The
same company that created the Nest, a smart thermostat, has released Nest Protect. The Nest Protect is a fire alarm and carbon monoxide detector that connects with smartphones and other Internet
enabled devices. Anytime a concern arises, an alert is sent to your smartphone, allowing you to act immediately to protect your home and your family.
• Monitoring and Protection of Internet Enable Devices
• Lastly, as the number of devices in homes rapidly increases, we expect further integration of smart home products aimed at monitoring and protecting Internet-enabled devices. Last year, Disney
released Circle with Disney, an Internet monitoring device that connects straight to the wireless router in the home and controls all Internet capable devices from there. Not only does this device
monitor access to restricted sites, but it can control just how much time is spent on certain websites and Internet connect applications. So, if one child needs to spend an hour online doing homework,
Circle with Disney only allows access to permitted sites.
• All in all, it is an exciting future for the world of home automation. Advances in technology are allowing homeowners to makes the lives of their family safer and more cost effective through the use of
smart home devices.
Google.com
Wikipedia.org
THANK YOU ALL
QUESTIONS….?