For a rotary encoder use this one.
Myself I’ll use rotary encoder type KY-40.
Please look at my last posting on the topic that michel8166 posted, ther eis a drawing with GPIO pins.
Normally a prefab. rotary encoder has the resistors soldered on the PCB.
You do need them to avoid floating pins.
Hi Wheaten! I manage now to use rotary encoder ky-040 for volume - volume+, however, i can’t manage to function the press button on rotary encoder. I just want to use rotary press for stop/play using short press, long pressed for system shutdown and double pressed for reboot system.
I am using rpi 3b+ with volumio version 3.631, with attached these ff;
-rotary encoder ky-040
-16x2 lcd i2c
-buttons for functions.
I use version 3.631 coz i manage to install this 16x2 lcs i2c coz latest version didn’t work out.
Unfortunately, my case with rotary encoder has moved to the bin. If I recall correctly it depends to which GPIO you put the button press. Not sure if you’re sending 3.3V to the GPIO or gnd?
I’m good now wheaten! I add and solder 10k resistor on “R1” now it’s working.
Hi wheaten! Mind me to ask you again? I don’t know which thread should i post this, but i just want to know if there’s a way to know which pin/gpio are not used by suptronics x920 dac, coz i just want attach some wires from lcd1602, buttons and rotary encoder.
Euh google???
X920 - Geekworm Wiki.
Not sure if it’s exact the same, but the screenshot sows Suptronics.
Should i only use to wire that particular pinout? No wiring for 3.3v or even 5v from pi gpio to dac pin?
not sure if I understand your question.
Your DAC needs to be powered, just avoid the pins mentioned.
Very difficult to say, are you able to connect with the manufacturer or geekworm, as it seems they took over the design?
I mean do i need to add wire from pi gpion(3.3v or 5v) to dac hat? Or just only gpio 19,18,21 and GND?
I would put the hat straight on the rPi and order a GPIO extender for your rotary encoder.
Don’t start hassling with wires to your DAC.
Something like this:
Thanks wheaten!
Has anyone tried a plain ol’ USB connected controller like this?: