In your very first post, I couldn't find any clear description of your problem or goal....
Resistor coupling is apparently not the same in those two posts - is this okay?
Try this:
Button 1 = 0 Volt => ADC 8 bits = +/-0 , ADC 10 bits = +/-0
Button 2 = 1,25 Volts => ADC 8 bits = +/-64 , ADC 10 bits = +/-320
Button 3 = 2,5 Volts => ADC 8 bits = +/-128 , ADC 10 bits = +/-640
Button 4 = 3,75 Volts => ADC 8 bits = +/-192 , ADC 10 bits = +/-960
I didn't built the circuit above; if ADC values are not stable, try with all R values ( :10) => 10k becomes 1k, 3k3 becomes 300Ohms and so on.
As an alternative, you may want to have a look here "Compiled Tips ‘N Tricks Guide".![]()
Bookmarks