Support Forum

Share your projects and post your questions

Register   or   Sign In
The Forum

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

belette 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

27/09/2020

Posted by:
andrew

andrew Avatar

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?

28/09/2020

Posted by:
belette

belette Avatar

Hi,

ok, it works with this updated file.

MANY THANKS

Sign in to post your reply


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.

Home

Shop

Learn

Forum

FAQ

Contact

0 item

Your cart is empty

Please browse our shop to order from the wide range of Raspberry Pi boards and accessories.

Subtotal:£0.00
View Basket Continue to Checkout