serial port servo control

Si Ballenger shb*NOSPAM* at
Fri Jun 23 04:17:07 CEST 2006

On 22 Jun 2006 08:18:08 -0700, boyle5 at wrote:

>So I ordered a mini SSC II (the servo controller), in order to
>control some servos from the computer.  I was hoping to use python to
>do the control but have two questions...
>1) How should I write to the serial port with python? I found the
>module "pyserial":
>on the python cheeseshop, and it looks solid but I thought you might
>have a better suggestion.
>2) To control the servos I have to send the SSC II a string of 3
>numbers, 3 bytes long (so 3 numbers in the range 0 - 255, each as a
>single byte, one after another).  In C I'd do this by sending 3
>char's, as they're only 1 byte, but i'm not exactly sure how to do it
>in Python.

Maybe a little off topic, but I've got a page below with some mini ssc
control info.

More information about the Python-list mailing list