Skip to content

Sensing 3V-4.5V battery w/o booster #18

Answered by rlogiacco
rlogiacco asked this question in Q&A
Discussion options

You must be logged in to vote

No, you actually need to use a voltage divider in order to scale down the battery voltage within the limit of the board: a voltage divider with a ratio of 2 will be good.

There is no need to set the analog reference to 1.1V unless you have other code in your firmware which manipulates it, anyway what you are looking for is the DEFAULT reference which, in your case, is 3.3V: the voltage you want to measure is much greater than 1.1V.

Replies: 1 comment

Comment options

rlogiacco
Nov 16, 2018
Maintainer Author

You must be logged in to vote
0 replies
Answer selected by rlogiacco
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant
Converted from issue

This discussion was converted from issue #18 on December 17, 2020 13:30.