Spider Robot — Version 3.0
The most complex project I have done to date? Definetly this spider robot. Talking about how I got to build it, and how it works. 2019-12-14
This post is outdated
The program and STL files below have been updated on version 3.1 of this spider robot. If you want to build it yourself, use the updated parts list in the next post instead. This post was preserved nonetheless.
Demo Video
Here's a demo video that shows the movements the spider can do:
Inspiration
I got most of my inspiration from YouTube videos. Here are a few that have inspired me to create this hexapod robot:
- Smallp Tsai - a compact, micro-servo based hexapod
- Zenta - an agile, organic-looking hexapod robot
- Hari Wiguna - a simple, SG90-based spider robot
When making this hexapod robot, I had a few goals in mind which I wanted to respect: it needed to be cheap, compact and not move like a stereotyped robot. I think this robot is exactly that: its total cost is about $50
, all the electronics have been chosen for maximum space efficiency and its movements are fairly organic-looking.
How does it work?
This robot works in 4 stages.
Everything begins with the battery of the spider, which is used to give power to every component. It is a LiPo battery, which means that can deliver a lot of current without sagging too much.
These batteries provide higher specific energy than other lithium battery types and are used in applications where weight is a critical feature, like mobile devices and radio-controlled aircraft.
This is ideal, but it means that a special LiPo charger is necessary to charge up the battery. Since it packs so much power in such a small volume, it can catch on fire if it is punctured, so we need to be very careful with it.
The battery then sends power to the arduino board, in this case an arduino nano. I chose it because it has enough digital pins to interface with the servomotors, while also being compact enough to fit in the body of the spider. It acts like the brain of a real spider: it takes the input from the transmitter and tells the motors how to move in order to achieve the requested movement. It executes the program, which is a total of 886
lines of code.
The servomotors are like muscles: their job is to transform the signals received from the microcontroller into actual movements that allow the spider to move. They are cheap (about $1
per motor), but still have an okay performance. These motors aren't like normal motors, they are servomotors. This means that when the micrcontroller tells it to go to a specific angle (or position), it does so and tries to keep the same angle the whole time, until it is sent another command from the microcontroller.
And How do I Make my Own?
This is a very good question. if you want to make your own spider robot, you need to know electronics, soldering and arduino programming. Here are some links for the code and the 3D parts, which you need to 3D-print yourself:
- The Program
6x
Tibia Piece6x
Femur Piece6x
Hip Piece1x
Upper Body Piece1x
Lower Body Piece
It is still recommended to contact me if you want to build an exact replica of my robot, since no schematics or wiring diagrams are available yet.
Conclusion
This project is one of the most advanced I have ever done to date. It has thought me many essential skills in programming, 3d design and electronics. I strongly recommend you try to make such projects, because it will also teach you essential skills such as problem solving, which will be useful all the way through life.