Encoder support in RevPi DIO and DI modules

Topics about the Hardware of Revolution Pi
Post Reply
ctf
Posts: 3
Joined: 08 Jan 2020, 02:51

Encoder support in RevPi DIO and DI modules

Post by ctf »

The information at the link below says "A maximum of five encoders per RevPi can be used."
Is that per RevPi CPU module, or per RevPi I/O module?
Link ref: https://revolutionpi.com/en/knowledge/c ... ng-encoder
User avatar
RamiGspo
KUNBUS
Posts: 64
Joined: 02 Jun 2022, 23:20

Re: Encoder support in RevPi DIO and DI modules

Post by RamiGspo »

Hi ctf,

I don't have direct hands-on experience with encoders, but your question was interesting enough that I decided to test it. And I can confirm: the limit is 6 encoders per I/O module, not per CPU module.

With a RevPi DI alone, you can configure up to 6 encoder pairs without issues
When you try to add a 7th, PiCtory immediately throws an error "ERR: number of counter values is too high (max: 6; Encoder-pairs only count as one)".
Bildschirmfoto vom 2026-04-22 07-50-47.png
I then added a RevPi DIO to the same configuration, and the DIO independently allows another 6 encoder pairs. Again with the same error appearing if you exceed that per-module limit.
Bildschirmfoto vom 2026-04-22 07-55-53.png
So in a system with both a DI and a DIO, you can have up to 12 encoders in total... 6 per module.

I think that the documentations article stating "a maximum of five encoders per RevPi" is incorrect... the number should be 6, and it applies per I/O module, not per RevPi system.

You can verify this in the module-specific footnotes for the RevPi DI and RevPi DIO, which already state the correct limit of 6.
Footnote DI - Ref2 https://revolutionpi.com/en/docs/revpi- ... tnoteref_2
Bildschirmfoto vom 2026-04-22 08-11-42.png
Footnote DIO - Ref2: https://revolutionpi.com/en/docs/revpi- ... tnoteref_2
Bildschirmfoto vom 2026-04-22 08-10-30.png
I'll get the knowledge base article corrected in the coming days.
Thanks for raising this, it turned into a useful test.
Mit freundlichen Grüßen | Best regards | Muchas gracias

Ramiro Gsponer.
Post Reply