I’m writing a code, for a focuser, that is controlled with my UNO through serial port. I've managed to write and setup everything, but I have a problem. The motor makes one revolution and then stops, everything is fine, but if I need to stop the motor somewhere in betwen, the motor doesn’t stop immediately, it takes about 1 second to stop. Is it possible to hack the code, so I have just a soft start?
I've tried to turn off the stepping pulse with an optocoupler, it works, but then, the motor doesn’t make just one revolution... If you hit stop, the motor stops, and takes the stopping place for the step 0.
Thank you for your suggestions