Skip to main content

A python driver library for Pololu's Simple Motor Controllers

Project description

docs/pics/smc.jpg

Pololu Simple Motor Controller

https://travis-ci.org/MomsFriendlyRobotCompany/smc.svg?branch=master https://img.shields.io/pypi/v/smc.svg https://img.shields.io/pypi/l/smc.svg https://img.shields.io/pypi/pyversions/smc.svg

This is a python driver library for the Pololu series of Simple Motor Controllers.

still a work in progress

Install

pip install smc

Usage

from smc import SMC
import time

mc = SMC('/dev/tty', 115200)
mc.init()
mc.speed(1000)
time.sleep(5)
mc.stop()

Board

docs/pics/smc-back.jpg
docs/pics/smc-io.jpg
docs/pics/smc-wiring.jpg

MIT License

Copyright (c) 2017 Kevin J. Walchko

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

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

smc-0.0.1.tar.gz (3.0 kB view details)

Uploaded Source

Built Distributions

smc-0.0.1-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

smc-0.0.1-py2-none-any.whl (5.3 kB view details)

Uploaded Python 2

File details

Details for the file smc-0.0.1.tar.gz.

File metadata

  • Download URL: smc-0.0.1.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for smc-0.0.1.tar.gz
Algorithm Hash digest
SHA256 b6814fae339641c60ebcff823edd2d0ed28ad3c72504a3ffd3f434efbd70095f
MD5 4088eed0c11c17989608be71f3aa2f24
BLAKE2b-256 89b579092e700066ac5f81143004dfc5e2d202eda8685052ab93961fd8249d5f

See more details on using hashes here.

File details

Details for the file smc-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for smc-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c2bc7f9a3beb2bb7c9992cb7c839c20049ba4cbc55deb36a698656fdb8a75b4f
MD5 441c3eed01afcb757ace37bea285ce2c
BLAKE2b-256 3297dbf456ef0a4c1dd804caadd8a8cd16a0ece35f34e45e47047cc69d401d2a

See more details on using hashes here.

File details

Details for the file smc-0.0.1-py2-none-any.whl.

File metadata

File hashes

Hashes for smc-0.0.1-py2-none-any.whl
Algorithm Hash digest
SHA256 29996262a5803e5a547523d9fa289cd74f33f7cd59b00eaed656eb1f57d6b1c1
MD5 c58c19d603801ba4e2529a109a7ad2f2
BLAKE2b-256 e97b59de956f3c86966ee8d96bd4d97c4ea0d71f1a33567ce7e55880af82a5f9

See more details on using hashes here.

Supported by

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