Hi. I’m trying to get an Analog In reading with the least amount of noise possible. Out of the 1024 values that Arduino gives to the Input, I need it to sway no more than 6 values (10 if the input voltage is optimised).
Currently, the input stays at one voltage and moves up or down in increments of 0.04 volts but only when inputted by the user. Otherwise the voltage stays spot on. With each increment, a different color is outputted to the LED. Can anyone help me reduce my ADC noise? I’ve tried capacitors almost everywhere and still havent had much luck.
I can’t use a smoothing function in the code because I need the Input to respond quickly and accurately to the changes in Voltage. That way the color changes on the LED are accurate to the inputted value without having input colors show up from the smoothing function. Also, if I could keep this on one power source, that would be great!
Optimisation: Currently my range of input is 3.4v. If i could manage to move that to 5v then that would probably help a lot. I’ve gotten close with a voltage divider but it was still too noisy. So maybe with one or two more fixes this will help get it to where it needs to be. The hardest part about this is that I haven’t been able to read any current from my voltmeter, making it hard to choose resistor values.
Any help would be much appreciated! Thanks