I have a problem with the stepper motor, it start jerking when I turn ON and OFF my water pump through single relay using arduino nano. However the jerking not happen when i run the stepper without turn ON the pump.
It look like problem with the STEP of the driver A4982 or maybe back current but I not sure. Hopefully someone can help me.
Attached is my circuit diagram.
Update: here i put the video of the problemhttps://www.youtube.com/watch?v=RAStgj4Qll4
Robin2:
What happens if you leave the relay in place, and operating, but disconnect the pump from the relay?
...R
PS ... than you for posting a readable schematic.
When i disconnect the pump from relay, the stepper motor move great!, no jerking happen.
In this project i put a certain distance for the stepper movement, but when jerking happen everything is disaster..
What are the wire sizes you use to connect stuff to your 12 volt PSU? Perhaps too small. Try replacing the 12 volt PSU with an automotive 12 volt storage battery. Perhaps the PSU is current limiting.
Paul_KD7HB:
What are the wire sizes you use to connect stuff to your 12 volt PSU? Perhaps too small. Try replacing the 12 volt PSU with an automotive 12 volt storage battery. Perhaps the PSU is current limiting.
Paul
Hi, I used 22AWG size, I have no battery maybe will try find later.
I thought from what you said in Reply #8 that the motor was just making a single 1/4 step movement when the pump starts but the video shows it making multiple small movements back and forth.
What happens if you give the pump a completely separate power supply?
It looks as if the pump causes a lot of vibration - might that cause the problem?
Robin2:
I thought from what you said in Reply #8 that the motor was just making a single 1/4 step movement when the pump starts but the video shows it making multiple small movements back and forth.
What happens if you give the pump a completely separate power supply?
It looks as if the pump causes a lot of vibration - might that cause the problem?
...R
Thank you for respond my video, yes I planning to do as you advise, I will let you know in a few days.
Use resistor to reduce current on pump - Yes, it works!. NO more jerking. Maybe too much current as I checked at the pump Max current is 5A and PSU current is max 5A we still need to try.
Use resistor to reduce current on pump - Yes, it works!. NO more jerking. Maybe too much current as I checked at the pump Max current is 5A and PSU current is max 5A we still need to try.
Is 5amps the stall current of the pump, or the running current? The stall current is often several times higher than the running current and pumps may well draw close to the stall current at startup. The resistor may have some effect on the stall current - but you have not said what value is the resistor. The power supply must be able to supply the stall current.
If the stepper motor is being affected even when the pump has a separate power supply my guess is that there is some path for electromagnetic interference passing from the pump power supply to the stepper motor control system.
That high current draw pump is of course directly connected to the power supply terminals (+ and GND).
NOT via a breadboard, where it pollutes the supply/GND of other components.
With it's supply/GND wires paired or twisted.
Build neatly, with star-grounding in mind, so you don't have problems like this.
And..., a Nano likes 6.5 to 9volt on V-in, not 5volt.
If you have a stable 5volt supply, then connect it to the 5volt pin.
Leo..