city41 / rotary-bobble

Puzzle Bobble with rotary controls
https://rotary-bobble.mattgreer.dev/
GNU General Public License v3.0
3 stars 0 forks source link

Resolve the noise in the rotary input #10

Closed city41 closed 9 months ago

city41 commented 9 months ago

Hopefully with the LM4040. If not, might need to switch to arduino.

city41 commented 9 months ago

It is allllllllmost gone. There is some small jittering at some values. But I think after all my research, it's just the reality of the pico. I will try an arduino next. It is known to have a better ADC, and 5v versus 3.3v will hopefully mean slightly cleaner readings too.

Oh I'll also try a pot with higher resistance, as I've also heard that can improve things. My current pot is 5k, I will try a 20k one.

city41 commented 9 months ago

Switching from a Pico to an Arduino Nano solved all the noise issues. The Arduino's ADC is just better. It's unfortunate because Picos are much cheaper, but ah well.