Actually the motor has it's own cut-out
When the screen is fully extended it kills the motor, and when it's fully retracted it does the same. That's built in the head end. The worse that'll happen is it'll extend to far for my use and knock something off the TV unit
I did consider it, and still haven't ruled it out (as a mouse is cheaper then my parts order- and I should have one laying around)
But I have questions like - how do I count without causing the remote to fail, or while still being able to respond on the serial port. - If I remember right
one of these timer/pwm/things/ works as a counter also - perhaps I can let it do the counting in the background and interrupt when it overflows.
I suppose it's one of those things I'd have to experiment with.
The option is open for a combination of the two.
A sensor at the top to tell it when it's fully retracted, and using the mouse sensor to count the way down.
But, just knowing absolutely whether the screen is UP or DOWN will be so much easier.
My biggest problem now comes from being completely broke and not being able to afford the parts I need to make sensors.
Bookmarks