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.8.tar.gz (15.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

spin_stepper-0.0.8-py3-none-any.whl (11.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: spin_stepper-0.0.8.tar.gz
  • Upload date:
  • Size: 15.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.2

File hashes

Hashes for spin_stepper-0.0.8.tar.gz
Algorithm Hash digest
SHA256 87018d6ca57a70e21f5681537ee58111c7541cc7e7310f0d50d06a085bb03c50
MD5 d7a285d7c353359a17c285317a91263b
BLAKE2b-256 f4a70e91c4c53f46597035235c24d77be1c80ced56cb323d4ec3243b630ced6a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: spin_stepper-0.0.8-py3-none-any.whl
  • Upload date:
  • Size: 11.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.2

File hashes

Hashes for spin_stepper-0.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 565c2996e160f0effeb92eb1b358a9f31d3fcf956316c5488349a305a8b7d2ae
MD5 5f90db103913c274f44f24181b659b13
BLAKE2b-256 07c84e0b9bf7f12c88b5ff827d411e1ede2bb92f1923a9718ed3b93366b75ee5

See more details on using hashes here.

Supported by

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