Maschine2501 / NR1-UI

Userinterface for Volumio (RaspberryPi) with ssd1322 and ssd1306 oled display, spectrum bargraph, progress bar, LED functions, Standby-functions, 4 Buttons and Rotary Encoder.
Other
45 stars 12 forks source link

Rotary encoder help #13

Closed imarkone closed 2 years ago

imarkone commented 2 years ago

Hello, I have a problem with the rotary encoder, the switch does not work on it. I tried two models, changed cables and nothing. The rotation works OK, but when I press the rotary encoder for a short time or longer, nothing happens. Thanks for help. M Volumio version is 3.233

imarkone commented 2 years ago

I tried using bash command NR1-UI/PreConfiguration.sh and tried custom setting for rotary encoder, also tried other GPIO for SW button but nothing helped.. I use HW-040 and Keyes. Both behave the same, gpio 27 switch does not work.

imarkone commented 2 years ago

I managed to solve the problem, I noticed that both encoder modules are missing a 10K smd resistor for the switch. I also looked at other encoders in e-shops, and even there, according to the pictures, the resistor is missing, but I also found some that had a resistor, e.g. on ebay. So I added it, I didn't have an smd, but a resistor is a resistor :-) After adding a resistor, the switch already works, I guess it will help someone IMG_2077 IMG_2076 .