2 unstable releases

0.6.0 Aug 5, 2022
0.5.0 Mar 10, 2021
0.1.0 May 15, 2016

#487 in Hardware support

50 downloads per month
Used in 3 crates

0BSD license

105KB
2K SLoC

Stepper - Universal Stepper Motor Interface

crates.io Documentation CI Build

About

Stepper aims to provide an interface that abstracts over stepper motor drivers and controllers, exposing high-level hardware features directly where available, or providing software fallbacks where hardware support is lacking.

Right now, Stepper supports the following drivers:

Support for more stepper drivers and controllers will be added in the future. Please consider helping out with this effort, if you need support for a driver or controller that is currently missing.

Please refer to the API Reference or one of the following guides to learn more:

Status

Stepper is under active development. Its API is going to change, as more features are added and existing ones are improved. Support for drivers is very limited right now, and support for controllers is non-existent.

The library is usable, but far from mature. There are some known limitations that are documented on the issue tracker. If you find any additional problems, please open an issue on the GitHub repository.

Stepper is maintained by:

Usage

Stepper is a library written in Rust and designed for use in Rust projects. It will run on any platform supported by Rust, including microcontrollers.

Add Stepper to your Cargo.toml like this:

[dependencies.stepper]
version = "0.5" # make sure this is the latest version

If you just need to use a specific stepper driver, you can also depend on the crate for that specific driver. For example:

[dependencies.drv8825]
version = "0.5" # make sure this is the latest version

Please refer to the API Reference for more information.

License

This project is open source software, licensed under the terms of the Zero Clause BSD License (0BSD, for short). This basically means you can do anything with the software, without any restrictions, but you can't hold the authors liable for problems.

See LICENSE.md for full details.

Dependencies

~3MB
~52K SLoC