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. ![]()