SlideShare a Scribd company logo
CMRI
T
Under the esteemed guidance of
Mrs. B. V .Krishnaveni
Associate Professor
Department of Electronics and Communication Engineering
CMR INSTITUTE OF TECHNOLOGY
(UGC AUTONOMUOUS)
(Permanently Affiliated to JNTU Hyderabad and Accredited by NBA New Delhi)
Kandlakoya (V), Medchal Road, Hyderabad –501 401
201 9-2020
By
G. GAUTHAM (16R01A04E0)
E. ROHIT REDDY (16R01A04D6)
M. SATISH (16R01A04F6)
Google Voice Assistance Based Smart
Home Automation
CMRI
T
Abstract
 The idea behind Google assistant-controlled Home automation is to control home
devices with voice. On the market there are many devices available to do that, but
making our own is awesome. In this project, the Google assistant requires voice
commands.
 Adafruit account which is a cloud based free IoT web server used to create virtual
switches, is linking to IFTTT website abbreviated as “If This Than That” which is used to
create if else conditional statements.
 The voice commands for Google assistant have been added through IFTTT website. In
this home automation, as the user gives commands to the Google assistant, Home
appliances like Bulb, Fan and Motor etc., can be controlled accordingly.
 The commands given through the Google assistant are decoded and then sent to the
microcontroller, the microcontroller in turn control the relays connected to it. The device
connected to the respective relay can be turned On or OFF as per the users request to
the Google Assistant.
 The microcontroller used is NodeMCU (ESP8266) and the communication between the
microcontroller and the application is established via Wi-Fi (Internet).
CMRI
T
Content :
• Introduction
• Existing Method
• Problem Solved By Automation
• Proposed System
• Methodology
• Block Diagram
• Components
• Result Analysis
• Advantages
• Drawbacks
• Conclusion
• Future Work
• References
CMRI
T
Introduction
 Home automation or demotics a term for
home automation coined by Jim Hill has
been evolving drastically.
 We saw many home automation
technologies introduced over these
years from Zigbee automation to Amazon
Echo, Google Home and Home from
Apple.
 It has become a craze these days. Our
main aim is to automate our house within
less cost unlike other modules like Alexa
echo dot and can control up to 8
appliances using Google Assistant
1
CMRI
T
Existing
Method
 A home automation system allow users to control electric appliances of varying kind. Many
existing, well established home automation systems are based on wired communication.
 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. Internet or IP protocol-
based communication in home automation systems is always a popular choice.
 The capacity of a product or system to communicate in a standard way with other products or
system is Interoperability. The existing system has a drawback that the graphical user interface
(GUI) is not provided to the user and the user has to remember all the AT commands to control
the connected devices.
 Also, the system uses the java-based functions. Now a days, the usage of those mobile has
less. But in the proposed system we are controlling all devices through android mobile and web
server and the user no need to remember the commands also. Some devices are automated like
cooler, Fan, Light, Electric motor etc., 2
CMRI
T
Problems solved by
Automation
 Home porch thieves and burglary
 Did I leave the garage door or gate open?
 Home energy vampires
 Did I leave the lights on (again)?
 Prevent water damage
 What might be the temperature of machine or the
room
3
CMRI
T Proposed System
 The proposed system eliminates the complication of
wiring in case of wired automation. Considerable
amount of power supply is also possible. Operating
range is more than the Bluetooth.
 The existing system does not allow remote monitoring
and controlling of appliances. But where as in the
proposed system the system using the Wi-Fi based
home automation system it allows to monitor and
control the appliances.
 The home automation of the existing system in 1990’s,
the people in every home has electronic devices which
are controlled manually but in our proposed system
we are controlling all electronic appliances through
remotely.
 The IOT application have become this popular in this
21st century is due to dominant use of the internet,
evolution of smart phone technology and raised
4
CMRI
T
Methodology
The methodology of this project design includes implementation of the proposed method.
There are some basic steps involving in the Methodology of the product. The first major
step is setting up the Adafruit IO.
 Adafruit IO is a website used to create virtual switches which will be turned ON or OFF
