Turn Me

This is a rotary encoder kit that your microcontroller of choice can interface with and it is breadboard friendly for prototyping.

Rotary encoders are devices that can convey the position and direction of rotation through the use of two output channels, A and B. So we’ve made a breakout board that is both breadboard friendly and super easy to put together!

(Chicken head knob not included in kit)

Kit Parts:

  • TurnMe board
  • 2x 5pin male headers
  • 1x rotary encoder
  • 3x 1k ohm resistors
Build Notes:
  • 2x 5 pin headers: One of the 5 pin headers is for breadboard support (if desired), and the bottom 5 pin header allows for interfacing with +, -, S, B, and A. S stands for switch, B and A are the two encoder outputs
  • 1x Incremental rotary encoder: PEC11L-4220F-S0015-ND - http://www.bourns.com/PDFs/pec11l.pdf
  • 3x 1k ohm resistors: Solder away!
  • The input voltage (+) is rated up to (per datasheet) 10mA @ 5v DC. There are no current limiting resistors through S, B, and A - so if your application should require that, you will need to add them. We successfully tested 3.3V through this module + the Parallax Propeller with no problems.
Example Propeller Set-up (module is larger in picture for ease of view):

Demo Propeller Code: http://tymkrs.com/code/TurnMeV1_Demo_1.spin

Demo Arduino Code: http://www.millamilla.com/?p=129 Courtesy of Brooke - thanks!

Demo PIC Code: Thanks to @chasxmd!: "I wrote some assembly code for the PIC 16F1509 (using TAUTIC’s 20 pin development board). It dumps a 8 bit counter to PORTC... you could easily drop this onto a DAC if you were looking for rotary encoder to voltage.. you’d have to stop the code at 0×00 and 0xFF so it doesn’t roll over/under though. The code is found at: http://iradan.com/?p=341."

Video: https://www.youtube.com/watch?v=DA38PqzhQ6A

The following is an example of what the serial terminal would look like with the demo code running:

New to rotary encoders? Not sure how to use them?


Assembly Video: