What's the need for voltage detector ICs for batteries/supercapacitors?

by AlfroJang80   Last Updated August 13, 2019 20:25 PM

I came across some voltage detector ICs (like the KA75XX) that are designed to detect battery voltage.

I am wondering what's the need for the these when using it with a microcontroller like an Arduino? Since the Arduino has analog inputs, can't you just wire the battery directly to those pins and do an analogRead() with the Arduino? (with an internal pull-up enabled)



Answers 2


In low-cost microcontrollers, like those used in most versions of the Arduino, there is no separate pin or internal circuit that supplies an analog reference voltage. Instead, the power supply voltage is used as a reference. So, the analog-to-digital converter always measures the input voltage as a fraction of the supply voltage.

Therefore, you can't measure the supply voltage directly. The supply voltage is always 100% of the supply voltage.

Elliot Alderson
Elliot Alderson
August 13, 2019 19:29 PM

Reliability: When you need to detect a supply voltage drop and need to turn of e.g. all the machinery, then you don't want to rely on a microcontroller which might already be misbehaving because of undervoltage.

Also, especially the KA75XX are from a time where microcontrollers even lacked basic things like brownout detection and couldn't reset themselves. That's why they needed external circuitry to do that.

Marcus Müller
Marcus Müller
August 13, 2019 19:32 PM

Related Questions


Updated April 04, 2015 16:10 PM

Updated July 20, 2015 13:10 PM

Updated April 05, 2017 09:25 AM

Updated April 26, 2017 03:25 AM

Updated September 10, 2017 12:25 PM