-
-
Notifications
You must be signed in to change notification settings - Fork 725
AnalogReadCorrection gives wrong results if ADC resolution is 10bit #608
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
What's going wrong? |
It seems that the code which handles the correction is wrong! |
Hi @hasenradball , |
Hi facchinm, sure I read the instructions. I testet it on the Arduino 33 IOT with 12 bit and with 10 bit.
But with your comments there is a misunderstanding in Gain- and Offset-correction and absolute Gain and Offset?!? What would be your proposal to get on? |
Here you find the Output for the 10 bit test: #define ADC_RESOLUTION_BITS 10
|
Here you find the Output of the 12 -bit Test: #define ADC_RESOLUTION_BITS 12
|
Hi facchinm, one question beside. |
Or is it intented to copy the content of the zip into the installed folder to be up to date? |
Hi facchinm, did my feedback help. |
@hasenradball thanks for reporting back and sorry for the delay. |
Thanks for your reply, why does it only work for the default resolution? Thanks |
I used the example sketch "CorrectADCResponse" with 10 bit and get the Correction of (0,0).
Then I used the following lines:
And then the NANO 33 IOT is not able to measure anything!
Read_ADC_Example.zip
The text was updated successfully, but these errors were encountered: