The polarity of the batteries are ok?Why, sure. That is exactly what I'd like to do. But here's a recap of how the circuit is supposed to work:
- Bank B should be used before Bank A. That is, Bank B can be considered as the main battery bank, and Bank A as the reserve battery bank.
- Bank A only kicks in when Bank B is disconnected
- Bank B provides all power while it is connected
- Measurement of Bank A should be possible regardless of Bank B's connection state.
Then again, here's a thought. Maybe it is best if Bank A's connection state can also be controlled by the MCU. This because Bank B will eventually discharge to an unpractical level, but won't let Bank A go active (according to my circuit in post #55) until it is disconnected.
So the following circuit should let the MCU switch to Bank A when Bank B has discharged to an unacceptable level:
This circuit allows the MCU to enable Bank A for measurement purposes, and keep it enabled if it meets programmed criteria. I know it has a lot of parts in it, but (unless I'm mistaken) it does exactly what I want it to do.
What do you think?
EDIT: I've just corrected a fatal flaw in my original schematic, having to do with Q3 and Q5 connection to ground.
EDIT: Batteries polarity orientation corrected.