My goal is to replace the analog battery gauge in the dashboard - with a more accurate, digital gauge.
My first idea was to look for a specialized IC. I'm familiar with battery gauges for LiPo batteries like the STC3100IST, so I thought "probably there's something similar for lead-acid batteries, since they are used in nobreaks".
And indeed there was, like the bq78412 - but all hard to find, overwhelmingly complex. Also, they are designed to measure multiple cells, with current measuring features which for a car are of course not useful (think about installing a current sensing resistor...)
Then, my second choice was just to use an ADC after a voltage divider made with resistors to reduce from the 12-14V to hundreds of milivolts - giving a 10x margin to survive voltage spikes.
But this second choice seems almost too simplistic. Will it work? Will it survive the harsh environment a car is? Are there any feasible alternatives?
Thanks in advance.