arduino ..voice recognition module v3 and relay module

Dear all..
I am facing serious trouble..kindly help!!!!!!!!!!!!
I am making a project using arduino and voice recognition module v3 to control relay module so that i can control AC lights by voice commands.

I have made all the connections...know how to upload voice commands..

Only problem i am facing it is how to do the coding..

AS in i want like when i say " light on"

so the light connected to relay module 1 switches on..

When i say "light off"

the light bulb goes off...

Help guys!

AS in i want like when i say " light on"

so the light connected to relay module 1 switches on..

You have to have programmed the shield so that it knows that "light on" is command 3 in group 2, for instance.

Then, when you say "Chocolate ice cream rules", the VR shield can report that command c in group g was issued. Then, it's trivial to make the washing machine come on.

It would help to know which hardware you are waving your hands about.

ohkay...i am getting you mate... :wink:

can you please help me with the coding

Link to the VR you are using?
Also it would be better to use "light on" and "turn off light" for your commands. Less chance of the VR acting on the wrong command as "light on" and "light off" are very similar in sound. The "light o" is the majority "sound" of those 2 commands. Using "light on" and "turn off light" will give you enough difference in "sound" so the VR won't easily mistake which command you are saying.

kunalbhandari:
ohkay...i am getting you mate... :wink:

can you please help me with the coding

I think you are not "getting" anything.

I assume you are using an EasyVR shield.

The first step is to get the "EasyVR Commander" to work with it.
Then you can record your own commands, and test if they are recognised.

After that you can think of modding the demo to let it execute something.
Leo..

My experience with the EasyVR (3.0 and 2.0) was pretty dismal - even once I got it talking to the EasyVR commander, and train it on the commands, I haven't been able to get more than 10% recognition rates using the included microphone... I don't know if I'm using bad phrases or it just doesn't like how I talk or what, but I've bought two of them (the first one crapped out entirely not long after I got it).

I use a trigger word with three distinct phonemic sounds.
The module "beeps" back.
The trigger word does not do anything, apart from activating a word set.

The next word is the actual command.
Some commands do something, others activate another wordset, others do both.

My recognition settings are "hardest/Far Mic"

I speak in a normal (not loud) commanding voice , at 1-3meters distance.
I have trained the words for that distance in that room.
Don't shout, or use the mic <50cm distance.

I get 80-90% accurace, but never a "wrong" command, because of the trigger word.

I currently use it as an RF remote to control the lights in my house.

The inbuild wordsets have proven to be useless.
"Robot" or a loud fart are recognised as the same thing.
Leo..

I am using Arduino UNO ...

link to voice module

And a link to your hardware and schematic you are using?

the voice module : Elehouse voice recognition module v3

link:

http://www.elechouse.com/elechouse/index.php?main_page=product_info&cPath=&products_id=2254

Did you try everything you could find on Google.
Here's a page.

http://www.elechouse.com/elechouse/index.php?main_page=product_info&products_id=2151

I hope you didn't pick this advanced project as your first one.
Leo..

This link is for the v2 version..

link for v3 version which i am using :
http://www.elechouse.com/elechouse/index.php?main_page=product_info&cPath=&products_id=2254

Yea i have tried evrything on google.. :frowning:

Ya its my first project brother..

But now i have picked it..so i have to do it..no backing out

Please clarify what you are after here. Are you asking for help with the VR coding or with the part of your sketch that actually controls the relay? I haven't used a VR module before, but it looks from your post that you already have the commands that you want set in the VR software ("I have made all the connections...know how to upload voice commands..").
So it seems from your initial statement that you are asking how to take the output from the VR module and turn it into a digitalWrite on the pin assigned to the relay in your sketch.Is this correct?

hello guys, i have one question ?

i am doing project on voice recognition for home appliance (light/door)

i am using Voice recognition module VR3, arduino UNO, relay, lightbulb, door.

do i need to give command to the VR3 via USB TTL, or i can directly connect it with arduino and give a command?

if you guys have any code related to this, i can see. i would be really appreciated and would be thankful.