Voltage measure problem in charge controller

Thread Starter

imtiaz9

Joined Oct 21, 2010
1
F4D99BKHUVPR4J5.jpg
I not understand the procedure of measuring SOLAR and BATTERY voltages. The time the MOSFET Q1 ON, the voltage will be nearly the same on solar and Battery side even if we start to charge the battery from low voltage level...so how could we measure the battery and solar voltage separately while MOSFET is ON???
I thought that we might measure the voltage of battery in zero period of the input PWM signal but is this time enough for adc and to make battery return to its actual voltage level...???
 

Jony130

Joined Feb 17, 2009
5,598
Have you looked into the uC code? Because the ADC inputs are A0 and A1 (voltage dividers outputs). So you can measure voltage independently from PWM.
 
Top