Shop OBEX P1 Docs P2 Docs Learn Events
Anyone familair with 2 bit gray code for rotary encoder switch? — Parallax Forums

Anyone familair with 2 bit gray code for rotary encoder switch?

Don MDon M Posts: 1,652
edited 2010-02-10 20:59 in Propeller 1
I see Parallax has a rotary encoder switch with absolute binary coding using 4 terminals. But I don't think it is the same principal but maybe someone here knows. The encoder I want to use has only 3 terminals. Is there an object for 2 bit gray code?

I have attached a diagram from the encoder supplier.
700 x 700 - 127K

Comments

  • LeonLeon Posts: 7,620
    edited 2010-02-10 20:23
    It looks like a standard mechanical encoder.

    Leon

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Amateur radio callsign: G1HSM
  • mparkmpark Posts: 1,305
    edited 2010-02-10 20:41
    Don M said...
    ... Is there an object for 2 bit gray code?
    obex.parallax.com/objects/24/

    "Reads 1 to 16 two-bit gray-code quadrature encoders and provides 32-bit absolute position values for each and optionally provides delta position support (value since last read) for up to 16 encoders."
  • Don MDon M Posts: 1,652
    edited 2010-02-10 20:59
    Thanks mpark [noparse];)[/noparse]
Sign In or Register to comment.