Hi.
How do I convert the digital values from the analog input? I need the voltage value from a battery.
Hi.
How do I convert the digital values from the analog input? I need the voltage value from a battery.
The value 255 corresponds to about 5V.
yeah i know I’ve read that in the manual. But the formula for converting analog from digital isnt quite right. When we are feeding the analog inputs with 5V, we get the value 140 from the demo program.
Have you adjusted the trimmers ATT1 (RV1) and ATT2 (RV2) to max. position?
Remember you need to take the jumpers off near the components VEL255 listed above.
When they are on, the voltage is read from RV1 and RV2 regardless of the input. Turn them and you should see the 140 change.