Skip to main content

Python library for interfacing with the Curverunner motor controller.

Project description

Curverunner Python

Curverunner Board


Python library to interface with the Curverunner motor controller

Features

  • Control up to 3 servos, 2 DC motors, and 3 auxiliary IOs
  • Supports I2C and USB serial communication
  • Programmable device ID for multiple devices on the same bus
  • Closed loop control for DC motors with encoders

Quick Start

  1. Install the library via pip:
pip install curverunner
  1. Connect to Curverunner device via USB serial for initial setup
    • After setup, I2C is recommended for Raspberry Pi or similar devices
  2. Use Python API to communicate with the device
from curverunner import Curverunner, CurverunnerCommSerial

comm = CurverunnerCommSerial()  # Connect via USB serial
cr = Curverunner(comm)          # Create Curverunner instance
cr.servo1.write_degrees(45)     # Set servo 1 to 45 degrees

For further examples, see the examples directory.

Documentation

Project details


Download files

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

Source Distribution

curverunner-0.2.0.tar.gz (18.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

curverunner-0.2.0-py3-none-any.whl (17.4 kB view details)

Uploaded Python 3

File details

Details for the file curverunner-0.2.0.tar.gz.

File metadata

  • Download URL: curverunner-0.2.0.tar.gz
  • Upload date:
  • Size: 18.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for curverunner-0.2.0.tar.gz
Algorithm Hash digest
SHA256 c4db600d05a21bcc530c6bf047d966788e529bf39915d90994c393975766125d
MD5 9d28435da117d2e97b74599ed8de7111
BLAKE2b-256 14f0f33c7db8a85a90a8e167b838303e82ca6470a769d3b2059e5eb9495473cc

See more details on using hashes here.

Provenance

The following attestation bundles were made for curverunner-0.2.0.tar.gz:

Publisher: python-publish.yml on connor-belli/curverunner-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file curverunner-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: curverunner-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 17.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for curverunner-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c897890cfbf6c6adce6e306954aad1a110eaf8e7fa6f79a36187e9a764e77890
MD5 105484cb8d116cf7f969b6f94b58be7d
BLAKE2b-256 4ad7891039a324119385a9501b3e8005f23ae6c1ec71b75dfcb880aca7bd5600

See more details on using hashes here.

Provenance

The following attestation bundles were made for curverunner-0.2.0-py3-none-any.whl:

Publisher: python-publish.yml on connor-belli/curverunner-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page