Measuring voltage and current from PWM solar controller

Note that regulation of a solar charger is usually in the ground line. Meaning, solar(-) is not the same as battery(-). There can be several volt between batt(-) and solar(-). Panel(-) is negative during the day, and positive during the night. I think only three things are important.

  1. solar panel current
  2. load current
  3. battery voltage

Panel voltage is meaningless.

You could fry the ADS when any input voltage gets outside it's supply/GND.
Leo..