Skip to content

A Python interface (using PyUSB) to drive up to 12 servos from a Teensyduino using the HID configuration.

Notifications You must be signed in to change notification settings

Poofjunior/RaspPi-Teensy-USB-ServoController

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 

Repository files navigation

Welcome to the USB-to-Sero-Controller Interface Project!

This program allows you to control servos from a custom USB device using the Python Programming language. In this case, the hardware interface is a Teensy 2.0 Development board. Theoretically, you can control up to 12 servos at once from a Python program.

The end goal is to provide the Raspberry Pi with high-level access (via Python) to low-level motor control via a hardware interface.

To get started, you'll need a combination of hardware and software before being able to run these examples:

Hardware:

Software:

Getting Started:

If you're completely new to servos with Arduino, you might find the link below quite handy to overcoming many typical problems: http://rcarduino.blogspot.com/2012/04/servo-problems-with-arduino-part-1.html Note, however, that this code snippet MUST be used with a Teensy, not an Arduino Uno.
To run the examples, simply install the necessary hardware and software, upload the Teensy sketch, and run the corresponding Python example.

Citations:

Riding on the shoulders of giants, this project would be impossible without the incredible starter code provided by Paul Stoffregen found in the examples tab under: File-->Examples-->Teensy-->USB_RawHID-->Basic.

Other sources can be found here:

About

A Python interface (using PyUSB) to drive up to 12 servos from a Teensyduino using the HID configuration.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages