Checking battery status using ADC

Discussion related to "under the hood" OpenMV topics.
User avatar
petri
Posts: 15
Joined: Tue Jul 05, 2016 11:52 am
Location: Finland

Checking battery status using ADC

Postby petri » Mon Aug 22, 2016 4:49 am

When powered by a battery, would it be possible to check the battery power level by reading the voltage through the ADC pin?

I read elsewhere in the forums (see the "help on connecting" thread) that unfortunately the ADC pin supposedly only tolerates 3.3V. My battery is 3.7V so I guess some sort of voltage divider would be required. Any suggestions on what kind would make most sense? Other issues?
User avatar
deshipu
Posts: 72
Joined: Sat Jan 09, 2016 5:36 am
Location: Zürich
Contact:

Re: Checking battery status using ADC

Postby deshipu » Mon Aug 22, 2016 4:11 pm

I use the ADC precisely for that, and I just use a simple voltage divider made of two equal resistors (47kΩ, I think), which halves the voltage. This way I have a bit of a margin there (I don't need my measurements to be very precise).

Return to “Technical Discussion”

Who is online

Users browsing this forum: No registered users and 6 guests