Skip to content
pootle edited this page Aug 24, 2020 · 7 revisions

pisteppers A python app to efficiently drive multiple stepper motors

The package provides an app to drive multiple stepper motors from a Raspberry Pi.

It can drive individual bipolar stepper motors via chips such as A4988 or DRV8825, or unipolar motors via a simple driver chip such as ULN2003.

Two modes of operation are provided: goto and run continuously. Both can dynamically adapt speed, direction and target.

Step timings are generated by separate modules, and 2 are provided, a simple constant speed step and a ramping speed step.

Low level gpio driving is either direct from software or via prepared memory blocks using DMA. The latter technique allows very precise and jitter free timing of the steppers.

The API is via class methods, and a basic web server can be used to provide a gui on any locally connected device (phone, tablet or PC).