I use fader for midi controller (from behringer X32) and after it is connected I see that the value on analog input is slightly changing by itself, even if don’t touch the fader.
What it can be? I need to have constant value until user move the fader.
The changing about 2-3 ( or even more ADC uinits) are perfectly normal for Arduino analog input.
As @UKHeliBob said, you have to rework the code that the program takes to account only significant changing of the value - say more than 3 or 5 units.
I never saw jumps more than one up or down with an Uno and good connected hardware.
Code with hysteresis can stabilise that to no jumps at all.
Example sketch attached that prints a solid 0-255.
Leo..
I see your point. But the topic was created in “Other Hardware” branch, and I was thinking it is not about arduino but probably fader or something. But anyway thank you for your time and perfect solution