DAC set voltage or set raw, written value different as measured one
The Expander Pi is an Analogue, Digital and RTC development Interface for the Raspberry Pi
27/09/2020
Posted by:
belette
I face to a new mistake with my Expander Pi, for example : when I write "expi.dac_set_voltage(2.8;1;2)" measured value on output 1 is 2.54V. There is always a gap between requested value and measured one.
I don't use an external voltage reference, what can explain this gap how can I solve it ?
program in C++ with Qt., same issue with code blocks.
Regards
27/09/2020
Posted by:
andrew
Sorry, there was a bug with the dac_set_raw function in the Expander Pi class. Please can you try downloading the updated version of ABE_ExpanderPi.cpp in our GitHub repository and see if that fixes your problem?
28/09/2020
Posted by:
belette
ok, it works with this updated file.
MANY THANKS
Note: documents in Portable Document Format (PDF) require Adobe Acrobat Reader 5.0 or higher to view.
Download Adobe Acrobat Reader or other PDF reading software for your computer or mobile device.