Project tutorial
How to Automate Your Room With Google Assistant and Arduino?

How to Automate Your Room With Google Assistant and Arduino? © GPL3+

A voice controlled system.

  • 1,306 views
  • 0 comments
  • 6 respects

Components and supplies

Apps and online services

About this project

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.

Step 1: Here's a Video Building and Testing the Project!

You can subscribe for more!!

Step 2: Materials You Will Need:

1-Arduino based Esp8266 programmer circuit.

2-Esp8266 wifi module

3-Relay module for the Esp8266 module.

4-USB cable

5- 5 volts power supply

Step 3: Wifi Module Programmer With Arduino:

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.

Step 4: Setting Up Your Adafruit IO:

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".

Step 5: Filling Empty Places in the Code With Your Info

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:

https://www.youtube.com/watch?v=tsHwlrKLiJA

Step 6: Creating the Trigger and the Response With IFTTT

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

Step 7: Connecting and Testing

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.

Enjoy it.

Code

ControlPorVoz.inoArduino
No preview (download only).

Schematics

Don't need schematic! (PCB already buyable)
I used a ESP8266 relay module.
 12 uxzkliguqm

Comments

Similar projects you might like

Home Automation Using Google Assistant

Project showcase by Pawan Kumar

  • 9,694 views
  • 12 comments
  • 41 respects

Aquarium Assistant

Project tutorial by Fady Tarek

  • 1,223 views
  • 0 comments
  • 8 respects

Candy Dispenser with Google Assistant

Project tutorial by Arduino “having11” Guy

  • 15,482 views
  • 1 comment
  • 51 respects

Smart Living Room (Home Theatre)

Project showcase by Alex Warsun

  • 5,141 views
  • 3 comments
  • 20 respects

Health Band - A Smart Assistant for the Elderly

Project tutorial by Technovation

  • 20,056 views
  • 11 comments
  • 53 respects

Alexa Powered Arduino Kitchen Assistant

Project tutorial by TheParticleGuy

  • 2,629 views
  • 1 comment
  • 11 respects
Add projectSign up / Login