SUMMER SALE • UP TO 20% OFF • Ends 31st AUGUST 2025 *excludes trade customers
Support Forum

Share your projects and post your questions

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

Forum Notice – Closure to New Posts

As part of our compliance with the UK’s Online Safety Act, the AB Electronics UK support forum is now closed to new posts and replies.

We understand the importance of continued support for our products, so if you have a technical query or require assistance, please use the Contact Form or consult our Knowledge Base for helpful articles and documentation.

We appreciate your understanding and continued support.


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