Boredom Killer - Arduino Robot Arm Project
Posted: Thu Apr 06, 2017 8:28 pm
So,
I got bored and wanted to find something interesting to do with my spare arduino.. after some research, I found that you can buy a usb host shield for the arduino, and plug in a microsoft xbox controller usb receiver into it, then code it up to control anything... ideas galore arrived.. including my mate begging me to make his ride on mower radio controlled
so I started looking into how to make an easy robot arm. after a while I stumbled across an R/C servo driven robot arm kit! cheap enough that I figured bugger making one... ill just build the kit! Link
so while it was in the post, Holden202 gave me some spare servos to play with
and I began coding up the controls. I took the xbox controller library, and the r/c servo library and basically loaded them both into my project and started mapping controls to servo position. its tricker than you think, because an r/c servo wants to be given an absolute position, so if you map it directly it acts like a steering servo, let go of stick and it drives back to the center position. NOT what we want for a robot arm, so I coded up a few loops to slowly tick the servo position value back and forward, to make the controls more like an excavator. it even has speed, the further you push the stick, the shorter the loop and the quicker the servo ticks forward.
anyways, here is the result after I built the robot arm and hooked it all up! I needed some 5v power for the high torque servos, so I ran some speaker wire out of a hard drive connector 5v line in my pc lol...
The kids love it, a big toy.
[youtube]https://www.youtube.com/watch?v=sjsuNJmUKfo[/youtube]
I got bored and wanted to find something interesting to do with my spare arduino.. after some research, I found that you can buy a usb host shield for the arduino, and plug in a microsoft xbox controller usb receiver into it, then code it up to control anything... ideas galore arrived.. including my mate begging me to make his ride on mower radio controlled

so I started looking into how to make an easy robot arm. after a while I stumbled across an R/C servo driven robot arm kit! cheap enough that I figured bugger making one... ill just build the kit! Link
so while it was in the post, Holden202 gave me some spare servos to play with

anyways, here is the result after I built the robot arm and hooked it all up! I needed some 5v power for the high torque servos, so I ran some speaker wire out of a hard drive connector 5v line in my pc lol...
The kids love it, a big toy.
[youtube]https://www.youtube.com/watch?v=sjsuNJmUKfo[/youtube]