depending on the commands given to the Google assistant and the second step is
connecting the ESP8266
 The last step is connecting to Google assistant through IFTTT. IFTTT is also a website
used to create simple chain of conditional statements for like if else statements.
 By following these three steps, the implementation of the proposed system is going to
be done.
5
CMRI
T
Block Diagram
6
CMRI
T
Components
 Hardware requirements
 Node MCU – 32-bit ESP8266 development board with Wi-
Fi SoC.
 Relay module
 Relay 1 - Light Bulb
 Relay 2 - Fan
 Relay 3 – Motor Driver
 Temperature sensor
 Smoke sensor
 Water level sensor
 Motion sensor 7
CMRI
T
Node mcu (esp8266)
 NodeMCU is an open source IoT platform, includes
firmware which runs on the ESP8266 Wi-Fi Module
from Espressif Systems, and hardware which is based
on the ESP-12 module.
 The term “NodeMCU” by default refers to the firmware
rather than the development kits. NodeMCU firmware
was developed so that AT commands can be replaced
with Lua scripting making the life of developers easier.
 The ESP8266 is a low-cost Wi-Fi chip with full TCP/IP
stack and microcontroller capability produced by
Shanghai-based Chinese manufacturer, Espressif.
Pin Diagram of Node MCU
NodeMCU (ESP8266) Development Board 8
CMRI
T
Relay Module
A 4-Channel Relay interface board allows us to control various appliances, and
other equipment’s with large current. It can be controlled directly by Micro-
controller (Arduino, Node MCU, Raspberry Pi, 8051, AVR, PIC, DSP, ARM, ARM,
MSP430, TTL logic).
Specifications:
 4-Channel Relay interface board, and each one needs 15-20mA Driver
Current
 Both controlled by 12V and 5V input Voltage
 Equipped with high-current relay, AC250V 10A; DC30V 10A
 Standard interface that can be controlled directly by microcontroller.
 Opto-isolated inputs
 Indication LED’s for Relay output status.
A relay is an electromagnetic switch. It is activated when a small current of
some microampere is applied. Normally, a relay is used in a circuit as a type of
switch, an automatic switch. There are different types of relays and they
operate at different voltages. When a circuit is built the voltage that will trigger
it has to be considered. In this system the relay circuit is used to turn the
9
Channel relay
CMRI
T
Temperature sensor
 The market is full of them, but the famous
temperature sensors are DHT11/22, DS18B20,
LM35 and MSP430 series from TI.
 MSP430 series is more accurate than the rest but
at the same time 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 minimum
with them.
 MSP430 tops all temperature sensors as the
precision and battery consumption is minimum
with them.
10
Temperature Sensor
CMRI
T Water Level Sensor
 While building your prototype you may consider a
solid state eTape liquid level sensor, or like others
who just use an HC-SR04 ultrasonic sensor to
measure the water level sensor.
 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.
Smoke Sensor
 This methane gas sensor detects the concentration of methane
gas in the air and outputs its reading as an analog voltage.
 The concentration sensing range of 300 ppm to 10,000 ppm is
suitable for leak detection.
 For example, the sensor could detect if someone left a gas stove 11
Smoke Sensor
Ultrasonic sensor
CMRI
T Motion Sensor
 Hcsr501 is popular pir sensor. You can find many tutorials on internet about interfacing hcsr501 with
different microcontrollers(Arduino, pic, msp430 etc.).
 Hscr501 requires 3.3 v to 5 v for its operation. I noticed it works great on 5 volts. It has 3 pins. Two are power
pins Vcc and Gnd.
 When ever infrared radiation is detected by the pir sensor out pin goes high. This change in out pin voltage
can be read by external controller and an alarm can be rung to notify the owner about intrusion/presence.
 External controller can also generate other notifications such as text SMS on a mobile number, internet
email notifications etc. For this project i only ring the buzzer when ever their is intrusion and pir sensor out
pin goes high. Two variable resistors/potentiometers are also part of the hcsr501 pir sensor.
 Delay time means how long the out pin remain high when ever the presence of a body is detected. Hcsr501
