- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
Solved! Go to Solution.
- Tags:
- adc units
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I believe the value should be in Millivolts.
Take a look at the following threads:
Re: ADC raw value is not saturated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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...).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.