Hi tutorial community, here i am with an other automation project, specifically a voice controlled system with Google Assistant, Arduino, and some web platforms.
I was one of the people who do not support the control of devices by voice, because I understood that it was impractical, but as soon as I knew that I could mix the convenience of Google Assistant with the hardware control without the need of Alexa, Google Home, or any other expensive Personal assistant, so I opted to make this project.
Hope you like it.
You can subscribe for more!!
1-Arduino based Esp8266 programmer circuit.
2-Esp8266 wifi module
3-Relay module for the Esp8266 module.
5- 5 volts power supply
NOTE: The arduino nano can't supply the enough current to the module to run the code, just use it for programming. Then to test the uploaded code, use the 3.3v of an arduino uno or a 3.3 linear regulator.
Adafruit IO is a Web platform that let you use their services to control things over internet.
In this step we just need to sign up, and create a feed called "lights".
In the code you can see some empty forms, where we must fill with our info, 1- Your Adafruit Username, 2- The key gerenated by your adafruit account, 3- Your Wifi SSID, 4-Your Wifi Password.
After selecting the Generic Esp8266 module, and the port correctly, then click upload.
NOTE: if you have not add the Esp8266 board to your Arduino IDE board list, here is a video that show you how:
First you need to sign up to Ifttt, then create a new applet and follow the steps showed in the photos.
Note: You need to create a "Turn off the lights" applet too, as you can see on the last picture, we have 2 applets ready
Power up the relay module with the USB cable, then connect the wifi module in it, and just enjoy.
As you can see i disarmed the light switch and connected it to the relay contact and its done.
No preview (download only).