Introduction: How to Build a Lego Mindstorms NXT Hexapod Robot?

Picture of 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

Picture of 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

Picture of 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

Picture of 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

Picture of 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...

Picture of 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...


admin (author)2008-06-09

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!

roksraka (author)admin2008-06-10


Kitten97 (author)2016-04-05

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!

Hyperlinks1 (author)2015-08-26

Great work!and really good design!

pagosapig (author)2010-04-10

Good design-I like how you used the gears
Personally I like this leg control design better---

Hyperlinks1 (author)pagosapig2015-08-26

My latest instructable motorizes a lego set with that design.

Ardumedes (author)2014-03-20

I love this design, and I look forward to showing it to the FLL students I mentor.

Ardumedes (author)2014-03-20

This is a cool project that I look forward to showing to the FLL students I mentor.

www139 (author)2013-08-19


ski4jesus (author)2010-06-25

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.

wasimnisar (author)2010-04-26

please send me complete code for this robot

suraj1 (author)2009-05-25

hi I just wanted to know what is its cost and do we get it in India because i live in India

toxicwolf (author)suraj12009-09-30

you can get it ordered on

toxicwolf (author)2009-09-30

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

Taotaoba (author)2009-02-14

Thats so fun!

Itsgoofytime (author)2008-06-11

Not enough instructions, but much better than many others.

About This Instructable




More by roksraka:How to build a simple robotic arm from Lego Mindstorms NXT?Lego Mindstorms NXT Octopod videoHow to build a Lego Mindstorms NXT OCTOPOD robot?
Add instructable to: