Stepper motor NEMA 17 start jerking while 12V pump turn ON

Hi everyone, I am new here.

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

Image from Original Post so we don't have to download it. See this Simple Image Posting Guide

...R

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.

Robin2:
Image from Original Post so we don't have to download it. See this Simple Image Posting Guide

...R

Thanks man for the picture. Appreciate it.

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..:frowning:

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

Are all the power wires kept clear of the signal wires so that there is no possibility of interference between them?

When the problem arises, does the stepper motor just make one step or does it make several steps?

...R

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.

Robin2:
Are all the power wires kept clear of the signal wires so that there is no possibility of interference between them?

When the problem arises, does the stepper motor just make one step or does it make several steps?

...R

Hi, for wiring I put aside the 12 V power cable and 5V power cable separately and of course the I/O cables too.

the stepper move small step, 1/4 step probably..

Updated: I already put the video link, perhaps you can look :slight_smile:

asn202020:
Updated: I already put the video link, perhaps you can look :slight_smile:

Where ?

...R

Robin2:
Where ?

...R

here is the link: https://www.youtube.com/watch?v=RAStgj4Qll4

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

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.

Latest update:

  1. Use separate power supply for pump - Done, no different at all. The jerking still happen.

here is the video Still jerking even put on different power supply - YouTube

  1. 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.

asn202020:
Latest update:

  1. Use separate power supply for pump - Done, no different at all. The jerking still happen.

here is the video https://www.youtube.com/watch?v=QBExTw4iqCY

  1. 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.

...R

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..