Arduino Uno robotic arm using joystick input Had some spare servos and salvaged a broken controller for joysticks, decided to make a robotic arm. Had to put some spare metal to the base for extra heft so it won't tip over so easily. Going to replace the sg90 servos with metal gearbox ones soon, big ones already are. This is also the first project i have coded completly by myself. Joysticks cahnge the servo position values so they hold position and won't come back when you let go. The reset button doesn't need a pullup resistor on it's lines (configured to use the Arduino's built in resistors). All other switches/buttons will need a 10k resistor on their gnd/input line). Serial monitor also displays all the button and servo states in a table.
Download from releases Version 1 or from tag v1.
Removed the custom joystick, moved servo connections down to pins 2-7 and added a USB HID hat for using XBOX controller input via usb wire. For a usb hat I used this one but any should work aslong as they are supported by the USB Host Shield Library 2.0 and do not require custom drivers. The hat makes the arduino a bit higher and for connecting the usb you would need standoffs between the base of the arm and the top where servos connect.
Required libraries:
Control scheme:
Button | Action |
---|---|
Ⓐ | Gripper open/close |
Ⓡ | Rotate left-right and up-down |
Ⓛ | Rotate Gripper or extend up-down |
Ⓑ+Ⓛ | Gripper up/down |
Download it from releases Version 2 or from tag v2.
Model files: CERN Open Hardware Licence Version 2 - Strongly Reciprocal
Code files: GNU General Public License v3 (GPL-3)