Moode Forum
Rotary encoder guru ? - Printable Version

+- Moode Forum (https://moodeaudio.org/forum)
+-- Forum: moOde audio player (https://moodeaudio.org/forum/forumdisplay.php?fid=3)
+--- Forum: Support (https://moodeaudio.org/forum/forumdisplay.php?fid=7)
+--- Thread: Rotary encoder guru ? (/showthread.php?tid=458)

Pages: 1 2


RE: Rotary encoder guru ? - Zootalaws - 09-12-2020

Resurrecting an old thread: I have an Alps motorised pot I would like to use with my IQ Audio rig. I've burgled a nice alloy knob from an old non-HDMI 7-channel amp and put together an Arduino rig to control the motor.

Haptic feedback is a possibility... increased resistance the closer you get to 100% volume, buzzing, electric shock! :0


RE: Rotary encoder guru ? - Johnathan W. - 02-27-2024

Hey, I have been having trouble with the use of the KY040. I have used the GitHub repository that was mentioned in one of the above posts and the encoder works. the only problem i have with this is this, the encoder only turns the volume up, no matter which way the encoder turns it only turns the volume up. I have everything wired the way shown in the plans on GitHub. Any ideas on what is causing this?


RE: Rotary encoder guru ? - v12nut - 03-03-2024

(02-27-2024, 04:51 PM)Johnathan W. Wrote: Hey, I have been having trouble with the use of the KY040. I have used the GitHub repository that was mentioned in one of the above posts and the encoder works. the only problem i have with this is this, the encoder only turns the volume up, no matter which way the encoder turns  it only turns the volume up. I have everything wired the way shown in the plans on GitHub. Any ideas on what is causing this?

I have the same problem in reverse! my encoder only turns the volume down Confused


RE: Rotary encoder guru ? - the_bertrum - 03-04-2024

I'd check carefully the wiring, sounds like you might not have the two signal wires attached correctly.


RE: Rotary encoder guru ? - Johnathan W. - 03-05-2024

(03-04-2024, 09:31 AM)the_bertrum Wrote: I'd check carefully the wiring, sounds like you might not have the two signal wires attached correctly.

I have just checked that. They are all wired to what is seen in the GitHub repository's picture.


RE: Rotary encoder guru ? - the_bertrum - 03-05-2024

OK, I'm afraid I can't help much more then. I have a standard three pin encoder and use the built in encoder script in moOde which works fine. The KY040 looks like a different beast altogether.

(well mine is actually a five pin, but the other two are simply a standard push switch)


RE: Rotary encoder guru ? - steve4star - 03-05-2024

There is a test program here 
https://sensorkit.joy-it.net/en/sensors/ky-040

Perhaps this may help diagnose the issue ?