Skip to content

robgithub/robo-arm-pi

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

robo-arm-pi

USB Robotic Arm Interface for Raspberry Pi (in C++)

Created 17th March 2013 by Pete Dring for use primarily in schools in robotics clubs.

This project is designed to allow teachers and students to control a robotic arm using a raspberry pi.

For help and support please go to https://github.com/pddring/robo-arm-pi/wiki

The Robotic Arm that this interface works with is: http://www.maplin.co.uk/robotic-arm-kit-with-usb-pc-interface-266257. (cost £44.99 at time of writing)

Also available from http://www.owirobot.com/robotic-arm-edge-1/ with a manual controlled and the USB interface sold separately.

This project uses the research posted on http://notbrainsurgery.livejournal.com/38622.html to create a control interface in C++ that can be used in other programs to control the robot arm with a raspberry pi.

This project includes a library in C++ and a test program that allows the robot arm to be controlled using the keyboard.

To get the code type: git clone git://github.com/pddring/robo-arm-pi.git

Before you can compile the source, you will need to install certain dependencies: sudo apt-get install libusb-dev ncurses-dev build-essential apt-get lets you install extra programs or libraries and the sudo command is needed to run the apt-get command with elevated security privileges.

The libusb library is essential for controlling the robot arm over the USB interface. The ncurses-dev is used for the sample progra (it lets you detect individual key presses) and the build-essentials gives you the tools to compile the program if you've not already got them. If you are in a school with a network filter, you may need to set up apt-get to work behind your school proxy. At my school, this can be done by using ntlmaps (http://ntlmaps.sourceforge.net/) and then changing the apt settings (http://www.unixmen.com/apt-get-behind-a-proxy/)

To compile the source code type: make

To run the sample program type: ./robot

The default user on a raspberry pi does not have user access to send data down a USB port so you may have to type: sudo ./robot

You should then be able to control the robot arm using the keyboard controls on screen. The sample program is designed so that you left hand is oved the WSX/CDE/VFR keys and your right hand is over the IOP/KL; keys and your thumbs are over the space

About

USB Robotic Arm Interface for Raspberry Pi (in C++)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • C++ 77.9%
  • Objective-C 22.1%