Skip to main content

SSC32 controlling library

Project description

Is a simple interface for control RC servos using SSC32 controller.


>>> import ssc32
>>> import math
>>> ssc = ssc32.SSC32('/dev/ttyUSB0', 115200, count=32)
>>> ssc[2].position = 2000
>>> ssc[3].name = 'pan'
>>> ssc[4].name = 'tilt'
>>> pan_servo = ssc['pan']
>>> tilt_servo = ssc['tilt']
>>> pan_servo.degrees = 0
>>> tilt_servo.radians = math.pi/4
>>> ssc.commit(time=1000)
>>> ssc.is_done()
>>> ssc.is_done()
>>> ssc.description = 'My camera's pan/tilt'
>>> ssc.save_config('my_pantilt.cfg')


  • Servo script interface with YAML serialization/deserialization
  • Move to package
  • New


  • Rename Servo properties -> Servo.degrees, Servo.radian -> Servo.radians
  • Use callback for Servo
  • Description for configuration (SSC32.description) line starts with #~

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pyssc32, version 0.4.0
Filename, size File type Python version Upload date Hashes
Filename, size pyssc32-0.4.0.tar.bz2 (5.9 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page