Use a robot to build a robot
By Andrew Gregory. Posted
Imagine you’re an engineering student, using ROS (the Robot Operating System) to learn about robotics. At some point you’re going to want to break free of the screen and the keyboard and start applying the knowledge you’ve learned to real hardware. That’s what James Gullberg has done with this glorious, (mostly) 3D printed robot with six degrees of freedom.
The joints and the gears are all 3D printed and are connected by carbon-fibre tubes. This enables James to quickly iterate on the design of each joint without having to reprint the whole arm each time he makes a change. The modular construction and the fact that it’s 3D printed offer the opportunity for lots of experimentation: the shoulder and elbow joints use split-ring planetary gearboxes, while the wrist joint uses an inverted belt differential. To sense the position of the joints, there are embedded magnets monitored by a magnetic encoder.
Make beautiful beats with the complete Raspberry Pi music production toolkit.
In this robot build, James has used a Raspberry Pi as a CAN bus. The ‘CAN’ stands for ‘controller area network’. Rather than having all of the discrete devices (such as motors, and sensors on each individual joint) talk to each other directly, they instead talk to one separate device. It’s a way of making intrasystem communication more efficient, reduces wiring, and gives a degree of central control over which messages are prioritised. For example, in a car, the messages coming out of the engine are of a higher priority than the messages coming out of an electric window. With this in mind, it should be no surprise that the CAN bus protocol was first used in the automotive industry, for the Mercedes W140 in 1991.

As well as the 3D printed body and gears and carbon-fibre tubes, a lot of the electronics were “salvaged from an old 3D printer” that was about to be thrown out. This brought the cost of the bill down to under $300.
Features Editor Andrew trawls the internet for Cool Stuff while keeping the magazine running smoothly.
Subscribe to Raspberry Pi Official Magazine
Save up to 37% off the cover price and get a FREE Raspberry Pi Pico 2 W with a subscription to Raspberry Pi Official Magazine.
More articles
Make Music With Raspberry Pi in Official Raspberry Pi Magazine issue 166
Music production is an esoteric world of chin stroking and arguing over what kind of valve makes the best sound in a guitar amplifier – at least, it can be. Load up on software, bring your friends, and record your latest masterpiece on Raspberry Pi. We bring news from the world of 3D printing, where […]
Read more →
Win one of ten Sixfab AI HAT+
The new add-on could be yours
Read more →
ISS Tracker
Space age is no longer a synonym for futuristic; space age means things that originated in the last millennium.
Read more →