About Us Knowledge Base Community Forum Electronics Toolbox FAQ Shipping & Delivery

Community Forum

Share your projects and post your questions

Search
Register or Sign In
Forum

DAC set voltage or set raw, written value different as measured one

65 Views - Created 24 days ago

24 days ago

Posted by:
belette

Users Avatar

Hi,

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

24 days ago

Posted by:
andrew

Users Avatar

Location:
United Kingdom

Users Twitter  Users Website  

Hi

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?

AB Electronics UK Tech Support

23 days ago

Posted by:
belette

Users Avatar

Hi,

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.