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.
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
Robot arm lamp
This won’t be jumping on any animation studio logos
Read more →
Sage Cadence interview
An electrical engineering student trying to provide the educational content she would have wanted
Read more →
Retro gaming in Raspberry Pi Official Magazine 169
Retro gaming on Raspberry Pi: a chance to relive the games of your youth. Or if you’re too young to remember the Nintendo Entertainment System, Sega Mega Drive and Amiga, relive the games of someone else’s youth instead. Maybe games aren’t your thing; maybe you’d rather settle down and write for hours, coming up for […]
Read more →