Welcome everyone
CHATTOGRAM POLYTECHNIC INSTITUTE
Department of Electronics
7th / B2
INSTRUCTOR: SURAIYA NAHID LIMA
SUBJECT NAME: PROJECT 2
SUBJECT CODE: 66875
TEAM VISERION
Md. Sayeed
384270 Farhan Ahmed
Rahee
384271
Eyaminul Hoq
(Leader)
384276
Mohammad Kamrul
Islam
384300
Shahadat Hossain
Roll:384281
Mohammad Ikbal
Hossain
384306
Kaykobad Khan
384320
IOT based home automation
Introduction: Home automation evolution starts with some basic ideas.It minimizes the
human efforts and it can be deployed in a lot of fields like military, surveillance application is
developed in the modern world. Now a day’s Home automation is developed by using Wireless
technology. Wireless technology in Home automation starts with Bluetooth, WI-FI, and Zigbee
Communication. Based on the Requirement, Application and online platforms they deployed
the communication in Projects. And we have numerous online platforms in internet to control
a Home automation. “Adafruit.com” is a Popular online platforms used in this Project it has a
lot of Features like buttons, gauges, Sliders and Plotting Features also. By using technology we
can connect a greater number of Home automation to control it very useful for surveillance
application. Now a day’s Indoor localization Technologies are developed on that case also we
can deploy this type of voice controlled Home automation.
Required element:
Hardware element
Artificial intelligence (AI)
Software
Online Platforms
Hardware element:
1. NudeMCU- ESP8266.
2. Relay board- 4 channel.
3. Zero Board.
4. Smartphone.
5. Load.
6. Power supply.
Figure 1: NodeMcu Lua ESP-12E WIFI Development Board
Details:
Wireless 802.11 b/ g/ n.
standard Support STA / AP / STA + AP three operating modes.
Built-in TCP / IP protocol stack to support multiple TCP.
Client connections (5 MAX)
DO D8, SDI SD3: used as GPIO, PWM, IIC, etc. port driver capability
15mA
ADO: 1 channel ADC.
Power input: 4.5V 9V (1 OVMAX), USB-powered.
Current: continuous transmission: z70mA (200mA MAX),
Standby: Q00uA
Transfer rate: 110-460800bps
Support UART / GPIO data communication interface
Remote firmware upgrade (OTA)
Support Smart Link Smart Networking
Working temperature: -40 ä„f + 125 ä„f
Drive Type: Dual high-power H-bridge driver
Figure 1: 1 x 5V 4 channel relay module
Details:
Trigger mode: High level.
Can be used for microcontroller development board
module or home appliance control
5V - 12V TTL control signal
Can control DC or AC signal, also 220V AC load
Normally open / closed contact
Power indicator
Controlled lights bright when pull and not shine
when disconnect.
Increase the transistor drive relay coils, control pins
high impedance.
Control pins have pull down circuit to prevent
malfunction of relay vacant
Arduino IDE: It is a lightweight, cross-platform application that introduces
programming to novices. It has both an online editor and an on-premise
application, for users to have the option whether they want to save their
sketches on the cloud or locally on their own computers.
While Arduino IDE is highly-rated by users according to ease of use, it is
also capable of performing complex processes without taxing computing
resources.
With Arduino IDE, users can easily access contributed libraries and receive
up-to-date support for the latest Arduino boards, so they can create
sketches that are backed by the newest version of the IDE.
Software
Artificial intelligence (AI)
The theory and development of computer systems able to
perform tasks normally requiring human intelligence, such
as visual perception, speech recognition, decision-making,
and translation between languages.
Here we are using Google assistant for our project.
Google Assistant
Google assistant: Google assistant is AI (Artificial Intelligence) based voice
command service. Using voice, we can interact with google assistant and it
can search on the internet, schedule events, set alarms, control appliances,
etc. This service is available on smartphones and Google Home devices.
We can control smart home devices including lights, switches, fans and
thermostats using our Google Assistant.
Online platforms
Adafruit.com IF Then That
It is a solution for the construction of applications IoT created by
Adafruit Industries, the well-known open-source hardware
marketer, have created this platform for the internet of things
based on platforms known as Arduino, Raspberry pi, ESP8266,
Intel Galileo, Serial devices And Wifi among others. The
Communication API is based on MQTT client with Adafruit servers.
In a few minutes you can create a high quality dashboard.
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.
Here, I used IFTTT to use google assistant service and Adafruit service in chain.
So, when I use google assistant to control light of my home by saying Ok
google, turn the light ON or OFF. Then IFTTT interpret the message and can
send it to Adafruit’s dashboard as a understandable command to the
created feed.
Figure 3: Circuit Diagram
Working procedure:
1.For this project, first we need to collect all the equipment as required.
2.Then connect them as like as circuit diagram.
3.Then open “Adafruit io”.com and open an account, make an applet.
4.Write a for "nudemcu" by Arduino-ide and load it into "nudemcu'. and connect it with Adafruit io. After that we can control home
appliance by using smart phone from this online platforms but we can’t control it by voice command.
5.That’s why we need to install Google Assistant in our mobile and set up it.But till now we can’t reach our goal.
6.So that we need to build communication into “Adafruit” and Google Assistant. And we connect “Adafruit” and Google Assistant by
using IFTTT.
Result: After that we can control our home appliance by voice from anywhere of the world by voice command.
Conclusion: If we can implement this system in our home then our modern life will be more easier and more smarter .

