Exact Position of Stepper Motors Arduino

kvaughn888

Member
Market
Messages
48
Reaction score
0
I am trying to set the exact position of my stepper motors to be able to read the time in and then if the time is at X, set the position at Y, so on. I am doing this to set up a auto dimmer on my aquarium lights. I have the arduino mega board with the stepper motor and driver. Please help

Thank you,
Kevin Vaughn
 
Kevin exact position won't work. You will need to code time equals x degrees. I will try to mess with the code this evening. There is a tutorial @ arduino.cc

Sent from my DROID RAZR
 
http://arduino.cc/en/Reference/Stepper">http://arduino.cc/en/Reference/Stepper</a>. Here is the stepper library commands.

You will need to use "if" "else" statements. You will probably need a rtc chip to keep time. As the mega only has millisecond timer.

Sent from my DROID RAZR
 
Why not use an encoder?

I used to sell motion control, that's how we did it when you need to know position.
 
ichthyoid;878011 wrote: Why not use an encoder?

I used to sell motion control, that's how we did it when you need to know position.
With steppers or servos or both?
 
grouper therapy;878114 wrote: With steppers or servos or both?

We used encoders on both Dave.

I even had a line of steppers with the drive and encoder both built into the motor housing, although it was for lower torque applications.
(Quicksilver, I believe is the name)

If the customer was price sensitive (often the case when using steppers) they would often attempt to keep track of position by counting steps. That's fine until something slips and jumps or lags steps. Then you have to 're-home'.
 
I made the real money on servo driven systems, mostly from Parker-Hannafin.

Arguably the best full line motion control source available. It's a division of Danaher.
 
Back
Top