Due to high demand expect some shipping delays at this time, orders may not ship for 3-4 business days.
0

Powering up again a stepper motor after releasing it
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Powering up again a stepper motor after releasing it

by GuillaumeQ on Thu Jan 13, 2022 11:46 am

Hello,

I have an Adafruit Motor Shield V2 to manage two stepper motors. I would like to run the motors for a while, then releasing them for a certain amount of time (quite a long so switching them off is required because they are both heating a lot) and finally run them again to complete the sequence (I want to do that within the same sketch also). I didn't find any "re-enable" function in the Adafruit_StepperMotor library documentation. Is it possible to power up a stepper again after releasing it with "myStepper->release();" ?

Thank you in advance,

Regards

GuillaumeQ
 
Posts: 2
Joined: Thu Jan 13, 2022 11:27 am

Re: Powering up again a stepper motor after releasing it

by adafruit_support_bill on Thu Jan 13, 2022 12:18 pm

There is no need to explicitly re-enable. Just start sending step commands again.

adafruit_support_bill
 
Posts: 82893
Joined: Sat Feb 07, 2009 10:11 am

Re: Powering up again a stepper motor after releasing it

by GuillaumeQ on Fri Jan 14, 2022 5:33 am

Thank you very much for your reply. Indeed, there is no need to re-enable the motor. In fact, I experienced a problem because I commented the sketch code line to re-run the motors (after releasing them)... Sorry to have bothered you and thanks again for your support !
Have a good day.

GuillaumeQ
 
Posts: 2
Joined: Thu Jan 13, 2022 11:27 am

Please be positive and constructive with your questions and comments.