Hi,
- In our project we are using the adc pin (p02) for batttery level measurement.
- The analog dc signal from the battery is connected to p02 pin after the voltage is divided into half by using an voltage divider circute.
PROBLEM
- When we measure the voltage of battery using the oscilloscope . The ripples in the input dc signal is 160 mv.
- Look the above figure .
We want to reduce these ripple from the dc input signal . We are planning to place a capacitor to ground before the adc pin for removing the ripples ,Is these a proper way?
Our adc readings are fluctuating so much .I think these changes will reduce the adc value fluctuation ,is it right?
Please help me to solve these issue .
If you need any further input please ask.