Quantcast
Channel: Microcontrollers
Viewing all articles
Browse latest Browse all 4924

Issues with analog input on PIC18F27J53

$
0
0
I am having problems getting correct voltage readings on the PIC18F27J53 analog input.

If I tie my analog input to ground using a pull down resistor. I consistently get a a value of 64 (decimal) in ADRES. I would expect 0.

If I tie the analog input to VDD, I consistently get 65,472 in ADRES. With 10 bit ADC, I would expect 1023 at full scale.

I suspect it might be a problem with my aquestion setup as I find the datasheet as confusing as hell on that subject.

My reference is...

Issues with analog input on PIC18F27J53

Viewing all articles
Browse latest Browse all 4924

Trending Articles