Hi,
looking for advice on choosing a part and/or using clever circuitry.
I'm working on an ESP8266 LED thingy that is running on a 3S lithium battery pack, most likely one of the cheap car jump starter units. Uses the voltage from the batteries directly (most likely no protection given they peak well above 100 amps), charges using the integrated USB circuitry. 12.6V to 9ish volts is dope for the LED strings, everything else sits behind a 5V DC-DC (could be changed for a 3V3 one).
Now I'd like to accomplish two things
a) Get a rough state of charge reading via the A0 of the ESP
b) Integrate protection cutoff for when voltage drops below ~9V total / ~3V per cell
For the voltage reading I guess I would need a ~13:1 resistor divider in any case, as the ADC only offers 0...1V input range. So when using like 100k in total that would mean 126µA steady power consumption (worst case). I'd test higher resistor values and buffer the low segment before deciding for final values of course. I only need like 20% steps, so accuracy is really no requirement here.
As far as protection goes, there are very few units available that offer such a high input voltage. Most voltage detectors like the NCP300/301 series allow for 3V to 5V. My idea would be to cut power to the DC-DC via a MOSFET, which in turn would black out the ESP and related circuitry, meaning all MOSFETs driving the LEDs would also quickly die due to their gate discharge resistor. That way only the protection circuit would still sip countable chunks of electrons, but all major loads are disconnected. As I said, few components allow for a 9-10V detection threshold, such as the Ricoh R3119N090A-TR-FE or the Ablic S-1011E90-M6T1U4. Both are difficult to source for me. Others easily cost 5 times as much as a NCP300 and aren't much easier to buy either. As I only have plus and minus terminals from the battery available, I cannot use BMS chips that would monitor each individual lithium cell (without faking that with another resistor divider), so that's almost out of consideration. I also would like to have this protection on the ESP board, as this is not really a commercial thing yet, but I expect to build and maintain a few of these over the years. Not being locked in to buying a specific 12V power bank with integrated protection would be preferred, so that I can just hook up to any run of the mill 3S pack a decade down the line.
Do you think dividing the battery voltage down to let's say 4V and then use a more common voltage detector in that range would be a good idea? Those things don't consume much power and turning on a MOSFET (ideally only once) doesn't require much gate charge as well. Bonus question: Would integrating that into the ESP A0 voltage divider be a good idea, in order to minimize static power draw?
Thanks!