Hello
here is a working schematic view of the STEC11B03 encoder to the GPIO pins of the Raspberry.
Thanks to M1ck for his corrections.
Additionally my schematic view of a KY-040 encoder to the Raspberry in connection with an ALLO BOSS DAC. The GPIO PINS were chosen so that they do not collide with the GPIO PINS used by the ALLO BOSS DAC.
This works very good on a RPI3B+, Volumio 3.251 an RotaryEncoder II 1.0.11 plugin
Thanks T0MR0 four your great plugin