Python interface for stepper motor drivers from the STMicroelectronics STSPIN family (L6470).
Project description
A Python interface for the STSPIN stepper motor drivers from STMicroelectronics (ST).
The STSPIN family of stepper motor drives has a lot of really nice built-in functions that You normally must implement in Python. Position counter Advanced commands such as go_to, go_home
This library has been developed and tested using the L6470HTR circuit connected via SPI to a Raspberry Pi 4 with Raspbian Bookworm. This will probably work with most circuits in this family, but scaling of some values might need adjustment.
Documentation on the L6470 circuit can be downloaded here: https://www.st.com/en/motor-drivers/l6470.html SparkFun has developed a really nice board ned AutoDriver for playing with this circuit, but this product is now retired. https://github.com/sparkfun/L6470-AutoDriver ST has an evaluation board called EVAL6470H https://www.st.com/en/evaluation-tools/eval6470h.html
This is a fork from the st-spin package https://github.com/m-laniakea/st_spin by eir. But it has been re-worked from the ground up to be more pythonic and to handle most of the commands.
Our purpose with this library was to solve our internal needs. We use this for internally developed lab and production equipment. We have no affiliation with STMicroelectronics.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file spin_stepper-0.0.1.tar.gz
.
File metadata
- Download URL: spin_stepper-0.0.1.tar.gz
- Upload date:
- Size: 13.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a39cd00e11a87d57ac713e3eb123b8d0c0600cd4668f242eb816cd9e436f8323 |
|
MD5 | 9664e75ba76b8b5ddff13c0b387a1b9d |
|
BLAKE2b-256 | a46b5d6810301ccb5e699101929ccf5f0b175668eca74fd3b53ef1e7bbe87b4a |
File details
Details for the file spin_stepper-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: spin_stepper-0.0.1-py3-none-any.whl
- Upload date:
- Size: 10.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | af2554b72647a3ecdd86c568ee924846de3c6947c3c6032491d2b631408fd244 |
|
MD5 | 9056dca7d40559e86114d649c86bc49e |
|
BLAKE2b-256 | e39a9735161784f10260daa9038c6cf47a262b8938e16c0ec4d48a33c1e096d0 |