Skip to content
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

DAC linearity #4

Open
timblackwell opened this issue Oct 3, 2020 · 0 comments
Open

DAC linearity #4

timblackwell opened this issue Oct 3, 2020 · 0 comments

Comments

@timblackwell
Copy link

timblackwell commented Oct 3, 2020

I am struggling to use your code to achieve the desired results and I believe the issue is the output from my DAC is also non linear. I have taken these measurements with an external voltmeter on the pins for various DAC output values:
200 -> 2.52v
100 -> 1.31v
50 -> 0.71v

When running the test, the program declares Should be: 1.26 measured: 1.26 by setting the output pin to 100 and halving the known voltage at 200, but when if I measure externally the reading is 1.31v.

I wonder if this program maps the characteristics of the DAC to the ADC but as the DAC is non linear, we still do not have accurate readings from the ADC?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant