I am using the Stepper library to control a 4-phase unipolar stepper motor with a ULN2003A driver. After I run a step() function, the I/O pins are left in the active state, i.e. 2 pins are still high. This will hold the motor position and dissipate power. Is there a way to have the I/O pins automatically all go to the inactive state (low) once the stepping is complete or do I need to manually set them low?
When using the 'standard' stepper.h library, there is no way to do that automatically. You have to do it manually, or use a stepper library that is able to do so automatically like e.g. the MobaTools library ( if you are using a board that is supported by that lib ).
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.