Menu

Home

Niels Bosboom

Welcome!

Overview

This Python module uses PyUSB to control the KSR10 Robot Arm by Velleman.
The module gives you the ability to create an object of the robot arm. The object has several methods and control options.

How to use

Simply download the package and place the scripts in the directory of your choice. Import the ksr10.py file with

import ksr10

then create a new object, like

ksr = ksr10.ksr10.ksr10_class()

Then the following methods apply:
ksr.stop() will stop all movement
ksr.lights() will turn on or turn off the lights
ksr.move(part,direction) will move "part" in certain "direction", like ksr.move("shoulder","down") will move the shoulder down. Please note that the ksr10 will not stop moving unless you command it do so with ksr.stop().


[Example 1] - simple

[Example 2] - more complex, uses Windows speech recognition to control the robot arm with your voice.

Project Admins:


Related

Wiki: Example 1
Wiki: Example 2