Pimoroni RGB Encoder Breakout (PIM522)

This is a placeholder topic for “Pimoroni RGB Encoder Breakout” comments.

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

Read more

I’m a bit confused on how it’s compatible with all RPIs as the “Python Library” link drops you into a rat’s nest of folder structures and nothing looking remotely helpful (Github). Trying to wire it up to a Pico. I have all but the interrupt done, I was hoping that the demo and support library (micropython) would shed some light on it. I have been looking forward to buying a Pimoroni product, but will certainly think again. I’m very happy how Core Electronics support their products with tutorials and support libraries in comparison.


Hi @Laurence257160,

The Pimoroni Library ioe-python has installation instructions and some examples to play around with.

Once you follow the installation steps you can download the repo onto your Pi and run an example like: .../examples/rotary.py

Referring to that example, there is a pinout described for the encoder pins:

A → 12
B → 3
C → 11

I hope that is enough to get you over the line! Feel free to seek clarity if that still doesn’t get you on your way.

Best of luck with the project :slight_smile:
(and thanks for the kind words about our products - we’ve worked really hard to make them as friendly as they are)

Thank you, that did help. I wasn’t really expecting to use ‘Sudo’ commands for an library install, but as I’m still relatively new to the ‘maker’ sphere of experiences (CAD,3D Printing, Linux, Raspberry Pi, iic + spi sensors, python, micropython, and the large amounts of knowledge in between!) What initially tripped me up was the ‘ioexpander’ file actually being a folder, not the file.py as I was expecting, rookie mistake. Once I had it working on my RP4, I moved it across to the Pico. I did look through the forums and realised I’d need a special version of the Micropython firmware with the driver ‘baked-in’ (groan!!). After some pin juggling, it started to work!. Pimoroni gear is definitely intermediate to advanced, especially when it comes to navigating Github. I feel some of their guides take a leap from basic to upper intermediate very quickly and you’re left going around in circles looking through Pimoroni-micropython section in Github. Their documentation isn’t helpful if you don’t know what to look for.The take away here is to research the parts before I buy them, and spent more time looking through the Github community, linux commands/file structure. Python structure with resource files etc. Certainly a learning curve, but worthwhile.

1 Like

Making stuff always has the connected frustrations of figuring out new things - but it seems like you’ve had a bit of a breakthrough and levelled-up your Maker-foo @Laurence257160 :slight_smile:
Next time you’ll be all the more confident and experienced :sparkles:

1 Like