This tutorial will teach you how to set up a microphone connected to an arduino connected to your computer. Then you will upload code to the arduino which will work with the voice recognition board to allow you to record voice messages and later have the messages recognized.
- First, download the master Voice Recognition V3 package, which can be found from github. Then unpack it in the downloads folder. There should be a manual and a zip file called Voice-recognition-v3.zip.
- Next, Open the Arduino IDE and go to Sketch, Include Library, Add .Zip libarary. It should open a file browser. Go to your downloads folder and locate Voice-recognition-v3.zip and click on it. Then click open.
- Build the circuit by plugging in your Arduino into your computer. Then connect the GND of Arduino to GND of the voice recognition board using a bread board. Also connect the 5V of Arduino to VCC of voice recognition board, the 2 of Arduino to RX of vr board, and the 3 of Ard. to TX of vr board.
- Now the lights of the arduino and voice recognition board should be on. Open from File, Examples, VoiceRecognitionV3, vr_sample_train. Now you have the code and the circuit.
- Choose correct board (Arduino/Genuino Uno) and port (whichever port shows up) and upload.
- Open serial monitor and type settings. If some settings pop up, the set up is working.
- Next type sigtrain 0 On. When the serial monitor says Speak, say "on." Then repeat it when it tells you to. Now it recorded your voice saying "on." Do the same afterwards using sigtrain 1 Off.
- Now type getsig 0 and say "on." If it says on in the response, then the thing works.
Now you should have a circuit with a microphone which has memorized you saying "on" and "off." Using this, you can set it to do something when you say "on" or "off."
Reference links: Buy it, You can download the master package with this link