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!

Teacher Notes

Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.

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

Instructables and RoboGames Robot Contest

Participated in the
Instructables and RoboGames Robot Contest

The Instructables Book Contest

Participated in the
The Instructables Book Contest

Be the First to Share


    • Book Character Costume Challenge

      Book Character Costume Challenge
    • Made with Math Contest

      Made with Math Contest
    • Cardboard Speed Challenge

      Cardboard Speed Challenge

    16 Discussions


    11 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!

    1 reply

    3 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!


    5 years ago on Introduction

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


    5 years ago on Introduction

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


    9 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.


    10 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

    1 reply

    10 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