Shop OBEX P1 Docs P2 Docs Learn Events
More on Tilt sensor — Parallax Forums

More on Tilt sensor

ArchiverArchiver Posts: 46,084
edited 2001-09-28 22:45 in General Discussion
Another idea is to use a discarded PC mouse.

There are 2 optotransceivers each with perforated wheel. They are
configured as incrmental/decremental encoders and communicate with the PC
using standard RS232 interface. This could be easily translated to 0/+5V
for the BS with just a 5V zener and a resistor.

Fixing the position of the wheel shaft with a wire arm and a weight, would
give an in/de/cremental serial signal that could be input to the BS using
SERIN command.

Two problems:
- Low accuracy as there is no mechanical multiplication of the movement
(tilt) because no big rubber ball is used...
- The need to detect Zero degrees tilt with a different device (could be
the second optotransceiver coupled to the same wheel but using an
additional single hole in a second row). The position of this hole and
coupler should coincide with the horizantal position of the robot platform.

Good for very handcrafty people that really like to go everything-digital.
That's why I think my previous idea of a conventional liner pot+ arm+
weight would do the job nicely.



At 19:41 26/09/2001 -0500, you wrote:
>You could also mate a single mercury switch to a stepper shaft. After
>calibration, you simply spin the stepper and pole the mercury switch at each
>step. When it changes state, you look up the tilt via look-up table. Just
>a thought........
>
>ag
>
>
>
>
>_________________________________________________________
>Do You Yahoo!?
>Get your free @yahoo.com address at http://mail.yahoo.com
>
>
>To UNSUBSCRIBE, just send mail to:
> basicstamps-unsubscribe@yahoogroups.com
>from the same email address that you subscribed. Text in the Subject and
>Body of the message will be ignored.
>
>
>Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/

Comments

Sign In or Register to comment.