Battery voltage reading #137
Answered
by
rbaron
Nilon123456789
asked this question in
Q&A
-
I am wondering how the battery voltage reading works, since it's using adc AIN2 that is not connected. |
Beta Was this translation helpful? Give feedback.
Answered by
rbaron
Jun 9, 2023
Replies: 1 comment 3 replies
-
Hey @Nilon123456789, You can see here that we use channel 2 for battery measurement, and it's configured to use the VDD pin as input (via the |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
Nilon123456789
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey @Nilon123456789,
You can see here that we use channel 2 for battery measurement, and it's configured to use the VDD pin as input (via the
NRF_SAADC_VDD
value). Channel 2 refers to the SAADC channel, and it's a different thing from theAIN2
pin (which is not used for this). You can refer to section 6.23 on the datasheet for this: