Category: rotary encoder

MCP23S17 spi port expander with RGB rotary encoder

This is a PoC from using SPI based port expander to drive rotary encoders

This is short proof of concept showing the use of the SPI based GPIO port expander MCP23S17 to connect two RGB rotary encoders with pushbutton. This chip allows for eight individually addressed MCP23S17 chips to be connected on the same SPI. This allows for a simplified approach to wiring the rotary encoders and their pushbuttons and RGB leds, and also frees up pins on the Teensy. The process uses interrupts. The MCP chip has two […]

Read More →