# Rotary Encoder - Illuminated (RGB)

**Type:** Product page · **SKU:** COM-15141 · **Brand:** [Sparkfun](https://core-electronics.com.au/brands/sparkfun-australia)
**Page:** https://core-electronics.com.au/rotary-encoder-illuminated-rgb-45018.html ([markdown](https://core-electronics.com.au/rotary-encoder-illuminated-rgb-45018.html.md))

Rotary encoders can be used similarly to potentiometers. The difference being that an encoder has full rotation without limits (It just goes round and round). They...

## Pricing

- **Price:** $8.95 (inc GST) — $8.14 AUD, exc GST
- **Quantity discounts:** 5+ $7.89 (exc GST) · 25+ $7.73 (exc GST) · 100+ $7.40 (exc GST)

## Availability & dispatch

- Available with a lead time — expect dispatch between Aug 17 and Aug 24.

## Description

Rotary encoders can be used similarly to potentiometers. The difference being 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 is especially cool because it has a common anode RGB LED built in, as well as a push-button. This version has an updated material that is heat resistant and slightly changed dimensions, but should still work well with our rotary encoder breakout board.

**Features**

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

**Documents**

- [Datasheet](https://core-electronics.com.au/attachments/localcontent/EC12PLRGBSDVBF-D-25K-24-24C-6108-6HSPEC_43240ac0cfc.pdf)
- [Dimensional Drawing](https://core-electronics.com.au/attachments/localcontent/Part_10997_EC12PLRGBSDVBF-D-25_11684df3ced.pdf)
- [Example Code](https://github.com/sparkfun/Rotary_Encoder_Breakout-Illuminated/tree/master/Firmware)

## Guides for this product

- [Getting Started with Rotary Encoders \| Examples with Raspberry Pi Pico](https://core-electronics.com.au/guides/digital-electronics/getting-started-with-rotary-encoders-examples-with-raspberry-pi-pico/)

## Videos for this product

- [Getting Started with Rotary Encoders \| Examples with Raspberry Pi Pico](https://core-electronics.com.au/videos/getting-started-with-rotary-encoders-examples-with-raspberry-pi-pico)

## Images

- [Product image 1](https://core-electronics.com.au/media/catalog/product/1/5/15141-rotary_encoder_-_illuminated__rgb_-01.jpg)
