maximum recommended impedance - pic microcontroller

Thread Starter

ecka333

Joined Oct 1, 2009
76
I need to measure voltage up to 30V with PIC18F1320 microcontroller. I am going to use divider with to resistors R1 and R2. So maximum input voltage to microcontroller wil be 5V. But microcontroller datasheet says that: The maximum recommended impedance for analog sources is 2.5 kOhm. So how to calculate resistor chain impedance; maybe it will be 2,5k o maybe sum of R1 and R2, that is 15kOhm?
 

Attachments

SgtWookie

Joined Jul 17, 2007
22,230
Use a 10nF or larger cap to analog ground at the ADC input sample pin. That will provide a low impedance source for your ADC to sample. Make certain that you wait for a sufficient amount of time between samples so that the input cap will be very close to representing what the voltage would be without the cap.

Another way would be to use a low-offset RRIO opamp to provide a low impedance input from the high-impedance junction of the voltage divider.
 

crutschow

Joined Mar 14, 2008
34,470
I need to measure voltage up to 30V with PIC18F1320 microcontroller. I am going to use divider with to resistors R1 and R2. So maximum input voltage to microcontroller wil be 5V. But microcontroller datasheet says that: The maximum recommended impedance for analog sources is 2.5 kOhm. So how to calculate resistor chain impedance; maybe it will be 2,5k o maybe sum of R1 and R2, that is 15kOhm?
From the PIC's input point-of-view (for AC), the two resistors are in parallel. So the impedance it sees with your resistor divider values is thus (2.5k*12.5K)/(2.5k+12.5k) = 2.08k ohms.
 
Last edited:
Top