scsinet
Active Member
Originally Posted by reefkprZ
just a thought did you consider a pressure switch for reversing the motors? Light moves one direction hits switch, polarity reverses changing the direction of the movement? or are you just setting this aside completely untill a future date?
Well they are stepper motors, not conventional motors so they are positionable anywhere. By using a microcontroller that keeps track of how many steps it has delivered, and knowing how many steps it takes to get from point A to Point B, and having a reference "reset" starting point, you can easily put the lighting rig anywhere you want by feeding it a setpoint... I could tell it to put it at 10% travel and the motor can put it there to fractions of a millimeter.
The microcontroller driving it would know exactly how many "steps" comprise a complete pass. There would be a limit switch on the back as a way for it to re-reference itself.
So let's say the controller was 5 hours into a 10 hour lighting cycle, and a complete transversal took 10,000 steps. It would have, over the previous 5 hours, delivered 5,000 steps, evenly spaced, over 5 hours, putting the lights at 50% total travel. If at that time the canopy was opened, it would deliver reverse steps (steppers can be run in either direction natively) in rapid sequence, moving the lights back rapidly, until the rear limit switch was hit. Then when the canopy was closed again, it would quickly deliver 5,000 steps again to return the lighting array to the previous position and continue on with the cycle. It would know to reverse when the right number of steps are tallied up. Then it would have moved backwards at the same pace as the moonlights were on.
It's just driving the damn motor that's the pain... huge amounts of current are involved. It's my first attempt at working with steppers, and you pretty much need a dedicated microcontroller to do it, but I couldn't make the driver circuit work, and didn't want to invest $150 in a commercially made stepper motor control board. Once I had the board, the microcontroller would have been easy... but I never got that far.
I'll certainly revisit this, but it probably won't be until Fall 2008.
just a thought did you consider a pressure switch for reversing the motors? Light moves one direction hits switch, polarity reverses changing the direction of the movement? or are you just setting this aside completely untill a future date?
Well they are stepper motors, not conventional motors so they are positionable anywhere. By using a microcontroller that keeps track of how many steps it has delivered, and knowing how many steps it takes to get from point A to Point B, and having a reference "reset" starting point, you can easily put the lighting rig anywhere you want by feeding it a setpoint... I could tell it to put it at 10% travel and the motor can put it there to fractions of a millimeter.
The microcontroller driving it would know exactly how many "steps" comprise a complete pass. There would be a limit switch on the back as a way for it to re-reference itself.
So let's say the controller was 5 hours into a 10 hour lighting cycle, and a complete transversal took 10,000 steps. It would have, over the previous 5 hours, delivered 5,000 steps, evenly spaced, over 5 hours, putting the lights at 50% total travel. If at that time the canopy was opened, it would deliver reverse steps (steppers can be run in either direction natively) in rapid sequence, moving the lights back rapidly, until the rear limit switch was hit. Then when the canopy was closed again, it would quickly deliver 5,000 steps again to return the lighting array to the previous position and continue on with the cycle. It would know to reverse when the right number of steps are tallied up. Then it would have moved backwards at the same pace as the moonlights were on.
It's just driving the damn motor that's the pain... huge amounts of current are involved. It's my first attempt at working with steppers, and you pretty much need a dedicated microcontroller to do it, but I couldn't make the driver circuit work, and didn't want to invest $150 in a commercially made stepper motor control board. Once I had the board, the microcontroller would have been easy... but I never got that far.
I'll certainly revisit this, but it probably won't be until Fall 2008.