Stepper motor i’m using is TWO PHASE 42-34 NEMA 17
this one https://www.reprap.me/creality-3d-two-p … inter.html
I have connected as per the hook-up guide.
Uploaded the sketch “SparkFun_Easy_Driver_Basic_Demo”.
Powered with a bench power supply 12v 2A.
Adjusted the vref to 2v to give 333mA of current.
But the stepper does not spin smoothly, but rather is spins in a jerking motion back and forward.
What might I be doing wrong here?
Kindly help.
one thing to add.
I checked the stepper motor coils with a multimeter on continuity mode.
the motor has 6 pins, Pin no’s from left to right
pin no. 1 and 4 and 5 has continuity. so I guess this is coil 1 with a center tapping.
and
pin no 2 and 3 and 6 has continuity. And this is coil 2 with a center tapping.
and just to be sure, I checked there resistance.
between
pin 1 and 4 = 6 ohms
pin 1 and 5 = 6 ohms
pin 4 and 5 = 0 ohms
and
pin 6 and 2 = 6 ohms
pin 6 and 3 = 6 ohms
pin 2 and 3 = 0 ohms
so i’m confused.
what sort of stepper motor is this?
what sort of stepper motor is this?
Not sure, the measurements you're getting don't make any sense.
I’d expect to see 6 ohms between one end of the coil and a center taps, 6 ohms between the other end of the coil and the center tap and 12 ohms between both coil ends. You might need to get a hold of a data sheet for your motor to figure out how it’s wired and what it’s rated for, there may be diodes or something inside the motor that cause the odd resistance readings you’re seeing.
the stepper does not spin smoothly, but rather is spins in a jerking motion back and forward.
That usually means you're not giving the motor enough current but you're going to want to figure out what's going on inside the motor first before attempting to feed it more current, you wouldn't want to blow up the Easy Driver.
Thanks Chris for your reply.
As you said I had to disassemble the motor to see whats inside.
See the picture https://photos.app.goo.gl/RCYVc6rxdNdLzNLU7
It explains why the weird readings.
So basically;
Coil A is pin 1 and 4 or 5
Coil B is pin 6 and 2 or 3
pins 4 and 5, 2 and 3 are connected together inside. No clue why they did it like that :shock:
Some photos of the motors below,
working motor from 3D printer on the bottom :- https://photos.app.goo.gl/reJoQcaWBQxxZbkEA
Newly bought motor:- https://photos.app.goo.gl/w6BEkcXorqaCBRfK7
Resolution:
Swapped the wires to match the coils as per above findings, and now all works.
With my current vref settings (2v), motor does not jitter and spins smoothly.
hence the EasyDriver is very hot to touch, so I might reduce the vref a bit further, but will have to see if that makes an effect for needed torque.
Thanks a lot for you guidance Chris!