delay time can be set between 0.3 seconds to 5 minutes and sensitivity range can be set up to 7 meters.
12
CMRI
T
 Software Requirements
 Google assistant application
 Adafruit IO
 IFTTT Service.
 Arduino IDE
13
CMRI
T
Adafruit IO is a website used to create virtual switches which will be turned ON or OFF depending on the
commands given to the Google assistant and the second step is connecting the ESP8266. First, create account at
www.Adafruit.io
Adafruit IO
14
1. Adafruit Sign In page
3. Creating blocks for switches
2. Creating a Dashboard
4. Choosing Feed in Dashboard
5. Block settings for turning ON and OFF
and Creating Virtual switches in
Dashboard
CMRI
T
IFTTT (If This Then That)
If This Then That, also known as IFTTT, is a free web-based
service to create chains of simple conditional statements,
called applets. An applet is triggered by changes that
occur within other web services such as Gmail, Facebook,
Telegram, Instagram, or Pinterest.
15
1. Searching Google assistant
2. Creating Trigger
3. Sending Data to Adafruit IO
4. Completing action fields
CMRI
T Google Assistant
 Google Assistant is an artificial intelligence-powered virtual assistant developed by Google that
is primarily available on mobile and smart home devices.
 Unlike the company's previous virtual assistant, Google Now, Google Assistant can engage in
two-way conversations.
 Assistant initially debuted in May 2016 as part of Google's messaging app Allo, and its voice
activated speaker Google Home.
 After a period of exclusivity on the Pixel and Pixel XL smartphones, it began to be deployed on
other Android devices in February 2017, including third-party smartphones and Android Wear
(now Wear OS), and was released as a standalone app on the iOS operating system in May 2017.
Arduino IDE
 The Arduino integrated development environment (IDE) is
a cross-platform application (for Windows, macOS, Linux)
that is written in the programming language Java.
 It is used to write and upload programs to Arduino
compatible boards, but also, with the help of 3rd party
cores, other vendor development boards.
16
CMRI
T
Result Analysis
Example 1 : Relay connected to FAN
Example 2 : Relay connected to BULB
17
CMRI
T Advantages
 It is cheaper when compared to the Alexa Echo dot
or Google Home.
 Greater Efficiency
 Quick Decision Making
 Quality Control
 Safety
 Reduces Cost
 Available 24×7
Drawbacks
 Poor connection
 Power loss or power supply
issues
 Displaces workers due to job 18
CMRI
T
Conclusion
 This project is about wireless home automation using Android mobile helps us to implement
such a fantastic system in our home at a very reasonable price using cost-effective devices.
 Thus, it overcomes many problems like costs, inflexibility, security etc. In addition, will
provide greater advantages like it decrease our energy costs, it improves home security.
 In addition, it is very convenient to use and will improve the comfort of our home. The project
has proposed the idea of smart homes that can support a lot of home automation systems.
 C# programming language and Node microcontroller have been used to connect the sensors
circuit to the home.
 Also, in home and building automation systems, the use of wireless technologies gives
several advantages which cannot be achieved by using a wired network.
 Wireless technology is not only an attractive choice in renovation and refurbishment, but also
for new installations
19
CMRI
T Future Work
There are a variety of enhancements that could be made to this system to achieve greater accuracy in
sensing and detection.
 There are a lot of other sensors that can be used to increase the security and control of the home
like pressure sensor that can be put outside the home to detect that someone will enter the home.
 Changing the way of the automated notifications by using the GSM module to make this system
more professional.
 A smart garage that can measure the length of the car and choose which block to put the car into it
and it will navigate the car through the garage to make the parking easy for the homeowner in his
garage.
20
CMRI
T
References
 Tan, Lee and Soh – “Internet based Monitoring of Distributed Control Systems”, - Energy and power
Engineering. Publisher: IEEE Transactions on Education, Place: New Jersey, Country: USA, Year:
2002, Vol: 45, Iss. No. 2., pp. 128-134.
 Potamitis, I., Georgila, K. Fakotakis, N., & Kokkinakis, G – ‘An Integrated system for smart-home
