it would be time based, which would be adjustable depending on how far you wanted it to move. It would be nice to have position feedback, but it would make it more complicated and expensive.
Well, in the simplest way...the PIC outputs to a sub circuit that starts sending the mirrors down. In the same instance, a timer is started within the PIC. Using another version of the above circuit, the PIC detects when the motors stalls. At this point the mirrors are down and the timer is stopped. When returning to its original position, the PIC uses the original value from the 1st timer and starts a new one that increments until it equals the previous one and the motor stops. This method of course is not 100% accurate but it does work for what we are after and a recent test showed it returning to near enough its original position.Just wondering how u work the angle of the mirror when it dips for reverse.
Dose the motor have an encoder feed back ??? or is it done on a time base .15ms down and .5ms tilt in. Or am i way off, just wondering out of curiosity is all.