MicroPython Stepper Motor Driver for STM32 #18253
bikeNomad
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I just dug up some old code and published it to Github. It's STM32 specific though, as it uses the hardware
pyb.Timer
to generate interrupts. This code allows for smooth acceleration and deceleration, and drives a single pulse and direction output per motor. I've not tested it recently, so beware.Beta Was this translation helpful? Give feedback.
All reactions