With Instructables you can share what you make with the world, and tap into an ever-growing community of creative experts.
We have a be nice comment policy. Please be positive and constructive.
We noticed you attached photosto your comment.
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.
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.
Do you need to use a stepper motor - AN RC servo would be easier to do this with.
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.
Arduino: Stepper Motor Example Sketch Fixed
Control DC and stepper motors with L298N Dual Motor Controller Modules and Arduino
Control Nema Stepper Motor With Arduino And Micro stepping Drive
555 TIMER CIRCUIT TO DRIVE a STEPPER MOTOR
Stepper Motor Basics - 4 Wires Bipolar Motor
Stepper Motor Basics - 6 Wires Unipolar / Bipolar Motor
Stepper Motor Basics - 5 Wires Unipolar / Bipolar Motor
How to Interface Stepper Motor With Arduino and Stepper Motor Driver
An Arduino-powered microplate spectrophotometer
Arduino Stepper Motors
Posted:Mar 19, 2015
Let your inbox help you discover our best projects, classes, and contests. Instructables will help you learn how to make anything!
© 2016 Autodesk, Inc.