Scorbot Robotics Project

Bringing an unused robotic arm to life with gamepad control

2021RoboticsEmbedded Control

Years of seeing this non-functioning robotic arm in my high school's workshop got me wondering - could I make it work? Or would it sit there gathering dust?
It had no interface or manual, only a simple D-sub connector. But wouldn't it be cool to control it with a gamepad?

When COVID forced us to stay home, I took the opportunity and brought the robotic arm to my home garage, in the hope of bringing it back to life.

Orange Scorbot robotic arm with motors, belts, and a gripper, mounted on a black base

First, I needed to find out which pins controlled what. I managed to find the original product's datasheet online, as well as a blog post that really helped me.

Then I only needed a power supply, motor drivers and an Arduino microcontroller. Lucky me, I knew where to find them!

Arduino Mega wired to three motor drivers and a breadboard on a wooden boardWiring the microcontroller with the motor drivers

I built a small Motor class around each joint’s encoder, and on top of it I added a simple position controller that slows the joint as it nears its target.
View code on GitHub

And finally, connecting a gamepad and taking control of the arm.

Testing the controller
Automatic 90-degree turn