Introduction: Voice Recognition ,Arduino
control Anything with Geetech voice recognition module and arduino , it is easy and simple .
Step 1: Components Required
FTDI convertor (200inr) , arduino uno(400 inr) , Geetech voice recognition module (1800inr)
Step 2: Software Used !
Access port (win) or coolterm (Mac or win)! and arduino IDE
Step 3: Recording Voice Using Accesport
Connection :
TX - RX
RX- TX
VCC- VCC
GND -GND
open access port
- select baud rate - 9600
- Select - com port
Type Hex command :
At the beginning you need to select
AA 36 - to enter into common mode
then to record first group ,type
AA 11 - to start recording first group
whenever it says :-
start - you need to speak command ,
again- wait
different- wait
finish one -means command is recorded
repeat this for 4times - give different commands
finished group one - 5commands is recorded
after this type -
AA - 21 to import group one
if you want to record second group
type command
AA 12
AA 22 to import group 2
AA 24 - query
AA 01 to delete group1
AA 02 to delete group2
Step 4: Connecting It to Arduino
Connection is simple
TX-RX
RX-TX
VCC-VCC
GND -GND
and LED as per the diagram!!
Step 5: Code
int redPin = 9;
int greenPin = 10;
int bluePin = 11; byte
com = 0; //reply from voice recognition
void setup() { Serial.begin(9600);
pinMode(redPin, OUTPUT);
pinMode(greenPin, OUTPUT);
pinMode(bluePin, OUTPUT);
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:
digitalWrite(redPin, HIGH);
break;
case 0x12:
digitalWrite(greenPin, HIGH);
break;
case 0x13:
digitalWrite(bluePin, HIGH);
break;
case 0x14:
digitalWrite(redPin, HIGH);
digitalWrite(greenPin, HIGH);
digitalWrite(bluePin, HIGH);
break;
case 0x15:
digitalWrite(redPin, LOW);
digitalWrite(greenPin, LOW);
digitalWrite(bluePin, LOW);
break;
}
}
}
18 Comments
2 years ago
Can an ARDUINO NANO 33 IOT be used rather than the arduino uno?
Question 4 years ago on Introduction
Voce coding on ardion uno
5 years ago
i have a doubt... can it recognise our voice from others..??
Reply 4 years ago
I need a help how to add 0x22 in arduino code
Pls help
Question 5 years ago on Step 6
Could you please assist me with writing Arduino code to control Fan, Ac,
light, and T.V with 2 orders for each set on/off by Geetech Voice recognition.
In other words, How to use group 2 Geetech Voice Recognition
5 years ago
what transmitter do u recommend if i want to make a remote connection?
5 years ago
What transmitter is advisable if i want to implement a remote connection?
6 years ago
After filling GENERAL in ACCESSPORT and hitting OK it pops up a window with a text "NOT FOUND OR IT HAS BEEN USED" and after clicking OK three warning appears one by one.
please tell me how to fix this issue?
6 years ago
nice instructable can you tell me where to find geetech module in india its too costly on the sites.
6 years ago
good work
take a look to this link.
it works very nice, now i'm working in spanish version
https://github.com/arjo129/uSpeech
but yours is also great, thanks¡
Reply 6 years ago
Good going ! :)
7 years ago
Is there a flexibility in giving commands?? Like a user could say anything but the module would recognize certain keywords in the command.
Reply 7 years ago
it will recognise prerecorded voice only ! but you can record commands in any language !
Use any of these language and have fun :- Punjabi, Kannada, hindi ,Tamil and Telugu. !
7 years ago
welcome Neil !!
7 years ago
This looks very interesting. Good work. I have some other Geetech products and they work well. Anyway, great work on your Instructable.
7 years ago
very good idea and well explained!
7 years ago
thank u
7 years ago
Very nice instruc! Thanks for Sharing!