Posts

Showing posts from September, 2016

CBiS Education Cardboard2Code Module 1

Image
CBiS Education Cardboard2Code Module 1 : Cardboard robot arm. To find out more go to:  http://www.cbis.education/cardboard2code_module1 'via Blog this' All opinions in this blog are the Author's and should not in any way be seen as reflecting the views of any organisation the Author has any association with. Twitter @scottturneruon

USB Robot arm control with Python and Raspberry Pi

Image
I was asked recently if the USB robot arm could be programmed - I knew the answer was yes. The Arm came from the CBiS Education Robot Arm kit ( http://www.cbis.education/Product-Details.aspx?prodid=2  ) which comes with a Raspberry Pi and SD Card with software to control the Arm. So the question has become -  How do I program it in Python from scratch ? Well, the honest answer is I don't I use what others have done before. A good  starting point is this site  http://www.wikihow.com/Use-a-USB-Robotic-Arm-with-a-Raspberry-Pi-(Maplin) , it gives most (pretty much all) of the answer, including where to get the pyusb library need; setting it up (be careful don't use the  zip file but the tar.gz version  - you might need to scroll down the screen to do this) and an example. A second source that was very useful  was   http://notbrainsurgery.livejournal.com/38622.html?view=93150#t93150  which contains an explanation of the 'triples' (for example  [32,0,0] ) used to select w