I want to measure the input voltage (range from 4V-10V) with AD converter on my PIC18F97J94. I need to use resistor divider to scale the voltage between 0V-3.3V to work with my ADC.
I used voltage calculator and came up with values below:
Vin = 10V (max voltage) R1 = 7.5k R1 = 3.7k Vout = 3.3V
Will this schematics work and how do I calculate capacitors value to filter the supply noise? Please find picture attached.
How do I make sure the impedance is within datasheet value? If Im right, maximum impedance on ADC would be 2.5kohm?