DanDevine
Rank: Youngling
Posts: 2
Join Date: 7/2/10
Recent Posts
|
RE: Simple ADC
7/11/10 4:57 PM
as a reply to StellenboschStudent .
I'm pretty sure you're going to need either a buffering amplifier or tap the signal through some type of voltage divider.
Unlike the 5V Pic's, this device can't read a full 5 volts on the ADC because you can't go above the supply voltage of the processor!
I'm currently working with the USB Starter Kit too, just got mine a few weeks ago and I'm still figuring it out. If I'm using the correct notation, Vdd is at 3.3Volts on that unit, so you can't go above that on the ADC. If you were to use a simple voltage "input- 5Kohm -- tap -- 5Kohm -- GND" divider, you could measure input voltages to 6.6 volts using system Vdd and Vss as ADC references.
Looks like your configuration flags are using ADC_VREF_EXT_AVSS, is that external? It still can't be above the Vdd though...
|
|
|