Re: 12 bit A2D on 18F46K80, need a bit of help for figuring TAD and getting correct v
Barry-
I understand what you are saying, and yes, I am using the internal 4.1 reference - 1st time in fact to rely on an internal!. I was trying to use more of the available resolution on the ADC. If I do a 50% voltage divider, I have 2.5 volts against a 4.096 voltage reference. The divider I am using, uses more of the resolution of the 4.096 reference, 3.23 volts against 4.096 which gives me a little headroom above 5 volts.
I have done that in the past, but felt that I left some resolution on the table. This way does work, perhaps not straightforward, but I think it does give me more bits of resolution that can be used.
That being said, if I hadn't found a way (though it was more clunky than Henrik's) - I was sure thinking of doing just that!
Thanks and Regards to All,
Steve
"If we knew what we were doing, it wouldn't be called research"
- Albert Einstein
Bookmarks