Rotary Encoder - Illuminated (RGB, right-angle)

Rotary encoders can be used similarly to potentiometers. The difference being that that an encoder has full rotation without limits (It just goes round and round). They output gray code so that you can tell how much and in which direction the encoder has been turned. They're great for navigating menu screens and things like that. This encoder mounts at a right angle so it's perfect for things like control panels and rack-mount enclosures.

This encoder is especially cool because it has a common anode RGB LED built in, as well as a push-button. Look below for the clear knob that goes with this potentiometer.

  • Switch Travel: 0.5mm
  • Shaft Diameter: 6.0mm
  • Shaft Length: 18mm
  • Right-Angle Through-Hole Mount
  • 24 Pulses per Rotation
  • Red/Green/Blue LED
  • Pushbutton

Rotary Encoder - Illuminated (RGB, right-angle) Product Help and Resources

Core Skill: Soldering

This skill defines how difficult the soldering is on a particular product. It might be a couple simple solder joints, or require special reflow tools.

1 Soldering

Skill Level: Noob - Some basic soldering is required, but it is limited to a just a few pins, basic through-hole soldering, and couple (if any) polarized components. A basic soldering iron is all you should need.
See all skill levels

Core Skill: Electrical Prototyping

If it requires power, you need to know how much, what all the pins do, and how to hook it up. You may need to reference datasheets, schematics, and know the ins and outs of electronics.

2 Electrical Prototyping

Skill Level: Rookie - You may be required to know a bit more about the component, such as orientation, or how to hook it up, in addition to power requirements. You will need to understand polarized components.
See all skill levels


Looking for answers to technical questions?

We welcome your comments and suggestions below. However, if you are looking for solutions to technical questions please see our Technical Assistance page.

  • PointyOintment / about 9 years ago * / 1

    The description says "Gray code", but this is a quadrature encoder, as shown by the datasheet and tutorials. Yes, quadrature is technically a subset of Gray code, but "Gray code encoder" implies one Gray code cycle per rotation (i.e. usable for absolute position), IMO.

    It's not a problem that this is a quadrature encoder—they're easier to interface with and adequate for most applications—but I would prefer a clearer description.

    ETA: From the comments on the non-right-angle version of this encoder, I learned that it's actually 96 transitions per rotation. It's 24 full quadrature cycles per rotation; 1 quadrature cycle per detent. (I guess "24 pulses per rotation" could be considered correct, if you interpret "pulses" to mean either pulses of torque resistance, not electrical pulses, or electrical pulses on just one of the quadrature pins.)

  • cyclicredundancy / about 10 years ago / 1

    As per the data sheet the row with 3 pins seem to be 2.5mm spaced but the row with 5 pins is 2mm spaced. And the two rows are 3.1mm apart. So ignoring the 2 non-signal tabs, will the other pins fit on a bread board? Perhaps with a little bending?

  • Marduk / about 11 years ago / 1

    There no eagle footprint for this ?

    • Kamiquasi / about 11 years ago * / 2

      I was going to say "sure there is", but that's for the upright one. Here's a library with a single Device with the right angle package, based on SparkFun-Electromechanical.lbr/ENCODER_RGB_CA which only had the upright package. The only electrical difference is the addition of a NC pin connected to the two structural support pads, in case you want to do any grounding of them. The Document layer contains secondary package outlines. Please keep in mind that I don't have this part, and those dimensional drawings are conflicting, but the pad layout should be fine. ~~ github:EagleWorks - COM-10984.lbr

      • Member #125169 / about 10 years ago / 1

        Do you still have the footprint for this? I tried your filedropper link, but get redirected to an 'upload' screen. Thanks.

        • Kamiquasi / about 10 years ago / 1

          Hi there! Thanks for the heads-up. It now has a somewhat more permanent place in my (mostly empty) github repository; . On that page, right-click 'Raw', and save the link :)

  • Member #94789 / about 12 years ago / 1

    Something like this (right angle mount) without RGB and with built-in push button switch on the shaft would be great...

Customer Reviews

No reviews yet.