Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

Smart Bluetooth Forum Discussions

MichaelF_56
Moderator
Moderator
Moderator
250 sign-ins 25 comments on blog 10 comments on blog

This came to me as a personal message from noalac

From the comment in adc.h (line 47), the return value's unit is in Volts.

However, the debug trace output data of ADC port shows that the return value is actually in mV instead of Volt. Which is correct?

0 Likes
1 Solution

The reference voltage should be in millivolts and *not* in microvolts. I believe the developers in one of the other posts linked to above confirm this error.

View solution in original post

0 Likes
3 Replies
MichaelF_56
Moderator
Moderator
Moderator
250 sign-ins 25 comments on blog 10 comments on blog
Anonymous
Not applicable

Thanks,

In my understanding, not only the return value of adc_readVoltage is in mV, but also the reference voltage for ADC calibration is in mV (The comment said the calibration reference is in microvolts...).

The reference voltage should be in millivolts and *not* in microvolts. I believe the developers in one of the other posts linked to above confirm this error.

0 Likes