Shop OBEX P1 Docs P2 Docs Learn Events
Pulsing switch — Parallax Forums

Pulsing switch

ArchiverArchiver Posts: 46,084
edited 2002-11-03 03:18 in General Discussion
Hi there! I'm working on a nice menu by LCD driven process. For this
process I have a very nice switch!!! It's a rotating pulsing switch
with a push button in one. This is very nice for menu up/down
(rotating left or right)and pushing for enter.
The only problem is to find a way to decode the pulses.
Pushing is no problem just on when you push.
The problem is the rotating. There are two channels. When you turn
clockwise, the left chanel comes up first, then a very short time
later the second channel comes up. When your going further the first
chanel goes out first then the second chanel. When your turning
counterclockwise the chanels react the opposite way. How do I decode
this. I want to scroll trough my menu with these pulses!!!!

Can anyone help me??? I don't know if this problem is solved before??

Thanks anyway!!!!!

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2002-11-02 17:59
    Goto http://www.emesystems.com/BS2fsm.htm#twobit%20encoder



    Original Message
    From: "smalcor" <Smalcor.AmusementsProducts@1...>
    To: <basicstamps@yahoogroups.com>
    Sent: Saturday, November 02, 2002 1:44 PM
    Subject: [noparse][[/noparse]basicstamps] Pulsing switch


    > Hi there! I'm working on a nice menu by LCD driven process. For this
    > process I have a very nice switch!!! It's a rotating pulsing switch
    > with a push button in one. This is very nice for menu up/down
    > (rotating left or right)and pushing for enter.
    > The only problem is to find a way to decode the pulses.
    > Pushing is no problem just on when you push.
    > The problem is the rotating. There are two channels. When you turn
    > clockwise, the left chanel comes up first, then a very short time
    > later the second channel comes up. When your going further the first
    > chanel goes out first then the second chanel. When your turning
    > counterclockwise the chanels react the opposite way. How do I decode
    > this. I want to scroll trough my menu with these pulses!!!!
    >
    > Can anyone help me??? I don't know if this problem is solved before??
    >
    > Thanks anyway!!!!!
    >
    >
    > 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/
    >
    >
  • ArchiverArchiver Posts: 46,084
    edited 2002-11-02 18:09
    It's a large page goto http://www.emesystems.com/BS2fsm.htm#twobit%20encoder

    Original Message
    From: "smalcor" <Smalcor.AmusementsProducts@1...>
    To: <basicstamps@yahoogroups.com>
    Sent: Saturday, November 02, 2002 1:44 PM
    Subject: [noparse][[/noparse]basicstamps] Pulsing switch


    > Hi there! I'm working on a nice menu by LCD driven process. For this
    > process I have a very nice switch!!! It's a rotating pulsing switch
    > with a push button in one. This is very nice for menu up/down
    > (rotating left or right)and pushing for enter.
    > The only problem is to find a way to decode the pulses.
    > Pushing is no problem just on when you push.
    > The problem is the rotating. There are two channels. When you turn
    > clockwise, the left chanel comes up first, then a very short time
    > later the second channel comes up. When your going further the first
    > chanel goes out first then the second chanel. When your turning
    > counterclockwise the chanels react the opposite way. How do I decode
    > this. I want to scroll trough my menu with these pulses!!!!
    >
    > Can anyone help me??? I don't know if this problem is solved before??
    >
    > Thanks anyway!!!!!
    >
    >
    > 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/
    >
    >
  • ArchiverArchiver Posts: 46,084
    edited 2002-11-03 03:05
    This device is called a quadrature encoder and is very common in industrial
    applications. The Nuts&Volts books have a nice app note on using them with a
    Stamp.


    [noparse][[/noparse]Non-text portions of this message have been removed]
  • ArchiverArchiver Posts: 46,084
    edited 2002-11-03 03:18
    I believe it was column #11 in volume I of the Nuts & Volts of Basic Stamps.

    I'm out in the garage making a bracket for one of the Grayhill rotary
    encoders as we speak.

    **********

    > This device is called a quadrature encoder and is very common in
    industrial
    > applications. The Nuts&Volts books have a nice app note on using them with
    a
    > Stamp.
Sign In or Register to comment.