Home Automation

INTRODUCTION



Controlling multiple appliances through Google assistant from anywhere in the world
  • Monitoring sensor’s data from anywhere in the world
  • Automating home appliances(lights,fans,etc) whenever we enter into the room using motion sensor
  • Getting notifications on our phone whenever anyone secretly enters in our room or lab.
  • IoT based Air quality monitoring device by attaching dust sensor,Co2 sensor,Temperature,humidity etc.

Working 
This project takes the help of two online platforms, IFTTT and Adafruit MQTT . IFTTT stands for If This Then That, its a great platform on which we can merge two services by making an applet. In this, we need to provide one condition and one action. The Action will be performed whenever the particular condition will be satisfied.
With the help of IFTTT, I’m merging Google Assistant and Adafruit MQTT. The applet which I made is something like,




“If Google assistant listens to turn on fan, then send data 1 to fan feed of Adafruit MQTT broker.”
So this is one kind of applet which I made using IFTTT which combines my Google Assistant and Adafruit MQTT. Now how does Adafruit MQTT works? Basically, MQTT works on Broker Client Publish Subscribe method in which Clients are subscribed to one topic on the broker. Any data change in that topic will be reflected to all the devices connected to that same topic in that broker.


PHOTO







WORKING PHOTO












Components Required
  1. ESP8266 12e development board(NodeMCU) (http://amzn.to/2BKS7cv)
  2. 4 x 5V Relays (http://amzn.to/2ChddQC)
  3. 4 x 1n4007 Diode (http://amzn.to/2EM4IuD)
  4. 4 x BC547 transistors (http://amzn.to/2oiTbfV)
  5. 4 x 330ohm resistors (http://amzn.to/2ojg8zN)
  6. 16 channel analog multiplexer module (http://amzn.to/2mLwlfl)
  7. PIR motion sensor (http://amzn.to/2EK1OX2)
  8. MQ35  sensor
  9. Sound Sensor (http://amzn.to/2HCYO0z)
  10. Light Sensor (http://amzn.to/2CcBAPr)
  11. DHT11 Temperature and Humidity sensor(http://amzn.to/2sPh3fO)
  12. 7805 Regulator IC (http://amzn.to/2CdUvcq)
  13. 9V Power Adapter (http://amzn.to/2CfffAL)
  14. 4 x 2 pin PCB mount screw terminal (http://amzn.to/2EM5Luz)


Code

0 Comments