{"product_id":"rgb-encoder-breakout","title":"RGB Encoder Breakout","description":"\u003cp\u003eAdd a colourful light-up dial and spin your Raspberry Pi project right round!\u003c\/p\u003e\n\u003cp\u003eThis I2C breakout uses its clever Nuvoton microcontroller to let you easily incorporate a \u003cstrong\u003edigital rotary encoder\u003c\/strong\u003e into your project. It's possible to directly control the \u003cstrong\u003eRGB LED\u003c\/strong\u003e 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). The encoder has a smooth but satisfyingly clicky action.\u003c\/p\u003e\n\u003cp\u003eEncoders 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 \u003ca href=\"\/en-eu\/products\/rgb-potentiometer-breakout\" target=\"_blank\"\u003eRGB Potentiometer Breakout\u003c\/a\u003e. \u003c\/p\u003e\n\u003cp\u003eYou 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 \u003ca href=\"\/en-eu\/products\/breakout-garden-hat-i2c-spi\" target=\"_blank\"\u003eBreakout Garden\u003c\/a\u003e, which makes it easy to use several different breakouts at the same time.\u003c\/p\u003e\n\u003ch2\u003eFeatures\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003e\n\u003ca href=\"https:\/\/www.nuvoton.com\/products\/microcontrollers\/8bit-8051-mcus\/industrial-8051-series\/ms51xb9ae\/?__locale=en\" target=\"_blank\"\u003eNuvoton MS51 microcontroller\u003c\/a\u003e with built-in 12-bit Analog to Digital Converter (\u003ca title=\"Nuvoton datasheet\" href=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0174\/1800\/files\/DS_MS51_16KBFlash_Series_EN_Rev1.01.pdf?v=1601027185\" target=\"_blank\"\u003edatasheet\u003c\/a\u003e \/ \u003ca title=\"Nuvoton Technical Reference Manual\" href=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0174\/1800\/files\/TRM_MS51_16KBFlash_Series_EN_Rev1.03.pdf?v=1601027378\" target=\"_blank\"\u003eTechnical Reference Manual\u003c\/a\u003e)\u003c\/li\u003e\n\u003cli\u003eRotary encoder (\u003ca title=\"Encoder datasheet\" href=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0174\/1800\/files\/EC12PVF-D-15F-24-24C-03-6H_SPEC.pdf?v=1601306386\" target=\"_blank\" data-mce-href=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0174\/1800\/files\/EC12PVF-D-15F-24-24C-03-6H_SPEC.pdf?v=1601306386\"\u003edatasheet\u003c\/a\u003e\u003cspan\u003e \u003c\/span\u003e\/\u003cspan\u003e \u003c\/span\u003e\u003ca title=\"Encoder drawing\" href=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0174\/1800\/files\/EC12PVF-D-15F-24-24C-03-6H.pdf?v=1601306386\" target=\"_blank\" data-mce-href=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0174\/1800\/files\/EC12PVF-D-15F-24-24C-03-6H.pdf?v=1601306386\"\u003edrawing\u003c\/a\u003e)\u003c\/li\u003e\n\u003cli\u003eRGB LED (controllable by PWM)\u003c\/li\u003e\n\u003cli\u003eI2C interface, with a default address of 0x0F\u003c\/li\u003e\n\u003cli\u003e3V to 5V compatible\u003c\/li\u003e\n\u003cli\u003eReverse polarity protection\u003c\/li\u003e\n\u003cli\u003eRaspberry Pi-compatible pinout (pins 1, 3, 5, 7, 9)\u003c\/li\u003e\n\u003cli\u003eCompatible with Raspberry Pi (\u003ca href=\"https:\/\/github.com\/pimoroni\/ioe-python\" target=\"_blank\"\u003ePython library\u003c\/a\u003e)\u003c\/li\u003e\n\u003cli\u003eCompatible with Raspberry Pi Pico (\u003ca href=\"https:\/\/github.com\/pimoroni\/pimoroni-pico\" data-mce-href=\"https:\/\/github.com\/pimoroni\/pimoroni-pico\" target=\"_blank\"\u003eC++\/MicroPython libraries\u003c\/a\u003e).\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch2\u003eKit includes\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eRGB Encoder Breakout (pre-assembled)\u003c\/li\u003e\n\u003cli\u003e1x5 straight male header\u003c\/li\u003e\n\u003cli\u003e1x5 right angle female header\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003eWe'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).\u003c\/p\u003e\n\u003ch2\u003eSoftware\u003c\/h2\u003e\n\u003cp\u003eRGB Encoder Breakout uses the same \u003ca href=\"https:\/\/github.com\/pimoroni\/ioe-python\" target=\"_blank\"\u003ePython library\u003c\/a\u003e as our \u003ca href=\"\/en-eu\/products\/io-expander\" target=\"_blank\"\u003eIO Expander Breakout\u003c\/a\u003e - \u003ca title=\"Python rotary encoder example\" href=\"https:\/\/github.com\/pimoroni\/ioe-python\/blob\/master\/examples\/rotary.py\" target=\"_blank\"\u003ethis example\u003c\/a\u003e shows you how to read the encoder and control the lights.\u003c\/p\u003e\n\u003cp\u003e\u003cspan\u003eYou can also use this breakout with Raspberry Pi Pico and other RP2040 boards, using \u003c\/span\u003e\u003ca href=\"https:\/\/github.com\/pimoroni\/pimoroni-pico\/\" data-mce-href=\"https:\/\/github.com\/pimoroni\/pimoroni-pico\/\" target=\"_blank\"\u003eC++ or Pirate brand MicroPython\u003c\/a\u003e\u003cspan\u003e.\u003c\/span\u003e\u003c\/p\u003e\n\u003cp\u003e\u003cspan\u003eChris has kindly added support for the Potentiometer and Encoder breakouts to his \u003c\/span\u003e\u003cspan\u003e\u003c\/span\u003e\u003ca title=\"IO Expander Arduino library\" href=\"https:\/\/github.com\/ZodiusInfuser\/IOExpander_Library\" target=\"_blank\" data-mce-href=\"https:\/\/github.com\/ZodiusInfuser\/IOExpander_Library\"\u003eArduino port of our IO Expander library\u003c\/a\u003e\u003cspan\u003e.\u003c\/span\u003e\u003c\/p\u003e\n\u003ch2\u003eNotes\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eThe 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.\u003c\/li\u003e\n\u003cli\u003eThis 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!)\u003c\/li\u003e\n\u003cli\u003eDimensions: approx 25x22x28mm (LxWxH)\u003c\/li\u003e\n\u003c\/ul\u003e","brand":"Pimoroni","offers":[{"title":"Default Title","offer_id":32236590399571,"sku":"PIM522","price":10.95,"currency_code":"EUR","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0174\/1800\/products\/RotaryEnc_1of2.jpg?v=1602587718","url":"https:\/\/shop.pimoroni.com\/en-eu\/products\/rgb-encoder-breakout","provider":"Pimoroni Ltd","version":"1.0","type":"link"}