Page 8 of 8

GPIO Pins to control volume

PostPosted: Wed Mar 14 2018 14:47
by juanitomaille
Yes, I'm affraid of that :|

I downloaded pintest utility from wiringPi package, but no problem detected...

GPIO Pins to control volume

PostPosted: Sat Apr 14 2018 12:58
by andymw
I struggled with using a cheap KY040 rotary encoder using the rotary encoder plug-in with all sorts of spurious changes to volume and button presses. I didn't want to de-bounce the switch in hardware, so created the very simple python script below which I launch at boot time. Does the job and uses approx 1% CPU on a Pi 3
----------------------------------------------------------------------------
script.png
script.png (26.37 KiB) Viewed 5425 times

GPIO Pins to control volume

PostPosted: Sat Feb 23 2019 20:28
by angelo.b
I have installed a cheap rotary encoder. the gui .ma plugin does not work. It is very irregular. I turn the volume up and after two clicks instead of getting up, it goes down again. I see that encoder has 3 resistors on its board. but I have heard of condenser between clk and gnd. e possible? tell me how to do in a week the khadas tone board arrives and I would like the volume control to work

GPIO Pins to control volume

PostPosted: Sun Apr 14 2019 11:44
by angelo.b
Is it possible to turn off and on again using the button without removing power?

GPIO Pins to control volume

PostPosted: Sat Jun 22 2019 04:45
by roscored
I was under the impression that you could use GPIO 13 to the SW of the encoder and via the plugin for the rotary encoder using the drop down activate the SW so that it would do something? I have had no success with that, good luck and hope you have success. I have been able to control the volume but nothing else happens