control of appliances based on remote speech interaction’,- 8th European conference on speech and
communication technology, Publisher: World Journal control science and Engineering, Place: Geneva,
Country: Switzerland, Year: 2003, Vol. No: 2, Iss. No.1, pp. 2197-2200.
 S. M. Anamul Haque, S. M. Kamruzzaman and Md. Ashraful Islam – ‘A System for Smart-Home Control
of Appliances Based on Time and Speech Interaction’,- Proceedings of 4th International Conference
on Electrical Engineering, Place: Bhubaneshwar, Country: India, Year:2006., pp.128 to 131.
 N. P Jawarkar, V. Ahmed, S.A. Ladhake, and R.D Thakare – ‘Micocontroller based Remote monitoring
using mobile phone through spoken commands’,- Journal of networks, Publisher: World Journal
control science and engineering, Place: Lagos, Country: Nigeria, Year:2008, Vol. No.:3, Iss. No.2, pp.58
to 83.
 Prof. Era Johri– ‘Remote Controlled Home Automation using Android application via Wi-Fi
connectivity’, - International Journal on Recent and Innovation and recent trends in computing and
communication, Publisher: World Journal control science and engineering, Place: North Dakota,
Country: USA, Year:2012, Vol. No.:3, Iss. No.3, pp.2321 to 8169.
21
CMRI
T
CMRI
T

More Related Content

PPTX
Home automation using google assistant ppt
PDF
5G TECHNOLOGY project report
PDF
IOT: Home Automation using Android Application
DOC
Online Voting System Project File
PPTX
Launching vehicles
PPS
Presentation on home automation
PPTX
Launch Vehicles and Propulsion_Satellite Communication
PPTX
IoT home automation project
Home automation using google assistant ppt
5G TECHNOLOGY project report
IOT: Home Automation using Android Application
Online Voting System Project File
Launching vehicles
Presentation on home automation
Launch Vehicles and Propulsion_Satellite Communication
IoT home automation project

What's hot (20)

PPTX
Android Based Home Automation Control
PPTX
Home automation
PPTX
Home automation using arduino
PPTX
Home automation ppt
PDF
Home Automation Using Arduino Uno and HC-05
PDF
Home automation using bluetooth - Aurdino BASED
PPTX
SMART HOME AUTOMATION USING MOBILE APPLICATION
PPTX
Bluetooth based home automation using Arduino UNO
PDF
SMART HOME AUTOMATION USING MOBILE APPLICATION
PDF
Voice Control Home Automation
PPTX
Home automation based iot
PPT
AUTOMATIC IRRIGATION SYSTEM USING ARDUINO UNO
PPT
Seminar on Home Automation Using Raspberry Pi
PPTX
IoT Based Home Automation System Presantation
PDF
Smart Home Automation
PPTX
Home automation using blynk app with fan direction control and displaying sta...
PPTX
Home automation ppt-kamal lamichhane
PPTX
Home automation voice control
PPTX
Home automation
PPTX
Home automation using wifi
Android Based Home Automation Control
Home automation
Home automation using arduino
Home automation ppt
Home Automation Using Arduino Uno and HC-05
Home automation using bluetooth - Aurdino BASED
SMART HOME AUTOMATION USING MOBILE APPLICATION
Bluetooth based home automation using Arduino UNO
SMART HOME AUTOMATION USING MOBILE APPLICATION
Voice Control Home Automation
Home automation based iot
AUTOMATIC IRRIGATION SYSTEM USING ARDUINO UNO
Seminar on Home Automation Using Raspberry Pi
IoT Based Home Automation System Presantation
Smart Home Automation
Home automation using blynk app with fan direction control and displaying sta...
Home automation ppt-kamal lamichhane
Home automation voice control
Home automation
Home automation using wifi
Ad

Similar to Google Voice Assistance Based Smart Home Automation (20)

PDF
IoT BASED ON WIRELESS HOME AUTOMATION
DOCX
Smart home automation system
PDF
Floor cleaning robot(autonomus mannual) vatsal shah-ec_4th year
PDF
Bluetooth Home Automation System
PDF
Communication Methods to build Smart Home Monitoring System: A Survey
PDF
Communication Methods to build Smart Home Monitoring System: A Survey
PDF
IRJET - IoT based Advanced Home Automation
PPTX
Home automation
PDF
IRJET-Home Automation System Based on Voice Recognition
PDF
68-71.pdf
PDF
IRJET- H-Box (Connecting Homes)
DOCX
DIGITAL LOGIC DESIGN (1) PROJECT REPORT.docx
PPTX
Home Automation by Android Application based Remote Control
PDF
IRJET- Intelligent Home Monitoring using IoT for Physically Challenged
PDF
IRJET- Voice Based Home Automation System using Raspberry Pi
PPTX
Robo wireless controll
PDF
iot1presentation-191219142803.pdf
PDF
IRJET - Home Automation using GSM
PPTX
Iot based garbage monitoring system
PDF
IRJET - IoT based Home Automation System through Voice Control using Google A...
IoT BASED ON WIRELESS HOME AUTOMATION
Smart home automation system
Floor cleaning robot(autonomus mannual) vatsal shah-ec_4th year
Bluetooth Home Automation System
Communication Methods to build Smart Home Monitoring System: A Survey
Communication Methods to build Smart Home Monitoring System: A Survey
IRJET - IoT based Advanced Home Automation
Home automation
IRJET-Home Automation System Based on Voice Recognition
68-71.pdf
IRJET- H-Box (Connecting Homes)
DIGITAL LOGIC DESIGN (1) PROJECT REPORT.docx
Home Automation by Android Application based Remote Control
IRJET- Intelligent Home Monitoring using IoT for Physically Challenged
IRJET- Voice Based Home Automation System using Raspberry Pi
Robo wireless controll
iot1presentation-191219142803.pdf
IRJET - Home Automation using GSM
Iot based garbage monitoring system
IRJET - IoT based Home Automation System through Voice Control using Google A...
Ad

Recently uploaded (20)

PPTX
Cloud computing and distributed systems.
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PPTX
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Unlocking AI with Model Context Protocol (MCP)
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
Approach and Philosophy of On baking technology
PDF
NewMind AI Monthly Chronicles - July 2025
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
Modernizing your data center with Dell and AMD
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PPTX
MYSQL Presentation for SQL database connectivity
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PPTX
Big Data Technologies - Introduction.pptx
PDF
cuic standard and advanced reporting.pdf
PDF
Encapsulation theory and applications.pdf
Cloud computing and distributed systems.
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Mobile App Security Testing_ A Comprehensive Guide.pdf
Digital-Transformation-Roadmap-for-Companies.pptx
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
Reach Out and Touch Someone: Haptics and Empathic Computing
Unlocking AI with Model Context Protocol (MCP)
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Approach and Philosophy of On baking technology
NewMind AI Monthly Chronicles - July 2025
The Rise and Fall of 3GPP – Time for a Sabbatical?
Understanding_Digital_Forensics_Presentation.pptx
Modernizing your data center with Dell and AMD
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
MYSQL Presentation for SQL database connectivity
Per capita expenditure prediction using model stacking based on satellite ima...
Diabetes mellitus diagnosis method based random forest with bat algorithm
Big Data Technologies - Introduction.pptx
cuic standard and advanced reporting.pdf
Encapsulation theory and applications.pdf

