Shop OBEX P1 Docs P2 Docs Learn Events
Gray Scalle optical encoder — Parallax Forums

Gray Scalle optical encoder

Indy_StamperIndy_Stamper Posts: 1
edited 2005-07-15 18:02 in BASIC Stamp
I am looking for some code that will allow the basic stamp II to interface with a gray scale encoder, such as a Mouser part number, "652-ENA1J-B28-L00128", found at[noparse]:http:[/noparse]//www.bourns.com/pdfs/ENC1J.pdf.

Thanks,

Indy_stamper

Comments

  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2005-07-15 18:02
    Hello,

    ·· We do have some code for reading rotary/optical encoders.· Please see the attachments.· I will provide a schematic in an hour.· If you have any questions on the code, let me know.

    EDIT:· Okay, there's the schematic for the standard mechanical encoders we have at Parallax.· I have also used the optical devices in a few designs.· These actually use a phototransistor and are still wired the same way.· The Grayhill model I have has a pushbutton in it, making it ideal for a single knob input device.


    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Tech Support
    csavage@parallax.com


    Post Edited (Chris Savage (Parallax)) : 7/16/2005 1:18:22 AM GMT
Sign In or Register to comment.