Battery monitoring problem.

Hi all,

I want to monitor Battery voltage which is used for solar inverter(PWM based charging-Sukam Eco brain). I tried using a voltage divider of 4 x 220K and 4x 1.5K . Both are working fine while Battery is discharging(No solar / in external AC). Once it starts charging, I am getting 10-20 values from analogRead(A0). I tried using a 103 disc capacitor between A0 and ground.

Thanks for any help.

If the charger voltage is very dirty, 10nF is far to litte cap. Use 10+ uF.
Ensure a stable reference voltage to arduino.

knut_ny:
If the charger voltage is very dirty, 10nF is far to litte cap. Use 10+ uF.
Ensure a stable reference voltage to arduino.

Hi,
Thanks for the reply. I tried 100uF in parrellel and added some inductor with a core(taken from computer SMPS). Still no change. If I am using a multimeter, no change in value. Please help

Wiring diagram with voltage, current and resistance values? Please. :slight_smile: