Hey, y'all. I have the MDBT42Q breakout board and I am trying to create a simple example where a button is pressed and the stepper motor rotates for like a half revolution.
I am using the A4988 drivers and I have managed to connect and continuously rotate the stepper motor using this sample code:
I am not sure though how is it possible to count the steps per revolution and how frequency is related to rotation and time.
Thanks in advance for your help :)
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Hey, y'all. I have the MDBT42Q breakout board and I am trying to create a simple example where a button is pressed and the stepper motor rotates for like a half revolution.
I am using the A4988 drivers and I have managed to connect and continuously rotate the stepper motor using this sample code:
I am not sure though how is it possible to count the steps per revolution and how frequency is related to rotation and time.
Thanks in advance for your help :)