Google Voice Assistance Based Smart Home Automation

  • 1. CMRI T Under the esteemed guidance of Mrs. B. V .Krishnaveni Associate Professor Department of Electronics and Communication Engineering CMR INSTITUTE OF TECHNOLOGY (UGC AUTONOMUOUS) (Permanently Affiliated to JNTU Hyderabad and Accredited by NBA New Delhi) Kandlakoya (V), Medchal Road, Hyderabad –501 401 201 9-2020 By G. GAUTHAM (16R01A04E0) E. ROHIT REDDY (16R01A04D6) M. SATISH (16R01A04F6) Google Voice Assistance Based Smart Home Automation
  • 2. CMRI T Abstract  The idea behind Google assistant-controlled Home automation is to control home devices with voice. On the market there are many devices available to do that, but making our own is awesome. In this project, the Google assistant requires voice commands.  Adafruit account which is a cloud based free IoT web server used to create virtual switches, is linking to IFTTT website abbreviated as “If This Than That” which is used to create if else conditional statements.  The voice commands for Google assistant have been added through IFTTT website. In this home automation, as the user gives commands to the Google assistant, Home appliances like Bulb, Fan and Motor etc., can be controlled accordingly.  The commands given through the Google assistant are decoded and then sent to the microcontroller, the microcontroller in turn control the relays connected to it. The device connected to the respective relay can be turned On or OFF as per the users request to the Google Assistant.  The microcontroller used is NodeMCU (ESP8266) and the communication between the microcontroller and the application is established via Wi-Fi (Internet).
  • 3. CMRI T Content : • Introduction • Existing Method • Problem Solved By Automation • Proposed System • Methodology • Block Diagram • Components • Result Analysis • Advantages • Drawbacks • Conclusion • Future Work • References
  • 4. CMRI T Introduction  Home automation or demotics a term for home automation coined by Jim Hill has been evolving drastically.  We saw many home automation technologies introduced over these years from Zigbee automation to Amazon Echo, Google Home and Home from Apple.  It has become a craze these days. Our main aim is to automate our house within less cost unlike other modules like Alexa echo dot and can control up to 8 appliances using Google Assistant 1
  • 5. CMRI T Existing Method  A home automation system allow users to control electric appliances of varying kind. Many existing, well established home automation systems are based on wired communication.  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. Internet or IP protocol- based communication in home automation systems is always a popular choice.  The capacity of a product or system to communicate in a standard way with other products or system is Interoperability. The existing system has a drawback that the graphical user interface (GUI) is not provided to the user and the user has to remember all the AT commands to control the connected devices.  Also, the system uses the java-based functions. Now a days, the usage of those mobile has less. But in the proposed system we are controlling all devices through android mobile and web server and the user no need to remember the commands also. Some devices are automated like cooler, Fan, Light, Electric motor etc., 2
  • 6. CMRI T Problems solved by Automation  Home porch thieves and burglary  Did I leave the garage door or gate open?  Home energy vampires  Did I leave the lights on (again)?  Prevent water damage  What might be the temperature of machine or the room 3
  • 7. CMRI T Proposed System  The proposed system eliminates the complication of wiring in case of wired automation. Considerable amount of power supply is also possible. Operating range is more than the Bluetooth.  The existing system does not allow remote monitoring and controlling of appliances. But where as in the proposed system the system using the Wi-Fi based home automation system it allows to monitor and control the appliances.  The home automation of the existing system in 1990’s, the people in every home has electronic devices which are controlled manually but in our proposed system we are controlling all electronic appliances through remotely.  The IOT application have become this popular in this 21st century is due to dominant use of the internet, evolution of smart phone technology and raised 4
  • 8. CMRI T Methodology The methodology of this project design includes implementation of the proposed method. There are some basic steps involving in the Methodology of the product. The first major step is setting up the Adafruit IO.  Adafruit IO is a website used to create virtual switches which will be turned ON or OFF depending on the commands given to the Google assistant and the second step is connecting the ESP8266  The last step is connecting to Google assistant through IFTTT. IFTTT is also a website used to create simple chain of conditional statements for like if else statements.  By following these three steps, the implementation of the proposed system is going to be done. 5
  • 10. CMRI T Components  Hardware requirements  Node MCU – 32-bit ESP8266 development board with Wi- Fi SoC.  Relay module  Relay 1 - Light Bulb  Relay 2 - Fan  Relay 3 – Motor Driver  Temperature sensor  Smoke sensor  Water level sensor  Motion sensor 7
  • 11. CMRI T Node mcu (esp8266)  NodeMCU is an open source IoT platform, includes firmware which runs on the ESP8266 Wi-Fi Module from Espressif Systems, and hardware which is based on the ESP-12 module.  The term “NodeMCU” by default refers to the firmware rather than the development kits. NodeMCU firmware was developed so that AT commands can be replaced with Lua scripting making the life of developers easier.  The ESP8266 is a low-cost Wi-Fi chip with full TCP/IP stack and microcontroller capability produced by Shanghai-based Chinese manufacturer, Espressif. Pin Diagram of Node MCU NodeMCU (ESP8266) Development Board 8
  • 12. CMRI T Relay Module A 4-Channel Relay interface board allows us to control various appliances, and other equipment’s with large current. It can be controlled directly by Micro- controller (Arduino, Node MCU, Raspberry Pi, 8051, AVR, PIC, DSP, ARM, ARM, MSP430, TTL logic). Specifications:  4-Channel Relay interface board, and each one needs 15-20mA Driver Current  Both controlled by 12V and 5V input Voltage  Equipped with high-current relay, AC250V 10A; DC30V 10A  Standard interface that can be controlled directly by microcontroller.  Opto-isolated inputs  Indication LED’s for Relay output status. A relay is an electromagnetic switch. It is activated when a small current of some microampere is applied. Normally, a relay is used in a circuit as a type of switch, an automatic switch. There are different types of relays and they operate at different voltages. When a circuit is built the voltage that will trigger it has to be considered. In this system the relay circuit is used to turn the 9 Channel relay
  • 13. CMRI T Temperature sensor  The market is full of them, but the famous temperature sensors are DHT11/22, DS18B20, LM35 and MSP430 series from TI.  MSP430 series is more accurate than the rest but at the same time 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 minimum with them.  MSP430 tops all temperature sensors as the precision and battery consumption is minimum with them. 10 Temperature Sensor
  • 14. CMRI T Water Level Sensor  While building your prototype you may consider a solid state eTape liquid level sensor, or like others who just use an HC-SR04 ultrasonic sensor to measure the water level sensor.  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. Smoke Sensor  This methane gas sensor detects the concentration of methane gas in the air and outputs its reading as an analog voltage.  The concentration sensing range of 300 ppm to 10,000 ppm is suitable for leak detection.  For example, the sensor could detect if someone left a gas stove 11 Smoke Sensor Ultrasonic sensor
  • 15. CMRI T Motion Sensor  Hcsr501 is popular pir sensor. You can find many tutorials on internet about interfacing hcsr501 with different microcontrollers(Arduino, pic, msp430 etc.).  Hscr501 requires 3.3 v to 5 v for its operation. I noticed it works great on 5 volts. It has 3 pins. Two are power pins Vcc and Gnd.  When ever infrared radiation is detected by the pir sensor out pin goes high. This change in out pin voltage can be read by external controller and an alarm can be rung to notify the owner about intrusion/presence.  External controller can also generate other notifications such as text SMS on a mobile number, internet email notifications etc. For this project i only ring the buzzer when ever their is intrusion and pir sensor out pin goes high. Two variable resistors/potentiometers are also part of the hcsr501 pir sensor.  Delay time means how long the out pin remain high when ever the presence of a body is detected. Hcsr501 delay time can be set between 0.3 seconds to 5 minutes and sensitivity range can be set up to 7 meters. 12
  • 16. CMRI T  Software Requirements  Google assistant application  Adafruit IO  IFTTT Service.  Arduino IDE 13
  • 17. CMRI T Adafruit IO is a website used to create virtual switches which will be turned ON or OFF depending on the commands given to the Google assistant and the second step is connecting the ESP8266. First, create account at www.Adafruit.io Adafruit IO 14 1. Adafruit Sign In page 3. Creating blocks for switches 2. Creating a Dashboard 4. Choosing Feed in Dashboard 5. Block settings for turning ON and OFF and Creating Virtual switches in Dashboard
  • 18. CMRI T IFTTT (If This Then That) If This Then That, also known as IFTTT, is a free web-based service to create chains of simple conditional statements, called applets. An applet is triggered by changes that occur within other web services such as Gmail, Facebook, Telegram, Instagram, or Pinterest. 15 1. Searching Google assistant 2. Creating Trigger 3. Sending Data to Adafruit IO 4. Completing action fields
  • 19. CMRI T Google Assistant  Google Assistant is an artificial intelligence-powered virtual assistant developed by Google that is primarily available on mobile and smart home devices.  Unlike the company's previous virtual assistant, Google Now, Google Assistant can engage in two-way conversations.  Assistant initially debuted in May 2016 as part of Google's messaging app Allo, and its voice activated speaker Google Home.  After a period of exclusivity on the Pixel and Pixel XL smartphones, it began to be deployed on other Android devices in February 2017, including third-party smartphones and Android Wear (now Wear OS), and was released as a standalone app on the iOS operating system in May 2017. Arduino IDE  The Arduino integrated development environment (IDE) is a cross-platform application (for Windows, macOS, Linux) that is written in the programming language Java.  It is used to write and upload programs to Arduino compatible boards, but also, with the help of 3rd party cores, other vendor development boards. 16
  • 20. CMRI T Result Analysis Example 1 : Relay connected to FAN Example 2 : Relay connected to BULB 17
  • 21. CMRI T Advantages  It is cheaper when compared to the Alexa Echo dot or Google Home.  Greater Efficiency  Quick Decision Making  Quality Control  Safety  Reduces Cost  Available 24×7 Drawbacks  Poor connection  Power loss or power supply issues  Displaces workers due to job 18
  • 22. CMRI T Conclusion  This project is about wireless home automation using Android mobile helps us to implement such a fantastic system in our home at a very reasonable price using cost-effective devices.  Thus, it overcomes many problems like costs, inflexibility, security etc. In addition, will provide greater advantages like it decrease our energy costs, it improves home security.  In addition, it is very convenient to use and will improve the comfort of our home. The project has proposed the idea of smart homes that can support a lot of home automation systems.  C# programming language and Node microcontroller have been used to connect the sensors circuit to the home.  Also, in home and building automation systems, the use of wireless technologies gives several advantages which cannot be achieved by using a wired network.  Wireless technology is not only an attractive choice in renovation and refurbishment, but also for new installations 19
  • 23. CMRI T Future Work There are a variety of enhancements that could be made to this system to achieve greater accuracy in sensing and detection.  There are a lot of other sensors that can be used to increase the security and control of the home like pressure sensor that can be put outside the home to detect that someone will enter the home.  Changing the way of the automated notifications by using the GSM module to make this system more professional.  A smart garage that can measure the length of the car and choose which block to put the car into it and it will navigate the car through the garage to make the parking easy for the homeowner in his garage. 20
  • 24. CMRI T References  Tan, Lee and Soh – “Internet based Monitoring of Distributed Control Systems”, - Energy and power Engineering. Publisher: IEEE Transactions on Education, Place: New Jersey, Country: USA, Year: 2002, Vol: 45, Iss. No. 2., pp. 128-134.  Potamitis, I., Georgila, K. Fakotakis, N., & Kokkinakis, G – ‘An Integrated system for smart-home control of appliances based on remote speech interaction’,- 8th European conference on speech and communication technology, Publisher: World Journal control science and Engineering, Place: Geneva, Country: Switzerland, Year: 2003, Vol. No: 2, Iss. No.1, pp. 2197-2200.  S. M. Anamul Haque, S. M. Kamruzzaman and Md. Ashraful Islam – ‘A System for Smart-Home Control of Appliances Based on Time and Speech Interaction’,- Proceedings of 4th International Conference on Electrical Engineering, Place: Bhubaneshwar, Country: India, Year:2006., pp.128 to 131.  N. P Jawarkar, V. Ahmed, S.A. Ladhake, and R.D Thakare – ‘Micocontroller based Remote monitoring using mobile phone through spoken commands’,- Journal of networks, Publisher: World Journal control science and engineering, Place: Lagos, Country: Nigeria, Year:2008, Vol. No.:3, Iss. No.2, pp.58 to 83.  Prof. Era Johri– ‘Remote Controlled Home Automation using Android application via Wi-Fi connectivity’, - International Journal on Recent and Innovation and recent trends in computing and communication, Publisher: World Journal control science and engineering, Place: North Dakota, Country: USA, Year:2012, Vol. No.:3, Iss. No.3, pp.2321 to 8169. 21