This hexapod robot is a hobby project that I finished a few months ago. I have always been fascinated by Matt Denton’s hexapods and wanted to build one myself.
And this is as close as I could get with my programming experience
Programming the locomotion was the most difficult part. I didn’t want to rely on the Pheonix code, so I programmed this completely from scratch.
To speed up the development I made a little simulator using Processing:
It took a while to figure this out but I am really happy with how smooth the robot walks now.
Hardware-wise Zerobug uses regular RC servos, which makes it cheap to build. The servos are controlled by a STM32F103 that sits on a custom PCB. There is a port to plug in a Raspberry Pi Zero W, which handles the inputs from an Xbox controller or from a web interface. The Raspberry Pi then sends high-level commands to the STM32 that runs the locomotion code.
Thanks! Currently the speed is limited in software, the servos can go a lot faster. I just think it looks nice that way.
Right now there are two variables for speed: The leg speed that is based on the gait sequence and the movement speed that is based on user inputs. If the movement speed is not limited the legs might not be able to catch up without colliding. That’s one of the areas where I want to improve the code.
@wingman Welcome to the RobotShop Community! The way you printed the frame and parts seems like it’s commercial. Well done! You indicated “custom PCB” - did you design and create it yourself?
You might be interested in the Lynxmotion SES V2 Hexapod project too:
Although Mat Denton was unavailable to participate in this latest Lynxmotion project, we do have all the regular hexapod gurus: KurtE, Xan, Zenta and more. The current status of the project is that there has recently been an LSS firmware update and some fixes are being worked on.
Thank you! I designed the PCB myself. It contains mostly just the STM32, a PWM driver and a connector for the Raspberry Pi.
I’ve already had a quick look at the Lynxmotion Hexapod thread, it definitely a good place to look for inspiration. And nice to see that firmware is still being worked on.