Easy Home Automation Using NodeMCU ESP8266 and GOOGLE Assistant
by noor akhunji in Circuits > Arduino
943 Views, 4 Favorites, 0 Comments
Easy Home Automation Using NodeMCU ESP8266 and GOOGLE Assistant
In this tutorial you're going to see you how you can control your electronic appliances like T.V, fans, lights etc. over the internet with your voice and that to under a budget of $20. You can follow this tutorial even if you have no prior knowledge about Programming or NodeMCU. So lets begin learning Home Automation Using NodeMCU(ESP8266).
List of Components That I Used:
NodeMCU esp8266
4-relay switch board
bulb
Bread board
black & red cables/wires
Jumper cables : male to male & male to female
Arduino UNO R3 (I used it as power supply)
Install and Configure Blynk App
Firstly you need to download Blynk app from play store or app store.
Blynk :- https://play.google.com/store/apps/details?id=cc.b...
after downloading app login the app and create new project by clicking new project.
give project name of your liking then select device as NodeMCU and select connection type is WIFI.
The auth-token is send to your e-mail id which you registered, we use auth-token for configuration.
Now we need to add 4 buttons to operate.
click on buttons and give names and select pins. in this convert push button into switch buttons.
Downloading and Setting Up Arduino IDE and Blynk Libraries
Arduino IDE : https://www.arduino.cc/en/software
Blynk Libraries : https://github.com/blynkkk/blynk-library/tree/mast...
now in Arduino ide go to files > examples > Blynk > Board_WIFI > ESP8266_Standalone
in ESP8266_Standalone.ino file we need to change only three lines of code:-
step:-1 Paste auth-token which Blynk app send to your e-mail.
step:-2 Enter your wifi name in code.
step:-3 Enter your wifi password.
now connect NodeMCU ESP8266 with pc/laptop and select board and upload the code.