Battery Type: 12V Lead Acid
It will be disconnected during discharge
End goal: Ideally I would like to sense the battery in real time while charging, and then send that value (after stepping it down) to a value in the range that a microcontroller can use so 3.3v to 3.6v. The microcontroller ideally would use that sensed voltage in a control loop to change a duty cycle dynamically.
I was looking through different ways to sense battery voltage:
Voltage divider
Input Voltage Detector IC
Op amp configuration
But I wasn't sure which method was best to sense the battery voltage while charging, and I got a little confused when I realized that if I did connect a sensing mechanism across the battery terminals or across the output of my circuit while it is being charge, then that sensed voltage would have to be whatever my charger is providing right? Any common design methods to do this that would work great if I am wanting to sense the voltage and then send that result to a microcontroller for it to process and use?
It will be disconnected during discharge
End goal: Ideally I would like to sense the battery in real time while charging, and then send that value (after stepping it down) to a value in the range that a microcontroller can use so 3.3v to 3.6v. The microcontroller ideally would use that sensed voltage in a control loop to change a duty cycle dynamically.
I was looking through different ways to sense battery voltage:
Voltage divider
Input Voltage Detector IC
Op amp configuration
But I wasn't sure which method was best to sense the battery voltage while charging, and I got a little confused when I realized that if I did connect a sensing mechanism across the battery terminals or across the output of my circuit while it is being charge, then that sensed voltage would have to be whatever my charger is providing right? Any common design methods to do this that would work great if I am wanting to sense the voltage and then send that result to a microcontroller for it to process and use?
Last edited: