Should be 256 instead of 255. 0 to 255 = 256(2.54/5*255=129.54)?
What are you using for a reference voltage?
The results you are getting looks like the reference is swinging from 5.91 to 6.84 volts.
256 x SIGNAL / ADCresult = REF VOLTAGE
Do you have another volt meter?
Bookmarks