Let's Make Robots!

Battle tank - with Voice Control

remote control, sound effect, shooting with laser and IR, detect IR, control electronic applicants
Cost to build: 
$25
Time to build: 
20 hours

Before going on developing the Home Explorer, I have to make a battle tank with shooting capability for my son...because I promised him several months ago. The battle tanks are remote controlled and made to shoot each other by laser or infrared. It has these features:

- remote control

- moving in eight directions, 2 speed

- rotating canon tower

- laser gun, to shoot a target

- IR gun, to shoot a target, or turn on some electronics applicants

- IR detector, when it is shot by another tank or by a TV remote control, the tank will be frozen for several seconds

- Sound effect

- Voice control, see the third movie

This is not an innovative project. But it is quite a challenge to put it together in a small tank with one MCU (atmega88):

ap_20081016092324408.jpg.jpg?ib_____Dj91Qon9Z

 

ap_20081017060622757.jpg.jpg?ib_____DwbmjuXs4

 

Voice Control

I make use of the CMU Sphinx http://cmusphinx.sourceforge.net/html/cmusphinx.php to make the voice control part.

Sphinx is a powerful speaker-independent continuous speech recognition engine. It is open source and come with very rich features. I use Sphinx, not only it is open source, but also it has pocket version that is tuned for handheld / mobile devices. In the near future we shall be able to use mobile devices to control our robot at a reasonable cost. A pocket version means that your robot will listen to your commands, without going through the PC.

Comparing with Microsoft technology, it is relative difficult to make it work initially. There are a large number of development tools created for R&D purpose. It is not very handy to make a simple command oriented robot control program.

Since I don't have a handheld device, I use Sphinx 3 on my PC in this project. Together with a wireless mic, I shall be a ble to control any robots at home with my PC as the speech recognition engine.

mic => PC => Sphinx 3 => robot control program => RF module => robot

In the future, it will be:

mic => pocketsphinx on the robot

 

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

I'm new to voice related programming.so ,i want to know if i could use atmega8 microcontroller to make a voice controlled robot to follow atleast 4 commands and if i could then whether i've to use sphinx or microsoft sdk .I,ve planned to use windows 7 os so kindly help me with the issue.

i,m eager to know ....

mlandergan's picture

I really like your controller, what is the chip on it? I love your robot anyways.

mlandergan's picture

I mean the controller in the second video

hi  

i am making a voice controlled robot.i have completed the robot vehicle part and if i giv input through the keyboard ,it recieves the signal through a rf reciever and moves accordingly.What i want now is to control the robot by giving voice input.can u give me a program code for speech recognition which can be done by using SDK

That is not a simple piece of program. You have to go through some configuration and training on the voice recognition part. Part of it is documented here http://hk.myblog.yahoo.com/jw!afd6dGGRHBRkp2laqwk198fg/article?mid=629

Thank you so much for breaking it down for me. Now I completely understand how it works. When you mentioned "name pipe", i kind of got lost. I didn't think you were referencing name pipe in programming terminology. I am very familiar with name pipe. I'm planning on using Sphinx 4 which is written in Java since I am more of Java and .Net programmer. By the way, do you remember the type of RF Transmitter Module you used? Or do you have any RF modules you recommend?

 

Again thanks for you time to explain how it works.

Named Pipe:

http://msdn.microsoft.com/en-us/library/aa365590%28VS.85%29.aspx

Nothing special, just IPC communcation.

I use a very cheap AM ASK type cost less than $1 each. It is easily interrupted by other electrical appliance so I do not recommend.

 

hi  

i am making a voice controlled robot.i have completed the robot vehicle part and if i giv input through the keyboard ,it recieves the signal through a rf reciever and moves accordingly.What i want now is to control the robot by giving voice input.can u give me a program code for speech recognition which can be done by using SDK

ArunioSmo's picture
This is fantastic

The part where Sphinx communicates with RF transmitter is what I mostly dont understand. You mentioned sphinx3_livedecode.exe. How is this executable program come in play to communicate with RS-232 serial port? I guess what I would like to know is the techinical part in detail. Any code used to communicate Shpinx with RS232 will help me to understand.