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.

  • 176 views
  • 0 comments
  • 4 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

Arduino Bluetooth Basic Tutorial

by Mayoogh Girish

  • 455,804 views
  • 44 comments
  • 242 respects

Home Automation Using Raspberry Pi 2 And Windows 10 IoT

Project tutorial by Anurag S. Vasanwala

  • 285,637 views
  • 95 comments
  • 672 respects

Security Access Using RFID Reader

by Aritro Mukherjee

  • 230,247 views
  • 38 comments
  • 239 respects

OpenCat

Project in progress by Team Petoi

  • 196,621 views
  • 154 comments
  • 1,366 respects
Add projectSign up / Login