Skip to main content

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


Download files

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

Source Distribution

spin_stepper-0.0.2.tar.gz (13.5 kB view details)

Uploaded Source

Built Distribution

spin_stepper-0.0.2-py3-none-any.whl (10.9 kB view details)

Uploaded Python 3

File details

Details for the file spin_stepper-0.0.2.tar.gz.

File metadata

  • Download URL: spin_stepper-0.0.2.tar.gz
  • Upload date:
  • Size: 13.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.9

File hashes

Hashes for spin_stepper-0.0.2.tar.gz
Algorithm Hash digest
SHA256 89a292e7df1ddb1a44a3b3a07a7f43e6ab583ae22ebba18e6aa0a96816e9e485
MD5 752b41dfaf9613db0cb3b3b822d0c231
BLAKE2b-256 0aa44b795039c4fab3b465514e92a7e3739669b414f8b7f4017e22508746f1d1

See more details on using hashes here.

File details

Details for the file spin_stepper-0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for spin_stepper-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b657a5eb7ec434cc60e47b90d33d7720c27e0f58dec949e7312df39bab02c6db
MD5 0901eb7c742612db57fe740a7ac81e71
BLAKE2b-256 a49c8099075490ff612ea31e424883bcaf8cd19b7f85f8ed73fd2b1a6c96b8e8

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