Hi,
i have this rotary encoder AZDelivery KY-040(https://www.amazon.de/gp/product/B079H3C98M/ref=ppx_yo_dt_b_asin_title_o01_s00?ie=UTF8&psc=1) and i conneted GND to PIN 25 + to PIN 1 SW to PIN 29 (GPIO 5) DT to PIN 37 (GPIO 26) I startet the Raspberry and then on the command line sudo pigpiod ;sleep 0.1; sbpd -v e,5,6,VOLU I did not understand the output. This is from 360 degrees clockwise Code: -------------------- 1618346983.1665 6 control.c,466: Encoder on GPIO 26, 5 - value: -2, detents: -2, change: -1 1618346983.1666 6 servercomm.c,74: Send Command:0, Fragment:["mixer","volume","-1"] 1618346983.2913 6 control.c,466: Encoder on GPIO 26, 5 - value: -1, detents: -1, change: 1 1618346983.2914 6 servercomm.c,74: Send Command:0, Fragment:["mixer","volume","+1"] 1618346986.5124 6 control.c,466: Encoder on GPIO 26, 5 - value: -2, detents: -2, change: -1 1618346986.5125 6 servercomm.c,74: Send Command:0, Fragment:["mixer","volume","-1"] 1618346986.6295 6 control.c,466: Encoder on GPIO 26, 5 - value: -1, detents: -1, change: 1 1618346986.6296 6 servercomm.c,74: Send Command:0, Fragment:["mixer","volume","+1"] 1618346988.9477 6 control.c,466: Encoder on GPIO 26, 5 - value: -2, detents: -2, change: -1 1618346988.9478 6 servercomm.c,74: Send Command:0, Fragment:["mixer","volume","-1"] 1618346989.0702 6 control.c,466: Encoder on GPIO 26, 5 - value: -1, detents: -1, change: 1 1618346989.0703 6 servercomm.c,74: Send Command:0, Fragment:["mixer","volume","+1"] 1618346989.7868 6 control.c,466: Encoder on GPIO 26, 5 - value: -2, detents: -2, change: -1 1618346989.7869 6 servercomm.c,74: Send Command:0, Fragment:["mixer","volume","-1"] 1618346989.9057 6 control.c,466: Encoder on GPIO 26, 5 - value: -1, detents: -1, change: 1 1618346989.9058 6 servercomm.c,74: Send Command:0, Fragment:["mixer","volume","+1"] 1618346992.5239 6 control.c,466: Encoder on GPIO 26, 5 - value: -2, detents: -2, change: -1 1618346992.5240 6 servercomm.c,74: Send Command:0, Fragment:["mixer","volume","-1"] 1618346992.6579 6 control.c,466: Encoder on GPIO 26, 5 - value: -1, detents: -1, change: 1 1618346992.6580 6 servercomm.c,74: Send Command:0, Fragment:["mixer","volume","+1"] -------------------- This is from 360 degrees counterclockwise Code: -------------------- 1618347228.6224 6 control.c,466: Encoder on GPIO 26, 5 - value: -2, detents: -2, change: -1 1618347228.6225 6 servercomm.c,74: Send Command:0, Fragment:["mixer","volume","-1"] 1618347228.8504 6 control.c,466: Encoder on GPIO 26, 5 - value: -1, detents: -1, change: 1 1618347228.8505 6 servercomm.c,74: Send Command:0, Fragment:["mixer","volume","+1"] 1618347230.7757 6 control.c,466: Encoder on GPIO 26, 5 - value: -2, detents: -2, change: -1 1618347230.7758 6 servercomm.c,74: Send Command:0, Fragment:["mixer","volume","-1"] 1618347231.0925 6 control.c,466: Encoder on GPIO 26, 5 - value: -1, detents: -1, change: 1 1618347231.0926 6 servercomm.c,74: Send Command:0, Fragment:["mixer","volume","+1"] 1618347231.6107 6 control.c,466: Encoder on GPIO 26, 5 - value: -2, detents: -2, change: -1 1618347231.6107 6 servercomm.c,74: Send Command:0, Fragment:["mixer","volume","-1"] 1618347231.7284 6 control.c,466: Encoder on GPIO 26, 5 - value: -1, detents: -1, change: 1 1618347231.7285 6 servercomm.c,74: Send Command:0, Fragment:["mixer","volume","+1"] 1618347232.2450 6 control.c,466: Encoder on GPIO 26, 5 - value: -2, detents: -2, change: -1 1618347232.2451 6 servercomm.c,74: Send Command:0, Fragment:["mixer","volume","-1"] 1618347232.3634 6 control.c,466: Encoder on GPIO 26, 5 - value: -1, detents: -1, change: 1 1618347232.3635 6 servercomm.c,74: Send Command:0, Fragment:["mixer","volume","+1"] 1618347232.7802 6 control.c,466: Encoder on GPIO 26, 5 - value: -2, detents: -2, change: -1 1618347232.7803 6 servercomm.c,74: Send Command:0, Fragment:["mixer","volume","-1"] 1618347232.8961 6 control.c,466: Encoder on GPIO 26, 5 - value: -1, detents: -1, change: 1 1618347232.8961 6 servercomm.c,74: Send Command:0, Fragment:["mixer","volume","+1"] 1618347234.6137 6 control.c,466: Encoder on GPIO 26, 5 - value: -2, detents: -2, change: -1 1618347234.6138 6 servercomm.c,74: Send Command:0, Fragment:["mixer","volume","-1"] 1618347234.7321 6 control.c,466: Encoder on GPIO 26, 5 - value: -1, detents: -1, change: 1 1618347234.7322 6 servercomm.c,74: Send Command:0, Fragment:["mixer","volume","+1"] 1618347235.0551 6 control.c,466: Encoder on GPIO 26, 5 - value: -2, detents: -2, change: -1 1618347235.0552 6 servercomm.c,74: Send Command:0, Fragment:["mixer","volume","-1"] 1618347235.1712 6 control.c,466: Encoder on GPIO 26, 5 - value: -1, detents: -1, change: 1 1618347235.1713 6 servercomm.c,74: Send Command:0, Fragment:["mixer","volume","+1"] 1618347236.3872 6 control.c,466: Encoder on GPIO 26, 5 - value: -2, detents: -2, change: -1 1618347236.3873 6 servercomm.c,74: Send Command:0, Fragment:["mixer","volume","-1"] 1618347236.5050 6 control.c,466: Encoder on GPIO 26, 5 - value: -1, detents: -1, change: 1 1618347236.5051 6 servercomm.c,74: Send Command:0, Fragment:["mixer","volume","+1"] 1618347236.9231 6 control.c,466: Encoder on GPIO 26, 5 - value: -2, detents: -2, change: -1 1618347236.9232 6 servercomm.c,74: Send Command:0, Fragment:["mixer","volume","-1"] 1618347237.0396 6 control.c,466: Encoder on GPIO 26, 5 - value: -1, detents: -1, change: 1 1618347237.0397 6 servercomm.c,74: Send Command:0, Fragment:["mixer","volume","+1"] 1618347237.4572 6 control.c,466: Encoder on GPIO 26, 5 - value: -2, detents: -2, change: -1 1618347237.4573 6 servercomm.c,74: Send Command:0, Fragment:["mixer","volume","-1"] 1618347237.5723 6 control.c,466: Encoder on GPIO 26, 5 - value: -1, detents: -1, change: 1 1618347237.5724 6 servercomm.c,74: Send Command:0, Fragment:["mixer","volume","+1"] 1618347237.9889 6 control.c,466: Encoder on GPIO 26, 5 - value: -2, detents: -2, change: -1 1618347237.9890 6 servercomm.c,74: Send Command:0, Fragment:["mixer","volume","-1"] 1618347238.1056 6 control.c,466: Encoder on GPIO 26, 5 - value: -1, detents: -1, change: 1 1618347238.1057 6 servercomm.c,74: Send Command:0, Fragment:["mixer","volume","+1"] 1618347239.0229 6 control.c,466: Encoder on GPIO 26, 5 - value: -2, detents: -2, change: -1 1618347239.0230 6 servercomm.c,74: Send Command:0, Fragment:["mixer","volume","-1"] 1618347239.1391 6 control.c,466: Encoder on GPIO 26, 5 - value: -1, detents: -1, change: 1 1618347239.1392 6 servercomm.c,74: Send Command:0, Fragment:["mixer","volume","+1"] 1618347239.4549 6 control.c,466: Encoder on GPIO 26, 5 - value: -2, detents: -2, change: -1 1618347239.4550 6 servercomm.c,74: Send Command:0, Fragment:["mixer","volume","-1"] 1618347239.5706 6 control.c,466: Encoder on GPIO 26, 5 - value: -1, detents: -1, change: 1 1618347239.5707 6 servercomm.c,74: Send Command:0, Fragment:["mixer","volume","+1"] 1618347239.8868 6 control.c,466: Encoder on GPIO 26, 5 - value: -2, detents: -2, change: -1 1618347239.8869 6 servercomm.c,74: Send Command:0, Fragment:["mixer","volume","-1"] 1618347239.9989 6 control.c,466: Encoder on GPIO 26, 5 - value: -1, detents: -1, change: 1 1618347239.9990 6 servercomm.c,74: Send Command:0, Fragment:["mixer","volume","+1"] 1618347240.9172 6 control.c,466: Encoder on GPIO 26, 5 - value: -2, detents: -2, change: -1 1618347240.9173 6 servercomm.c,74: Send Command:0, Fragment:["mixer","volume","-1"] 1618347241.0346 6 control.c,466: Encoder on GPIO 26, 5 - value: -1, detents: -1, change: 1 1618347241.0346 6 servercomm.c,74: Send Command:0, Fragment:["mixer","volume","+1"] 1618347241.5519 6 control.c,466: Encoder on GPIO 26, 5 - value: -2, detents: -2, change: -1 1618347241.5520 6 servercomm.c,74: Send Command:0, Fragment:["mixer","volume","-1"] 1618347241.6681 6 control.c,466: Encoder on GPIO 26, 5 - value: -1, detents: -1, change: 1 1618347241.6682 6 servercomm.c,74: Send Command:0, Fragment:["mixer","volume","+1"] -------------------- First: clockwise are 20 lines, counterclockwise are 64 lines Second: The command changes by every Signal one time +1 and one time -1 what results in no change of Volume It is equal if i use pigpiod -t 0 or -t 1 Does anyone have an idea whats wrong Thanks, sky ------------------------------------------------------------------------ skywalker's Profile: http://forums.slimdevices.com/member.php?userid=10849 View this thread: http://forums.slimdevices.com/showthread.php?t=107001 _______________________________________________ diy mailing list diy@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/diy