IoT based home automation

  • 1.
  • 2.
  • 3.
    INSTRUCTOR: SURAIYA NAHIDLIMA SUBJECT NAME: PROJECT 2 SUBJECT CODE: 66875
  • 4.
    TEAM VISERION Md. Sayeed 384270Farhan Ahmed Rahee 384271 Eyaminul Hoq (Leader) 384276 Mohammad Kamrul Islam 384300 Shahadat Hossain Roll:384281 Mohammad Ikbal Hossain 384306 Kaykobad Khan 384320
  • 5.
    IOT based homeautomation
  • 6.
    Introduction: Home automationevolution starts with some basic ideas.It minimizes the human efforts and it can be deployed in a lot of fields like military, surveillance application is developed in the modern world. Now a day’s Home automation is developed by using Wireless technology. Wireless technology in Home automation starts with Bluetooth, WI-FI, and Zigbee Communication. Based on the Requirement, Application and online platforms they deployed the communication in Projects. And we have numerous online platforms in internet to control a Home automation. “Adafruit.com” is a Popular online platforms used in this Project it has a lot of Features like buttons, gauges, Sliders and Plotting Features also. By using technology we can connect a greater number of Home automation to control it very useful for surveillance application. Now a day’s Indoor localization Technologies are developed on that case also we can deploy this type of voice controlled Home automation.
  • 7.
    Required element: Hardware element Artificialintelligence (AI) Software Online Platforms
  • 8.
    Hardware element: 1. NudeMCU-ESP8266. 2. Relay board- 4 channel. 3. Zero Board. 4. Smartphone. 5. Load. 6. Power supply.
  • 9.
    Figure 1: NodeMcuLua ESP-12E WIFI Development Board
  • 10.
    Details: Wireless 802.11 b/g/ n. standard Support STA / AP / STA + AP three operating modes. Built-in TCP / IP protocol stack to support multiple TCP. Client connections (5 MAX) DO D8, SDI SD3: used as GPIO, PWM, IIC, etc. port driver capability 15mA ADO: 1 channel ADC. Power input: 4.5V 9V (1 OVMAX), USB-powered. Current: continuous transmission: z70mA (200mA MAX), Standby: Q00uA Transfer rate: 110-460800bps Support UART / GPIO data communication interface Remote firmware upgrade (OTA) Support Smart Link Smart Networking Working temperature: -40 ä„f + 125 ä„f Drive Type: Dual high-power H-bridge driver
  • 11.
    Figure 1: 1x 5V 4 channel relay module
  • 12.
    Details: Trigger mode: Highlevel. Can be used for microcontroller development board module or home appliance control 5V - 12V TTL control signal Can control DC or AC signal, also 220V AC load Normally open / closed contact Power indicator Controlled lights bright when pull and not shine when disconnect. Increase the transistor drive relay coils, control pins high impedance. Control pins have pull down circuit to prevent malfunction of relay vacant
  • 13.
    Arduino IDE: Itis a lightweight, cross-platform application that introduces programming to novices. It has both an online editor and an on-premise application, for users to have the option whether they want to save their sketches on the cloud or locally on their own computers. While Arduino IDE is highly-rated by users according to ease of use, it is also capable of performing complex processes without taxing computing resources. With Arduino IDE, users can easily access contributed libraries and receive up-to-date support for the latest Arduino boards, so they can create sketches that are backed by the newest version of the IDE. Software
  • 14.
  • 15.
    The theory anddevelopment of computer systems able to perform tasks normally requiring human intelligence, such as visual perception, speech recognition, decision-making, and translation between languages. Here we are using Google assistant for our project.
  • 16.
  • 17.
    Google assistant: Googleassistant is AI (Artificial Intelligence) based voice command service. Using voice, we can interact with google assistant and it can search on the internet, schedule events, set alarms, control appliances, etc. This service is available on smartphones and Google Home devices. We can control smart home devices including lights, switches, fans and thermostats using our Google Assistant.
  • 18.
  • 19.
    It is asolution for the construction of applications IoT created by Adafruit Industries, the well-known open-source hardware marketer, have created this platform for the internet of things based on platforms known as Arduino, Raspberry pi, ESP8266, Intel Galileo, Serial devices And Wifi among others. The Communication API is based on MQTT client with Adafruit servers. In a few minutes you can create a high quality dashboard.
  • 21.
    If This ThenThat, 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. Here, I used IFTTT to use google assistant service and Adafruit service in chain. So, when I use google assistant to control light of my home by saying Ok google, turn the light ON or OFF. Then IFTTT interpret the message and can send it to Adafruit’s dashboard as a understandable command to the created feed.
  • 23.
  • 24.
    Working procedure: 1.For thisproject, first we need to collect all the equipment as required. 2.Then connect them as like as circuit diagram. 3.Then open “Adafruit io”.com and open an account, make an applet. 4.Write a for "nudemcu" by Arduino-ide and load it into "nudemcu'. and connect it with Adafruit io. After that we can control home appliance by using smart phone from this online platforms but we can’t control it by voice command. 5.That’s why we need to install Google Assistant in our mobile and set up it.But till now we can’t reach our goal. 6.So that we need to build communication into “Adafruit” and Google Assistant. And we connect “Adafruit” and Google Assistant by using IFTTT. Result: After that we can control our home appliance by voice from anywhere of the world by voice command. Conclusion: If we can implement this system in our home then our modern life will be more easier and more smarter .