Skip to main content

This package provides Python control of stepper motors. See Jones’ Control of Stepping Motors for an excellent stepper overview. Supports full and half stepping of motors with one or two power lines and 4 drains, or one or two drains and 4 power lines. Basically any motor with 4 variable lines, and it would be easy to extend it to other cases.

Installation

Packages

Gentoo

I’ve packaged stepper for Gentoo. You need layman and my wtk overlay. Install with:

# emerge -av app-portage/layman
# layman --add wtk
# emerge -av sci-libs/stepper

Dependencies

Stepper has no explicit dependencies outside of the core Python modules, but for real-world results you will need a way to drive the stepper’s digital control lines. A general way to do this is with the pycomedi wrapper around the Comedilib library, as shown in the Stepper doctest.

You will also need nose for testing.

Package

Debian

Gentoo

Nose

python-nose

dev-python/nose

Pycomedi

dev-python/pycomedi

Installing by hand

Stepper is available as a Git repository:

$ git clone git://tremily.us/stepper.git

See the homepage for details. To install the checkout, run the standard:

$ python setup.py install

Usage

See the module docstrings for simple examples.

Testing

Run internal unit tests with:

$ nosetests --with-doctest --doctest-tests stepper.py

Licence

This project is distributed under the GNU General Public License Version 3 or greater.

Author

W. Trevor King wking@tremily.us Copyright 2008-2012

Release files for stepper 0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for stepper 0.4
File Size Uploaded
stepper-0.4.tar.gz 16.3 kB Details

Release files / stepper-0.4.tar.gz

Download URL stepper-0.4.tar.gz
Size 16.3 kB
Tags Source
SHA-256 checksum
How to use checksums
8a59e8050bbdc38e757f7a58d22026c53431e6bbea3672f4a686e0a19b4aef12
BLAKE2b-256 checksum
How to use checksums
3bd731b4e95b9ffc9346248ef13b562d912d90849f8a201f03bb137f815717f6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.4 This release

1 release file

0.3

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page