Steeper motor wigglling, not turning

Hello all,

I'm not a novice with arduino, but it's my first time trying to control stepper motor.
So far I've tried with 2 different material with the same results, the axes of the motor wiggle a bit but doesn't trun.
1rst setup :

  • 1 bipolar stepper motor Nema
  • 1 arduino uno
  • 1 external 12v supply
  • 1 L293D hat for arduino

I've followed the tutorial :

I've checked the connection of the coils of the motor, I think its connected correctly.
With the output of the shield, I get the 2 square signals I would expect to command a stepper motor (with a difference of phase of 90°)
I thing though, I use an external suplly of 12V, and the signal VCC use to command the motor is of 5V ?

2nd setup:

  • 1 unipolar stepper motor
  • 1 Arduino UNO
  • 1 external supply
  • 1 2PH64011a stepper motor controler

For this setup I've followed the tutorial :

Same results here, the motor wiggle but doesn't turn

I wonder if the timing between the impluse is too short of too long ?
I'm struggling on this, any suggestions is welcomed

Sorry, this isn't clear. Is the Vcc supply to the L293 5V or 12V? The L293 needs at least 8V supply I think. Please could you post your circuit?

From your first link:

Sorry, but this is totally crap. Obviously the writer doesn't really know much about stepper motors.
NEMA17 only defines the position of the fixing screws. It says nothing about the electrical properties of the motor. Most of NEMA17 stepper motors cannot be controlled by the L293D driver, but need a current control stepper driver.
Please provide a datasheet of your stepper to see if it fits to your board.

I use a stepper motor with the following ref : 42HS40

What I found disturbing is that on the setup 2 I got the same issue where all references seems fiting with the tutorial I've used :frowning:

There are lots of tutorials made by ignorant and poor hobbyists.
What torque does the project need from the stepper? Select a stepper providing that torqe. Then check what driver that stepper needs. Last, get a power source capable of supporting things.

This is not enough to determine the exact motor. Look at this datasheet:

Only the 42HS40-0406 is rated for 12V, but his is a unipolar stepper ( 6 leads ), not a bipolar one.

If the motor wiggles instead of stepping then slow down the steps to something quiet slow, say 10 steps per second and swap over the two wires connecting one of the coils.

Sorry @MicroBahner the exact reference is 42HS40-1684, there are 4 leads for this one, seems it's bipolar this way right ?

@Grumpy_Mike I've tried with very slow steps, still the engine move a little bit forward then backward (the wiggling), I've tried to switch wires on one coil without changes

thanks guys by the way for your concern and your time

Yes, it's a bipolar type. But this motor definitely cannot be run with the L293 driver. You risk to damage the motor and/or the driver. The motor mandatory needs a current driver such as the DRV8825.

That suggest a broken connection or a burned out motor.
Can you remove the motor from the circuit and check the resistance of each winding. They should both be the same.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.