Control your home lights using your voice with Arduino and 1Sheeld (Voice Recognition Tutorial)

Hi guys, I made a simple system for controlling the lighting of your house via voice recognition with an Arduino Uno and 1Sheeld.

Circuit Diagram

Here, you will find the schematic on Fritzing.

Voice_Recognation_bb

Thanks to RWaldron for providing the relay part on Fritzing, you can find the part here.

Arduino Sketch

Basically, the code is so simple, all we have to do is to check for any new voice command using this function “VoiceRecognition.isNewCommandReceived()” and if 1Sheeld received any new command it will compare this command to the “on” and “off” commands using the string compare function “strcmp”.

Want 20% Off 1Sheeld?

1Sheeld turns your smartphone to LCD, Accelerometer, GPS, SMS, and GSM Arduino shields. Get over 40 Arduino shields in 1Sheeld.

Want 20% Off 1Sheeld?

1Sheeld turns your smartphone to LCD, Accelerometer, GPS, SMS, and GSM Arduino shields. Get over 40 Arduino shields in 1Sheeld.




Related Blogs

Arduino IoT

Arduino IoT Shield Functions Explainer

Arduino makers …. you can connect your Arduino to MQTT brokers(servers) and launch your IoT with Arduino IoT Shield! It’s the 1Sheeld IoT shield that will do the job for you. It’s one of the most important but recent Arduino shields in 1Sheeld. Simply, it turns your Arduino into MQTT client where you can publish and …

Arduino Temperature Humidity System

IoT Arduino Temperature and Humidity System

Monitor my home environmental parameters remotely is one of the most desirable things I have ever wanted to make. It’s not about purchasing such a system that can get the job done for me. But, passion to create it myself. So, today, I am going to connect the popular DHT sensor to an online MQTT …

Arduino Door Lock

IoT Arduino Door Lock using 1Sheeld and Smartphone

  “Oh God! … It seems like I have forgotten the door lock open, again” … the normal saying whenever I am in hurry to go out! Have you encountered this problem before? It always confuses me since I may even think that I have left the door lock opened, and once I go back, …

IoT Fan Control

Arduino IoT Fan Control using 1Sheeld and Smartphone

Here I am with another IoT-based home automation project; Arduino IoT Fan Control. Every day, I get back from work tired and feeling hot. No air conditioner here and the fan takes much time to start cooling the room, sadly! So, I was thinking why not controlling the fan from outside my home with my …

Arduino Light Control

IoT Arduino Light Control using 1Sheeld and Smartphone

Have you ever forgotten to turn your home lights off when you got outside? Sadly, it happens to me all the time. And this causes confusion once I get my bills! Furthermore, here is one secret about me; I am a lazy man. I always want to control my room lamp from my sweet bed. …

Arduino Plant Watering System

Arduino Plant Watering System (Arduino Home Hacks #3)

 Arduino Plant Watering System Welcome to our home automation hacks series #3, for so many times I had problems with watering my plants while traveling abroad and I have always needed a way to control it remotely, then I decided to do it with one of the fanciest ways you may ever hear off, …