Summer Camp: Internet of Things.

 

Voice Recognition with Arduino Guide

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.

  1. 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.
  2. 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.
  3. 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.
  4. 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.
  5. Choose correct board (Arduino/Genuino Uno) and port (whichever port shows up) and upload.
  6. Open serial monitor and type settings. If some settings pop up, the set up is working.
  7. 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.
  8. 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

« Previous