Introduction: Arduino Voice / Speech Recognition With Geeetech Module [Tutorial]
How to: Arduino Voice / Speech Recognition with Geeetech Module [Tutorial]. This video will show you how to talk with your Arduino with the (cheap) Geeetech voice control module. You can then use the code to control a motor or make voice controlled lights. There are a few videos that demonstrate the same thing, however they use a windows machine with Accessport, here I have used CoolTerm on a Mac to send Hex commands to the TTL module.
Code and parts links can be found here: www.WireBeings.com/voice.html
WINDOWS USERS:
This guy does a good job illustrating use with Accessport:
(I think he is using a different board though, and he doesn't send the final command (AA21) so don't forget to do that)
Step 1: Connections and Code
#include<Servo.h>
byte com = 0;
Servo myServo;
void setup() { Serial.begin(9600);
myServo.attach(9);
delay(2000);
Serial.write(0xAA);
Serial.write(0x37);
delay(1000);
Serial.write(0xAA);
Serial.write(0x21); }
void loop() {
while(Serial.available()) {
com = Serial.read();
switch(com) {
case 0x11: //command 1
myServo.write(0);
break;
case 0x12: //command 2
myServo.write(45);
break;
case 0x13: //command 3
myServo.write(90);
break;
case 0x14: //command 4 myServo.write(135);
break;
case 0x15: //command 5 myServo.write(180);
break;
}
}
}