-
On behalf of a user: I'm looking at your library and I wonder if, for a |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
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 |
Beta Was this translation helpful? Give feedback.
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 theDEFAULT
reference which, in your case, is3.3V
: the voltage you want to measure is much greater than1.1V
.