ADC accuracy
#11013
Replies: 3 comments 13 replies
-
A few comments:
So I think the 3.07 or 3.09 readings are consistent. The DAC value you set has to be checked with a voltmeter. |
Beta Was this translation helpful? Give feedback.
1 reply
-
Thank you, yes i measure 1.02v with my voltmeter at dac out
Le 12 mars 2023 08:23:38 GMT+01:00, Robert Hammelrath ***@***.***> a écrit :
…A few comments:
- at an ATTEN value of 11 dB, the range is 0 to ~3.3V. The documentation is wrong, as can easy be calculated by 10**(ATTEN/20).
- In the printout for read_u16, you use 1.1V as reference instead of ~3.3
So I think the 3.07 or 3.09 readings are consistent. The DAC value you set has to be checked with a voltmeter.
--
Reply to this email directly or view it on GitHub:
#11013 (comment)
You are receiving this because you authored the thread.
Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Thé micropython doc said read_UV() returns directly voltage with calibration use of fuse
Le 12 mars 2023 08:47:13 GMT+01:00, Robert Hammelrath ***@***.***> a écrit :
…Checking back at the espressif docs and my selection of boards, there is an interesting difference:
- the old ESP32 have an initial range of 0-1.1V, and 0-3.3V at 11db attenuation, and a 12 bit resolution
- the new boards (Like S2) have an range of 0-0,85v, and 0-2.5V at 11db attenuation
--
Reply to this email directly or view it on GitHub:
#11013 (reply in thread)
You are receiving this because you authored the thread.
Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
12 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I tried to work with adc value, but i can't reach accurate measurements.
what's wrong with my code ?
out:
Beta Was this translation helpful? Give feedback.
All reactions