Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations pierreick on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Stepper Motor controlled by a Microcontroller..help 2

Status
Not open for further replies.

Va5h15t

Electrical
Jan 30, 2009
6
Hi, im new to this site. Found it very helpful and thus I registered.
I am currently in the process of designing a microcontrolled fibre optic illuminator. I am using a Halogen light source.
the main issue now is to create a colourful light effect using colour wheels, and twinkling effects using gobos.
I found out that stepper motors are the best for this purpose since they can be controlled with a microcontroller.
My concerns are:
How to interface the stepper motor to move Cw and CCW commanded from the microcontrller. I better use an 8051 uc sicne I have studied these and I know C programming.
For example, lets assume a filter of 10 colours, this gives 36degree of movement, and incase of a 200stepmotor, it would mean (360/200)*36 steps for each colour change.
this would ideally be controlled by uc which will give the user the choice to choose colour(out of the 10 colours)via a keypad or something similar and the choice of speed as well as the choice to keep the motor in place on one colour for a specific moment.
To incorporate the twinkling effect, Im assuming another wheel(one with gobos) should be used, which in turn will be controlled by another motor and inturn be controlled by the 8051, in such a way that when the gobos is to be used, the colour wheel is stopped and the gobos wheel moves.
Im not actually finding a way to place the two wheels once at a time infront of the light source, should be possible using timing belts?
If you have a better idea for part or for the whole project, please do mention it.
I found out that its easier to control one motor using the LM293 IC.
ps: I read a lot about steppers, and the unipolar would be the best for this purpose, correct me if im wrong.

I know this is very long and i apologize.

Hope to hear from you soon

Thank uch in advance,
Vashist
 
Replies continue below

Recommended for you

thank you for the link bobM3. its really helpful for information on PIC driven steppers.
What i need to do is to conrol the stepper with an 8051 microcontroller and the motor should be controlled manually or set automatically by the 8051. Speed of motor and waiting for 5seconds at a specific color(64.8 steps in the case above) when a button is pressed.
 
You should really google for "stepper motor control". There is a huge amount of good stuff written on this. Steppers are pretty easy to control, but there are some little pitfalls too. There are sites that will expound on unipolar verses bipolar, and microstepping. An 8051 could probably run 4 or 5 steppers depending on the drive type.

Also check the robotics hobbyist sites as most robots use steppers.

Check the Microchip.com site for application notes on driving stepper motors.

Keith Cress
kcress -
 
thank you very much for the links guys..s it is..i did a lot of research on the internet since a long time and here are the references i found :) :
STEPPER MOTORS:
-
- Tutorial by Douglas W. Jones, University of Iowa
- ADVANCED MICRO SYSTEMS LTD
ON AC MOTORS AND ELECTRONICS
- ANIMATED VERSION OF STEPPER MOTOR


What I am looking for is an idea of how to turn the colour wheel in front of the light source whilst using the gobo wheel to provide a twinkling effect.
turning two wheels in front of a light source will give a different effect compared to turning one wheel at a time(and thats what I need). Using timing belts and gears, would that be possible? Im sorry I am not so much conversant with mechanics and mechanical parts.

I really appreciate your help and the useful links everyone.
I just need some ideas and then I will try to work on these ideas with your help.
 
I don't know about the effects you mention. You will have to define how these two wheels need to be turned relative to each other and the light source.

Simplest design would be to turn them together with one motor on one shaft. But perhaps that's not what you want. If one wheel can turn at some multiple of speed relative to the other. then simple gears, friction wheels or belts and pulleys will do. If the wheels must turn at variable speeds relative to each other and the source, or vary their relative angular positions, then you are going to have to spring for two motors and the driver hardware to support both of them.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor