hello
I was working on a project with 5 stepper motor nema17 rated 1.68a (i set vref 0.85 on drv8825) and i had spindle dc motor rs775
the arduino powered from usb laptop
psu 12v 30a for 5 stepper and different psu 12v 20a for dc motor spindle
that 2 psu powered from one AC line
i connect all earth ground psu and motor spindle casing
the problem
when i turn the psu for 5 stepper, all the stepper jitter only for a moment after that stop and if i run g code all the stepper run perfectly (without spindle motor turn on)
whenever i turn the second psu that energize dc motor spindle all the stepper ofter jitter and loose step
i thought maybe its RF interference from dc motor but i try to plug the soldering gun to power line that all the psu plug in and the stepper jitter for a moment
i think it is the power line noise interfere the stepper
could anyone help me with this problem
thx
the jitter is random i think maybe 10 step or more
is not about the program, it happen when the program not running .
the arduino is active before the stepper psu activated and it is powered from my laptop usb(if that what you mean independent)
yes exactly the same like pololu drv8825 instruction on wiring full step mode
this is the video when the program is idle and the soldered gun plug to the AC power line and the stepper jitter
Thx for the reply mr.robin.
Today i try powering the dc motor from 12v car battery with different earth ground and it is working no jittering, i think its the power line noise or earth ground noise. Is there simple guide for power line noise filter etc.
I dont understand what you mean by resetting in the program.
How to know arduino is reseting ?
When i run the g code program with the dc motor on the stepper jitter occasionally but it run until end of gcode and back to home position but the home position not accurate cause by the jitter.
Add a Serial.print() statement in setup(), if you get something on the serial monitor you'll know it's been reset.
Similarly, you can make the on board LED turn on for a second. Or make it turn on and stay, then have the program run when you push a button.
I try it but i didnt reset when the jitter happen. The jitter is happen when you plug electrical device into the same power line ac, when turn the dc motor, and when the gcode program was running and its random.
and_jap:
I try it but i didnt reset when the jitter happen. The jitter is happen when you plug electrical device into the same power line ac, when turn the dc motor, and when the gcode program was running and its random.
Then all I can do is refer you to the first paragraph in Reply #5
Yes the motor cable has shielded cable and the shield connect to ground. Yesterday i try to put filter capacitor accros the driver and its improve, i will try to put the right cap value on it.
Hi,
Can you edit your circuit diagram and include ALL power wiring, labeling postiive and negative/gnd wires.
I see power connections of ONE wire not TWO to make a circuit.
Are you controlling the RS775 motor, what ever that is supposed to be?
Is the gnd of the Arduino, what model, connected to the gnd/neg terminal of the stepper motor supply.
Are all connections that are made to the power supply made to that terminal in a star formation, or are you daisy chaining the gnd/neg connections one after the other?
Can you post a picture of your project so we can see your component layout?