#Rotary encoder not working

7 messages · Page 1 of 1 (latest)

errant vine
#

Hey everyone, I'm working on a deej project and decided to replace one of the potentiometers with a rotary encoder. Now, I'm using the rotary encoder as the master volume and the other 4 potentiometers for the rest of the controls.

The issue is that when I check the serial monitor, both the encoder and potentiometers are working fine, but when I open the deej app, the encoder doesn't seem to affect anything, even when I rotate it. I’ve checked the config.yaml file and made sure the port is set correctly to port 5, matching my board, but it still doesn't work

balmy kettle
#

Encoder should give values 0-1023

errant vine
#

I adjusted the encoder values to match the potentiometer values. Could that be what’s causing the issue?

idle nacelle
errant vine
# idle nacelle https://github.com/SNR-Tech-Bytes/deej_encoder

Thanks for the suggestion, it helped me get a bit closer to a solution! Just to confirm, with the configuration of 1 encoder and 4 potentiometers, do all the values need to be the same range, or is it okay if they differ? For example, the encoder is range from 0-1023, and the potentiometers are from 0-4095.

balmy kettle
#

I think the deej.exe reacts only to 0-1023 where 0 = 0% and 1023 = 100% so yes they should all be the same.