View Single Post
  #4   Spotlight this post!  
Unread 04-02-2012, 19:09
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Need help with circuits and photocell

For that application, you don't really need to turn the motor a definite number of rotations. You can either choose a motor that can withstand being stalled for a few seconds and drive it for a long enough time that your mechanism will reach a hard limit, or you can use a sensor that detects when the mechanism is fully retracted or fully extended to let the motor run only as long as it needs to.

There are also a couple of nifty mechanical tricks you can use to let the motor keep driving for a while without stalling, like using a lead screw with unthreaded ends and a spring-loaded stage that will be certain to reacquire the threads when the screw turns the other direction.
Reply With Quote