Battery Level Monitoring Circuit (no ADC)

Is there a way to detect battery voltage using diodes, transistors, and comparators instead of using Arduino's ADC?

I'm trying to do everything I can for my circuit to read a 3.7V Li-ion battery using software and hardware techniques that I can understand from articles I've read so far online. I feel kind of hopeless trying to get an accurate reading due to the possible noise of a boost converter based on the CE8301 IC. This may be my last option after attempting an RC and LC filter later instead (I've used cap filters, nuh uh). I think I just need to buy the materials before the nearby electronics store closes, for now.

I think the circuit I have in mind would help, but since I have very limited experience to various ICs and electronic components, I don't know how to execute it.

I have my code reading the analog voltage, then compares the value to thresholds. If voltage is greater than 3.7 V, then battery is in good condition. If below 3.7 V and greater than 3.3 V (or 3.0 V, say), battery is getting low. If it hits the 3.3 or 3.0 V mark, the Arduino reads thay battery is criticall low.

I have seen circuita do some of that but for lead acid only (as far as I've researched online), and I don't know how to interface it with an Arduino. Any suggestions or links that may help? Thank you!

Please guys, I'm not asking any of you to do the circuit. Just give me an idea and somehow let me follow so I can learn too. Thanks again. :smiley:

rayrayrayyourboat:
Is there a way to detect battery voltage using diodes, transistors, and comparators instead of using Arduino's ADC?

Hi,
Depending on what you mean by "detecting".
What's the prevention on using the arduino ADC?
Regards.

use zener diode - How to Build Voltage Level Indicator Circuit with a Zener Diode

and connect it to digital pin

@vffGaston

What I think I meant was reading the analog voltage. I was using the ADC for quite a while now, but I'm trying to have many options to try out if im case ones before this won't work out.

Anyway, I have looked up to some sources online and I found about the LM339 IC battery voltage monitor circuit like one here. It may seem redundant to connect it with an Arduino where instead you could just use the ADC, but if noise is a problem, maybe I'll take it as an option.

rayrayrayyourboat:
@vffGaston

What I think I meant was reading the analog voltage. I was using the ADC for quite a while now, but I'm trying to have many options to try out if im case ones before this won't work out.

Anyway, I have looked up to some sources online and I found about the LM339 IC battery voltage monitor circuit like one here. It may seem redundant to connect it with an Arduino where instead you could just use the ADC, but if noise is a problem, maybe I'll take it as an option.

HI,
It sounds reasonable, specially if it is a critical service.
Nevertheless, noise can be avoided (better minimized); what is the environment?
Regards.