Powering up again a stepper motor after releasing it

Adafruit Ethernet, Motor, Proto, Wave, Datalogger, GPS Shields - etc!

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
GuillaumeQ
 
Posts: 2
Joined: Thu Jan 13, 2022 11:27 am

Powering up again a stepper motor after releasing it

Post by GuillaumeQ »

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

User avatar
adafruit_support_bill
 
Posts: 88096
Joined: Sat Feb 07, 2009 10:11 am

Re: Powering up again a stepper motor after releasing it

Post by adafruit_support_bill »

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

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

Re: Powering up again a stepper motor after releasing it

Post by GuillaumeQ »

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.

Locked
Please be positive and constructive with your questions and comments.

Return to “Arduino Shields from Adafruit”