TeslaUnit
Newbie level 3
Hello!
I have a current problem with my 16F877 that I really need help solving. What I am doing is going through the ADC process but I am not recieving the resolution (hope im refering to this properly) that I desire. My +Vref is +5V, and the current result i am recieving is not at the sensetive as I want.
To better explain myself is my current results based on the input (V) and the output after the ADC.
1V - 0000 0000bits
2V - 0000 0001bits
3.3V - 0000 0010bits
5V - 0000 0011bits
Therefore I want it to use the whole span of the register (all 8 bits) and to adjust the digital output after, for instance, a change in ever 100mV.
Thanks!
I have a current problem with my 16F877 that I really need help solving. What I am doing is going through the ADC process but I am not recieving the resolution (hope im refering to this properly) that I desire. My +Vref is +5V, and the current result i am recieving is not at the sensetive as I want.
To better explain myself is my current results based on the input (V) and the output after the ADC.
1V - 0000 0000bits
2V - 0000 0001bits
3.3V - 0000 0010bits
5V - 0000 0011bits
Therefore I want it to use the whole span of the register (all 8 bits) and to adjust the digital output after, for instance, a change in ever 100mV.
Thanks!