How to order Contact us Distributors Reviews
Register / Login

Select currency

If you'd like to view estimated pricing in other currencies then please select a currency below below.

GBP USD EUR JPY AUD NOK CHF NZD CAD

Please note:

  • Currency conversions are estimates and for information only
  • Your order will be billed in GBP
  • All prices exclude VAT / other local sales taxes
  • Shipping calculated during checkout


RGB Encoder Breakout

by Pimoroni
An image of RGB Encoder Breakout An image of RGB Encoder Breakout An image of RGB Encoder Breakout An image of RGB Encoder Breakout An image of RGB Encoder Breakout

Add a colourful light-up dial and spin your Raspberry Pi project right round!

This I2C breakout uses its clever Nuvoton microcontroller to let you easily incorporate a digital rotary encoder into your project. It's possible to directly control the RGB LED inside the encoder - meaning it's great for using as an input device which can also show you a colour coded visual status (like a LED lighting controller, or a synth wave generator).

Encoders have a unlimited range of motion and are good for dials that need to spin round continuously - if you'd prefer one that has a start and an end, check out our RGB Potentiometer Breakout.

You can attach it to your Pi's GPIO directly or via a breadboard with the included headers, but it's also compatible with our fancy solderless Breakout Garden, which makes it easy to use several different breakouts at the same time.

Features

  • Nuvoton MS51 microcontroller with built-in 12-bit Analog to Digital Converter (datasheet / Technical Reference Manual)
  • Rotary encoder (datasheet / drawing)
  • RGB LED (controllable by PWM)
  • I2C interface, with a default address of 0x0F
  • 3V to 5V compatible
  • Reverse polarity protection
  • Raspberry Pi-compatible pinout (pins 1, 3, 5, 7, 9)
  • Compatible with all models of Raspberry Pi.
  • Python library

Kit includes

  • RGB Encoder Breakout (pre-assembled)
  • 1x5 straight male header
  • 1x5 right angle female header

We've designed this breakout board so that you can solder on the piece of right angle female header and pop it straight onto the bottom left 5 pins on your Raspberry Pi's GPIO header (pins 1, 3, 5, 7, 9).

Software

RGB Encoder Breakout uses the same Python library as our IO Expander Breakout - this example shows you how to read the encoder and control the lights.

Notes

  • The default I2C address is 0x0F, but it's possible to change this in software if you'd like to use multiple RGB Encoder Breakouts, or avoid conflicts with other I2C devices. The new address will be saved in flash memory, so will persist if unpowered.
  • This board uses a Nuvoton MCU with our custom firmware but if you're brave and hackerly, you can substitute your own firmware to change the way this board works and have a super cheap and capable microcontroller (though this is not for the faint of heart!)
  • Dimensions: approx 25x22x29mm (LxWxH)

Reviews

User photos

Add a colourful light-up dial and spin your Raspberry Pi project right round!

PIM522

You must register for an account and be logged in to view pricing or place an order on the Pimoroni Wholesale store.

If you represent a school or university, a business, or reseller of Maker products then you can sign up for a wholesale account.

If you already have an account you can login to your account here.

Alternatively the easiest way to get your hands on the products we offer is to order them directly from our customer facing online store.

SKU
PIM522
EAN
0769894016367
Brand
Pimoroni
Stock available
200+ units
You may backorder this product
Weight
10g

Video introduction

Guides & tutorials

Search

 

Region

Your search returned no results.

Subscribe

We'll keep you up to date with new product launches!

The good ship

We've been sailing the Maker seas offering our wares since 2012.

  • read about our history
  • what our customers say
  • find a local distributor
  • contact our business team

We manufacture all of our products locally at our workshop in Sheffield, UK

Under one roof

Pimoroni are your one-stop shop for bulk and education purchasing of Raspberry Pi, Pimoroni, micro:bit, Adafruit, Sparkfun, and many other brands.

If you have any questions about what we offer then drop us a line.

Pimoroni Ltd

Unit 1, Parkway Business Park,
Parkway Drive,
Sheffield,
S9 4WN,
United Kingdom

Registered in England and Wales:
Company №: 07510759
VAT Reg №: GB 140 8707 21