Moode Forum
Add a second rotary encoder - Printable Version

+- Moode Forum (https://moodeaudio.org/forum)
+-- Forum: Community (https://moodeaudio.org/forum/forumdisplay.php?fid=18)
+--- Forum: General Discussion (https://moodeaudio.org/forum/forumdisplay.php?fid=21)
+--- Thread: Add a second rotary encoder (/showthread.php?tid=2257)



Add a second rotary encoder - The Herb Guy - 03-12-2020

Hello music lovers,
can someone explain me how to connect a second rotary encoder?
Maybe it's necesarry to enhance the current script of the rotary encoder (where is it?).

Kindly regards
The Herb Guy


RE: Add a second rotary encoder - The Herb Guy - 03-16-2020

Hi,

nobody that can point me in the right direction?

The Herb Guy


RE: Add a second rotary encoder - Tim Curtis - 03-16-2020

Have a look in the repo
https://github.com/moode-player/moode/tree/develop/other/rotenc

There is a python version of the encoder driver and a C version. Note that the C version uses the WiringPi GPIO library which was deprecated by the maintainer last year before he updated it to support the Pi-4B.

-Tim


RE: Add a second rotary encoder - The Herb Guy - 03-17-2020

Thanks Tim,

also I found the .service file!
Is there a possibility to add an option for a secondary encoder configuration in the sql db and the ui?

I hate to hardcode the stuff.

Regards,
The Herb Guy


RE: Add a second rotary encoder - Tim Curtis - 03-17-2020

Theres not really much demand for the feature and the TODO list already has a mile long backlog. Maybe another dev will take up the cause and volunteer to write the code and submit a PR to the project repo.