Shop OBEX P1 Docs P2 Docs Learn Events
tilt sensor — Parallax Forums

tilt sensor

ArchiverArchiver Posts: 46,084
edited 2002-04-12 19:12 in General Discussion
Hello,

I was wondering if anyone knew of cheap Tilt sensors for my robot. I
need to know how steep of terrain it is on and I figure a tilt sensor is the
best. With this in mind I was wondering if anyone could direct me to a cheap
product that is easily integrated with the Basic Stamp2. digital would be
nice, but analogue will do. Any suggestions would aslo be of great use.
Thanks in advance,
Travis

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2001-09-25 03:57
    The ultimate in cheap is a scavanged mercury switch from a wall mounted
    thermostat. Check with your local HVAC people. A number of these switches
    can be set at different static angles - and will trigger at different
    levels......

    ag

    Original Message
    From: "Travis M" <travis_m25@h...>
    To: <basicstamps@yahoogroups.com>
    Sent: Monday, September 24, 2001 8:06 PM
    Subject: [noparse][[/noparse]basicstamps] tilt sensor


    > Hello,
    >
    > I was wondering if anyone knew of cheap Tilt sensors for my robot. I
    > need to know how steep of terrain it is on and I figure a tilt sensor is
    the
    > best. With this in mind I was wondering if anyone could direct me to a
    cheap
    > product that is easily integrated with the Basic Stamp2. digital would be
    > nice, but analogue will do. Any suggestions would aslo be of great use.
    > Thanks in advance,
    > Travis
    >
    > _________________________________________________________________
    > Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
    >
    >
    > 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/
    >


    _________________________________________________________
    Do You Yahoo!?
    Get your free @yahoo.com address at http://mail.yahoo.com
  • ArchiverArchiver Posts: 46,084
    edited 2001-09-26 22:12
    If you do not need much accuracy, I suggest you use a simple 10K linear
    potentiometer with a rigid wire attached perpendicularly to its axle. Put a
    weight (a fishing lead could do) on the other end of the wire, so that
    gravity it will turn the axle proportionally to the tilt of the pots body
    (the pot's body should be fixed to the robot platform). You will need some
    physical space for this system.

    Then you can read the pot value using the "pot" command of the BS.

    You can read positive and negative tilts just placing the horizontal
    position to coincide with the medium point of the pot

    If you want to be full digital, use a magnet at the end of the wire and
    place a set of reed-switches to detect the tilt.

    But it may use too many inputs of your BS! If so, use the switches to
    connect resistors in sequence to just one input and again use "pot", this
    time to select among the resulting fixed resistor values. You will have to
    carefully adjust the position of the reed switches so that each closes
    before the previous one opens. Possibly a complicated task!

    Can you tell me how to post answers thru the group? I get my messages
    rejected ("only plain text accepted) when I respond from my mail client
    (Eudora). How do you do it? Is it mandatory to access the group from the
    web page?

    Good luck!

    Jose Luis
  • ArchiverArchiver Posts: 46,084
    edited 2001-09-26 23:06
    At 9/26/2001 Wednesday 05:12 PM, Jose Luis Juarez promulgated:

    >Can you tell me how to post answers thru the group? I get my messages
    >rejected ("only plain text accepted) when I respond from my mail client
    >(Eudora). How do you do it? Is it mandatory to access the group from the
    >web page?
    >
    >Good luck!
    >
    >Jose Luis
    >
    >Jose -

    Send the messages using this address: basicstamps@yahoogroups.com

    Regards,

    Bruce Bates
  • ArchiverArchiver Posts: 46,084
    edited 2001-09-27 00:25
    At 18:06 09/26/01, Bruce Bates wrote:
    >At 9/26/2001 Wednesday 05:12 PM, Jose Luis Juarez promulgated:
    >
    > >Can you tell me how to post answers thru the group? I get my messages
    > >rejected ("only plain text accepted) when I respond from my mail client
    > >(Eudora). How do you do it? Is it mandatory to access the group from the
    > >web page?
    > >
    > >Jose Luis
    >
    >Send the messages using this address: basicstamps@yahoogroups.com

    And check your settings at Tools | Options | Styled Text | Send Plain Text
    Only.


    Jim H
  • ArchiverArchiver Posts: 46,084
    edited 2001-09-27 01:41
    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
  • ArchiverArchiver Posts: 46,084
    edited 2002-04-12 19:12
    my brother matthew made a great tilt sensor for a self-controlled model airplane
    using hall-effect sensors suspended in two plastic boxes. the output went to
    a/d conversion through the stamp and then controlled servos.

    it worked very well.

    mikey hart



    Do You Yahoo!?
    Yahoo! Tax Center - online filing with TurboTax

    [noparse][[/noparse]Non-text portions of this message have been removed]
Sign In or Register to comment.