Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 3 of 3

Thread: How do you make an encoder circuit?

  1. #1
    Junior Member
    Join Date
    Sep 2013
    Posts
    12

    How do you make an encoder circuit?

    I'm trying to read a simple signal from an encoder. I've been having terrible luck, and I just want to make sure I'm using a proper circuit. I'm using this encoder http://www.alps.com/products/WebObje...0E1220501.html (which I'm interpreting as having only two ouput pins).

    I won't bother posting my code, since it's the same as the example file "TwoKnobs".

    I apologize for asking such a trivial question, but I have no deep understanding of electronics, and the encoder library tutorial http://www.pjrc.com/teensy/td_libs_Encoder.html doesn't provide a schematic. Thank you for the support.

  2. #2
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    23,001
    Connect the A and B pins to and 2 digital pins on Teensy 3.1. Connect C to GND.

    Click image for larger version. 

Name:	EC10E_D_11.GIF 
Views:	159 
Size:	22.8 KB 
ID:	1360

  3. #3
    Junior Member
    Join Date
    Sep 2013
    Posts
    12
    Thank you. It worked.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •