Tony Smith wrote: > > As usual, there's a bit of buggering about making sure the cam isn't > spinning too fast so it overshoots and re-enagages the microswitch, etc. The way to handle this is to use a SPDT microswitch that shorts the motor when it turns off (which stops the motion quicker). You wire the short through the turn-on relay (can't use a FET here, unless its a SPDT photmos) so that it's removed at turn on. Or put a ballast resistor across the motor so that it gets damped when the power gets turned off. R -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist