Encoder

Good morning everyone, I wanted to ask for some information. Using these boards, how should I wire the encoders to a Raspberry Pi 4? Thank you all for your help.

I realized I had the wrong multiplexer, sorry

Hi @mnovaro !!

Really welcome to zynthianland!! I hope you enjoy the journey!

These multiplexer chips are not supported, so unless you are a skilled C programmer and want to dive deep into zynthian internals, I would suggest to follow a paved path and use MCP23017 GPIO expander.
Indeed, I don’t think it’s a good idea to use a multiplexer for driving encoders in the pi. Polling gpio pins at high frequency should be avoided. It’s better to use interrupts.

Regards!

1 Like

Thank you very much for your help, I will definitely do as you advise me.