Stepper motor help?

someone tell me how to

only for 90 degree both sides

sort by: active | newest | oldest
iceng2 years ago

It is a stepper motor. You need to determine how many steps are needed to accomplish the desired rotation, then instruct the microprocessor to pulse out that many steps.

Stepper motors have different steps per a rotation usually expressed as 7.5 degrees per step or 1.8 degrees per step are popular step values.

So to torn 90 degrees using a 7.5 motor is 12 steps.

iceng iceng2 years ago

Here are some of the representations of the windings in stepper motors.

To make them step you apply a pulse of electricity alternately to the dual windings.

If you have the correct voltage (usually 5v, 12v, 24v or 48v) and count your steps the shaft will turn for you and even hold position because of the internal magnet.

rickharris2 years ago

Do you need to use a stepper motor - AN RC servo would be easier to do this with.

basim.moulana (author)  rickharris2 years ago

actually for my project a stepper motor would be convenience.

The link you show has no code so unable to offer precise solution but in general:

There are 2 main types of stepper motor Unipolar and Bipolar. the one shown appears to be Unipolar and so has 4 coils.

Energising the coils in a preset sequence will cause the stepper to turn 1 step. How big the step is depends on your stepper and should be marked on it. eg. 3 deg.step.

So to turn x number of degrees you need to send x steps to the stepper motor.

The easiest way to do this is to programme a PIC chip to do the counting and sending- as in the video..

This isn't trivial and would be beyond the scope of a short answer here but many web site cover the control of stepper motors.