Introduction: How to Build a Lego Mindstorms NXT Hexapod Robot?
This time (in my very first instructable ever) I'm going to show you how to build a hexapod robot using Lego Mindstorms NXT.
Enjoy and leave a COMMENT!
Step 1: What Do You Need
You need:
- Lego Mindstorms NXT kit
- some extra Lego gears
- some time and will
- a computer
Step 2: Building the Legs
In our case, leg mechanism is very simple. There are two motors powering the legs - one for each side of the robot. The motor drives the middle leg, which is than connected with the other two. When one leg (in the middle) is on the ground, the other two are up in the air.
To steer, we stop the motor from the one side, so that only one side of the robot is walking, causing the robot to turn. The robot walks in a tripod gait. Each gear lifts the legs up and down and at the same time forwards and backwards, causing the robot to walk.
There are no differences between the two leg mechanisms (apart that one is mirrored on the other).
Step 3: Creating the Body
We start by connecting the two leg mechanisms together as firmly as possible. You want it to be as robust as possible. Than you can attach the NXT brick and all the additional sensor and motors. I fitted another motor on the front (with a touch and ultra sonic sensor) to lift small objects and the sound and light sensors on the rear of the robot.
When everything is completed, you can add some decorations... bodywork?
Step 4: Programming
I used a default NXT programming language NXT-G. It's pretty simple and you don't need to write all those hundreds of code lines. Off course there are also some other programming languages you can use...
(Note: the picture is NOT from the program of my robot!)
Step 5: Other Good Stuff...
You could say, that this robot is recyclable, 'cuz you can take it apart and build a new one when you get bored with the current one. And they're lots of fun...

Participated in the
Instructables and RoboGames Robot Contest

Participated in the
The Instructables Book Contest
16 Comments
15 years ago
This is a great Instructable, but you need to add a main image of the final project to the intro step. Please do that and leave me a message when you have so that we can publish your work. Thanks!
Reply 15 years ago
done!
7 years ago
Hi! My name is Kat and i've been trying to make this robot but im having trouble getting the legs to work... can you send me some step by step instructions on the legs? maybe some pictures? Thanks!
8 years ago on Introduction
Great work!and really good design!
13 years ago on Introduction
Good design-I like how you used the gears
Personally I like this leg control design better---
1.bp.blogspot.com/_gUN424lfLOQ/SSLW7zqVfCI/AAAAAAAAAJ0/Apc6U1qcPbc/s400/HexBug+Mod+04.jpg
Reply 8 years ago on Introduction
My latest instructable motorizes a lego set with that design.
9 years ago on Introduction
I love this design, and I look forward to showing it to the FLL students I mentor.
9 years ago on Introduction
This is a cool project that I look forward to showing to the FLL students I mentor.
10 years ago on Introduction
nice!
13 years ago on Introduction
those are so fun, but i made a octopod and it was much easier, because it has 4 feet on the ground at all times.
13 years ago on Introduction
please send me complete code for this robot
14 years ago on Step 5
hi I just wanted to know what is its cost and do we get it in India because i live in India
Reply 14 years ago on Step 5
you can get it ordered on lego.com
14 years ago on Introduction
dude not trying to be a butt whole but doesn't octo mean 8 and pod mean foot my point is I only see six legs so isn't it a hexipod
14 years ago on Introduction
Thats so fun!
15 years ago on Introduction
Not enough instructions, but much better than many others.