Hi guys, I made a simple system for controlling the lighting of your house via voice recognition with an Arduino Uno and 1Sheeld.
Here, you will find the schematic on Fritzing.
Thanks to RWaldron for providing the relay part on Fritzing, you can find the part here.
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”.
This is 1Sheeld's Arduino Voice Recognition shield Tutorial to make a voice controlled lights project.
So turn on light with just saying "on" and turn it off when saying "off"
//Call the custom settings to optimize the flash memory usage
//Calling for Arduino Voice Recognize Shield
//Including 1Sheeld library
//Set commands to be recognized by the Arduino Voice Recognition Shield
//Set the lamp to pin 13
//Initialize the communication between 1Sheeld's Arduino Voice Recognition Shield and Arduino
//Set the lamp to be an Output
//check if 1Sheeld's Arduino Voice Recognition Shield received a new command
//Compare the last command received by the Arduino Voice Recognition Shield with the command "on"
//Then turn the light on
//Compare the last command received by the Arduino Voice Recognition Shield with the command "off"
Arduino keeps standing out from the crowd of all-around development boards due too its ease of use and budget price. As a result, this has enabled almost anyone to get his own idea into life no matter how crazy or even useless to the whole world it was, except for its maker! Also, it has …
Arduino robots are always funny and definitely more enjoyable when combined with robotic arm! And today, I will walk you through the making of a simple Arduino Robot Arm that’s made of cardboard and how you can attach it over your Arduino Bluetooth RC Car / Robot that you have made so far through this series. …
Arduino Line Following Robot is one of the easiest and most well-known projects that anyone can make to learn the basics of programming, electronics, and mechanics all in one project. It’s known that this project is common for most of the makers and tech students and today I am going to give it a revisit …
Back again with another Arduino Bluetooth RC Car tutorial but with an advanced feature that makes your car autonomous by adding ultrasonic sensors to the RC Car you have made before!. Yeah, I know that you may have seen other tutorials using ultrasonic to make the car/robot avoid obstacles ahead, but I am going to …
Cardboard crafts are one of the most popular and easy to make DIY stuff. Mixing this with the unmatchable enjoyment of RC Cars and the ease of using Arduino, I am going to show you how to make a Cardboard Arduino Bluetooth RC car that you can control via Bluetooth from your smartphone. …
Arduino Security Camera Have you ever wanted to check your home in real time? Afraid that maybe someone has stormed in, don’t remember if you shut the door or not or maybe wanna check if your Hyper-energetic dog has broken any of your dishes AGAIN!! 🙂 Then this is the perfect place for you cause today …