Instructables
Picture of Make a Voice Controlled Robot
(requested for contest, 18+ age category)

This tutorial will show how to build a simple voice controlled robot that's easy enough for beginners to make in just a few hours. I show how it can be done in two languages, both English and Thai.

The cost of the entire project is about ~$224, which factors in quality components and parts.

There will be three parts to this tutorial. This part will show you how to assemble the robot mechanically, the next part will show you how to program your microcontroller, and the last part will be how to configure voice recognition.

Watch the video for step-by-step instructions, and see the result at the end. If you like it, please boost my ego and rate this Instructable =)

 
Remove these adsRemove these ads by Signing Up

Step 1: Parts Needed

You can find all the parts you need for your robot using this handy-dandy robot parts list .

(2) servos - I used HS-311 for ~$8.99 each

(2) servo mounts $1.95

(2) wheels - I custom made these using a CNC (although a laser cutter would be better), but you can buy some for ~$3 each

(1) 6V NiMH battery - about ~$22 for a quality battery

(1) small piece of plastic (scrap)

(16) 4-40 screws ~$2

(1) Axon II microcontroller  $118

(1) VRbot Voice Recognition Module $57.95

Step 2: Installing Software

Now that your robot is assembled, we will now program the robot.

If you have never used the Axon before, the getting started tutorial will get you up and running quickly:
http://societyofrobots.com/axon2/axon2_setup1.shtml

The fully commented source code to this project can be downloaded here:
http://www.societyofrobots.com/downloads/Axon2_Voice_Recognition_Software.zip

You will need AVR Studio to upload the .hex file to your Axon - no programming required. But feel free to modify it should you want to do more.

This tutorial video will now show you how to customize the software of your robot using WebbotLib Project Designer .




The robot in the video you saw uses this following code:


It includes a WebbotLib Project Designer file

Theeba20 hours ago

Hi, I'm currently building voice control robot using Easy VR Commander and arduino, I have made the my robot to listen my commands and execute the commands by connecting it to the computer.But as I have seen your video your commands are listened and executed without connecting to the computer. I'm very keen on knowing how did you do that ? Would you let me know how to do that, much appreciated.

