I am using a A4988 stepper motor driver. I want to use the RST PIN to disable the power output to the stepper if it is not in action.
To do this, you have to pull it down. So I wanted to use a pin of my ESP8266 to do this. Unfortunately It does not work. I pull the pin 13 down but there still seems to be a very low current or voltage what prevents the A4988 board to switch everything off.
If I remove the jumper cable for a short time the board switches to off and I also can put in the jumper cable and the board stays off.
What can I do to achieve this goal?
Do I have to use some resistor somewhere?
Holding a device in reset is a common thing to do when you program a device so I don’t see why you should not do it providing that the voltage on that pin when you release it is not greater than the 3V3 supply and that the current it will draw is within the rating of your pin.
If not you will have to use a transistor (and resistor in the base) to hold the reset low.
The stepping driver will lose the step position which could be a problem especially if you are multi stepping the motor.
Loosing the position is no problem in my case. Maybe someone else have an Idea how to use RST, sleep and EN correctly :-/
If not, the transistor would be my last choice.
But that should be the correct way to disable the coil current in standstill. What did you try? And what didn't work? You must drive this pin HIGH to disable the stepper current. If its LOW (or open) the driver will work normally.
Ok guys, I get the EN pin working now. So it's fine for me. I do not know what I did wrong but now it just works.
Thank you very much for your help.
You are great. I was so happy getting so many respones to my questions. Really nice! THanks a lot!