Blog Home

Samsa II, The Hexapod

Davide GombaMarch 29th, 2011

[pabloxid] shared an Hexapod project on the forum based on an Arduino MEGA 1280 and 18 Dynamixel AX-12 motors:

SAMSA is based on the Wiring board, with an ATmega128 microcontroller, and SAMSA II on the Arduino Mega, with an ATmega1280. Both are pretty similar, tough the ATmega1280 has 8 KB SRAM, twice the ATmega128. For SAMSA II the Arduino IDE was not used. The software was written directly in C++, using some libraries from both Arduino and Wiring.

SAMSA II has also two additional microcontrollers. One is an old Arduino Mini (ATmega168) located in the head, tasked with handling the sensors. The other is an ATmega8 and is integrated in the display. The firmware in the display was replaced with another one, freeing the main microcontroller from handling the display pixel by pixel, storing the frame buffer, etc.

The head’s microcontroller is responsible for sampling, filtering and processing sensor’s data. The data from the Sharp distance sensor and the lateral IR sensors are combined in a single “super smart distance sensor”. This microcontroller also decodes the data coming from the 38 KHz IR receiver, used for the Remote Control.

These two additional microcontrollers further reduce the load on the main microcontroller, allowing for more sophisticated behaviours.

A lot of work is still to be done. It can be sorted in three categories. First, keep improving the current walking. Refine the inverse kinematics, tweak the gaits, etc. The second direction is to add extra functionality: speech recognition, use the proximity sensor to provide some fun behaviours, add new sensors, things like that. The third is to create a new walking system, based on sensors in the legs and accelerometers.

Pablo Gindel & Jorge Visca, March 22, 2011

Some early voice recognition experiments (based on Wiring) were already done. Amazing work guys!

via [pabloGindel] [Arduino Forum]

7 Responses to “Samsa II, The Hexapod”

  1. ahamedBacar Says:

    Do we can have the code source of your project ?
    Cordially Bacar Ahamed.

  2. Says:

    Yes, you have to follow the links and lood for the code on the Samsa II site.

    thanks for commenting,

  3. pabloxid Says:

    Hi David, I’m pabloxid.

    Thank you for publishing our hexapod.


  4. Says:

    Hi Pabloxid,

    Congratulations for the challenging project.


  5. jayakrishna Says:

    i am doing a project something like controlling a robot using voice commands like front,back,left,right
    how can this be done using arduino uno which contains atmega328
    plz can u say me how to achieve my goal..

  6. dcuartielles Says:

    You need to use an external device to do the voice recognition operations and send commands to the Arduino board that will e.g. control your motor driver or similar. For further questions, please address the Arduino Forum, there is plenty of people that will be happy to help you with their experience.

  7. Stijn Says:


    I was wondering if it is possible to make this (with the used code) with normal (budget $15/pcs) servo’s instead of these special servo’s.

Leave a Reply

You must be logged in with your Arduino account to post a comment.