fbpx

Controlling Multiple Appliances using Google assistant | Monitoring multiple sensor’s data via Internet

Title is soooo big and so is our project. I name this project as Ultimate Home Automation using ESP8266 12e development board. This single project can be used for various applications. Some of the applications of this project are,

  • 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

These are some of many projects which can be built using our single board.  I have made two teaser videos using this project to show the variety of applications.

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)
Circuit Diagram

For Relays and Buzzer

For Sensors and Multiplexer

You can make you own PCB at home, or can directly order it online.I got one amazing site called jlcpcb.com for ordering our pcbs online. You can design the pcb online too at easyeda.com and then just download the gerber file format of the PCB from there.

After that upload that gerber file on jlcpcb and you can get the pcbs right at your door steps.

The price is reasonable.

10 PCBs for $2.

One more thing,your first order will be delivered for free. So give it a try once.

If you are lucky enough, you’ll get a  PCB for free as I have planned one giveaway do refer the project tutorial video to know how to claim these free PCBs.

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.

MQTT broker can be a local broker that works in the range of a wifi router, or it can be a cloud based broker that works from anywhere in this world.To learn more about IFTTT and MQTT, refer my tutorial video as I have explained everything in detailed manner.

Tutorial Video