KCAscienceclub10 months ago
Hi I had a couple of questions. Our club is building your design to get started and are stuck on what device to click on in the project designer, for the VRbot audio device. In Audio menu there are only three options listed. SOMO 14D, Text to speech, or Tone player.
Also to connect audio device to computer to program, can we simply make a cord that goes between the usb port and the audio device? If we use the Axon 2 i am a little lost on how to download the audio software through the project designer. KCA science club
societyofrobots (author)  KCAscienceclub10 months ago
Try this:
http://www.societyofrobots.com/sensors_voice_recognition_robot.shtml
lnani1 year ago
the same voice controlling system i want to use to my car for start/stop etc. could you help me in fixing them and tell me the parts i need and how to make it run?
hi there i was just wondering if your code would work with the arduino and if yes how would i need to connect wires to my arduino like the servos and all
Can you tell me where to get all the materials?
Amazing project!!!!
mschwarz72 years ago
If i wanna use an Arduino insted AXON II, what board should i`le have to use? Can you give me a link?
societyofrobots (author)  mschwarz72 years ago
It works with the Arduino, too.
pintu08092 years ago
i want to make a simple project that will work on the voice to start a engine of bike. can v use vrbot to it and how to configure it and use it to connect to a bike?
roboguy222 years ago
hello...ur simple robot is supercool... i am trying to make one for my project......can u solve my some doubts..
1) can i use any other microcontroller if axon is not avaliable.
2)can i use any other simple voice recoginition module...
as i am a beginner how can i program axon 11 or any other microconroller
thankyou
uzma11342 years ago
thank you for such a wonderful tutorial.
sir, i would like to know weather we can use any other microcontroller instead of axon 2 mc with vrbot.
as this microcontroller is not available in india.
or any other way to make a voice controlled robot.
thank u
This is so freakin cool. Totally gonna try and build it. Thank you for this great instructional video!
babu14233 years ago
where did you buy the VRbot Voice Recognition Module ??????
i loved the robot
societyofrobots (author)  babu14233 years ago
It's the very first result on google, silly =P
endr563 years ago
i dont get it
tinker2343 years ago
hey could you recomend a speach requatin program and a responce like hi and hello some thing like that
societyofrobots (author)  tinker2343 years ago
It's not entirely clear what you want.

Try posting your question here, there are several experts that will probably have good advice:
http://www.societyofrobots.com/robotforum

(try searching the forum first)

John (admin)
www.societyofrobots.com
ok
shadow983 years ago
I love this robot. I'll be building this soon. It'll be a nice collection to all the robots i've built. Although the microcontroller and the voice recognition module cost alot!
karan133 years ago
is it necessary to use TTL serial,cant we directly use axn 2 for it.if yes how to use it
societyofrobots (author)  karan133 years ago
You need to link to your PC to configure it. You can use the Axon II as a TTL to USB adapter if you'd like. Code for that is in the Axon II demo files folder.
swighton3 years ago
A few things about step 5/the axon:

-The arduino does NOT require 2 batteries. You can easily power an arduino and servos off one 6V or even a regulated 5V supply (I do it all the time). Why would you think/say that you need two - that's just misleading.

-You can use an arduino to drive servos and interface with a voice recognition module as you did here without any kind of shield.

-You claim that the axon is plug and play, requiring no shields or protoboard - Tell me then, how do you drive anything that draws >20mA of current such as a standard hobby motor that is a 1 amp inductive load requiring power handling components in the form of a shield or custom external circuit?

-The axon is actually ~3.25x as much as a standard arduino, perhaps you are including shield costs, but this project requires no shields if implemented on arduino.

-What are the 3x features that the axon has over arduino? Is it not an 8 bit atmel microcontroller broken out on a dev board just like the arduino? I bet you can even use the axon drag and drop programming tool with an arduino.

-The only advantage I see is that this microcontroller has is that it has built in headers to connect servos to it (it's an advantage if that's what you are looking to do).
societyofrobots (author)  swighton3 years ago
Hi kraker89, you asked some very good questions.

> The arduino does NOT require 2 batteries.
The Arduino, unless recently changed, does not use a LDO voltage regulator. The regulator simply won't turn on when using a 6V battery, unless that battery is fully charged (meaning its closer to ~6.7V). That basically means it requires a 7.2V battery to run the on-board logic. A servo will run on 7.2V, but most batteries aren't designed to handle more than 6V. Operating at higher voltages, even on a fully charged 6V battery, will greatly reduce the lifespan of your servo. I suspect you are running your Arduino on a fully charged 6V.

> You claim that the axon is plug and play, requiring no shields or protoboard
I made no claims to having an on-board motor driver. It's 'plug-n-play' in that it doesn't require a breadboard or a special shield - ie you can simply connect directly to the Axon bus and be done with it.

> The axon is actually ~3.25x as much as a standard arduino
The Arduino has a lot of hidden costs, like you said, such as the cost of a protoboard, wiring for that protoboard, the additional battery, and shields. As the voltage regulator on the Arduino is a low efficiency type, you'll also burn through your battery faster, meaning you need a bigger battery to get the same bang for the buck. It's not a hard number as it depends on what your project requires, of course.

> What are the 3x features that the axon has over arduino?
Again, it really depends on what your project needs. The Axon has 4x as many UART ports, 4x as many PWM and interrupt ports, 4x the memory, 3x the total I/O, 2x the timers, and 2x as many ADC ports. I consider being smaller a feature, as well as the power buses, but thats more qualitative. I also consider the higher efficiency LDO regulator a feature as well. You may not consider these features, but try making a biped with 16 servos and you'll see quickly the advantage the Axon has. I honestly can't see myself making a robot with less than 4 UARTs (GPS, voice recognition, bluetooth wireless, Blackfin camera, USB, Razor IMU . . . thats 6 already).

> I bet you can even use the axon drag and drop programming tool with an arduino.
Yeap, WebbotLib supports the Arduino. But you'll find limited memory and limited timers on the ATmega168 preventing you from fully taking advantage of it. The 328 on the newer Arduinos is fine, though, as it has more memory.
Dang I was totally wrong - I had no idea that the standard arduino didn't use a LDO voltage regulator (I use the pro mini). That's a pretty huge oversight on their (and my) part - I was thinking of getting one but on second thought I think not.

Your other arguments are reasonable as well. Good points. Reading my previous comment I may have been a bit over aggressive. Apologies!
societyofrobots (author)  swighton3 years ago
no probs =)
henadeera3 years ago
Its so interesting... Can I use PIC10F micro controller instead of Axon II ?
Hope pic10f is more smaller and more energy saver..Any idea?
societyofrobots (author)  henadeera3 years ago
If you mean for the VRbot, yes, you can use any microcontroller for it.
garrettg843 years ago
Awesome instructable. GO SoR!

Excelent use of video. It is much easier to follow video for something like this than pictures and text.
very nice instructable.