>0x067 is 103 decimal, which means 103/255 of the Vref. So either Vref has >1.24V (if 0.5V at the a/d input), or you're powering the PIC off 1.24V. Both >of those are well outside of spec (most PICs I've touched to date), so we can >assume the value is incorrect. > >So either something is wrong with your setup, or you've got something >connected improperly, or a floating vref, etc. > >If you can post the schematic/code, it would be much easier. No but it would make sense if the ADC was a 10 bit, as it would then be 103/1023 of the Vref. This would then result in a Vcc of 4.8V (assuming the 0.5V was accurately measured) if the Vcc is being used as the ref. -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu