Home Automation using ESP8266 web server and Node RED

Using this project you can control upto 4 appliances and monitor the value of 4 analog sensors connected to NodeMCU board straight on to the Node-RED Dashboard.

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. MQ135  sensor (https://amzn.to/2SKFBR4)
  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)

Connection Diagram

PCB Design and Gerber File

As there were a lot of connections in this project, I just designed my own custom PCB for it on EasyEDA.com . Now if you want the Gerber file or the design of PCB for this project, then you can get it by going to my EasyEDA account.

You can just click here and this will re-direct you to the page where you can find the design of this PCB.

Code / Node-RED JSON file

I have uploaded the demo code used for this project and also the JSON formatted file for Node-RED on my GitHub Account which you can download and use it by clicking here.

Tutorial Video

I have recorded and uploaded full tutorial video for this project. Kindly watch that out to learn and make your own project