i need to read -2v to +2v voltage range. i am using pic16f1786 12 bit adc in differential mode.
is it possible to do with this in this micro controller
i am using 2 v +vref from FVR buffer in the micro controller
i am confused about -vref. what it mean? should i need to use this for my application?
for testing i am configured +vref from fvr 2v reference and -vref as ground. when i check the value from the adc, if 1 put 0 mv from my differential input, adc output is 25 count when i increase +1mv,+2mv,+3v.... count increase gradually up to 4096. so i can trace up to 2v
same configuration when i put -1mv my adc count is 23
-2mv '' 20
- 3mv '' 17
-11mv '' 1
when i put -12mv ,-indication of the adc ADRESH register get activated , i am using 2's compliment method
so up to -11mv negative indication of the ADRESH is not activated (showing as in +ve side)
please help me to solve this problem. i tried a lot , but i can't find out anything....