hannobraun / stepper

Universal Stepper Motor Interface
Other
107 stars 17 forks source link

Support for H-bridges as stepper drivers? #139

Closed pepijndevos closed 2 years ago

pepijndevos commented 2 years ago

The most low-level interface this library offers seems to be STEP and DIR pins. However, many stepper motor drivers are simple H-bridges such as the DRV8833, and do not really seem to fit this interface. I'm wondering if these kind of drivers can be supported by this library.

https://www.adafruit.com/product/3297 https://github.com/arduino-libraries/Stepper/blob/master/src/Stepper.cpp

hannobraun commented 2 years ago

This library is definitely targeted at drivers with STEP/DIR pins. The original plan was always to build a whole stack of libraries, to enable users to talk to different kinds of motors using the same high-level interfaces, but that never came to be.