TroubleshootingArduino

Gravity: 2-Channel I2C DAC Module (0-10V) - Can not change value after .store()

userHead Frank.Rackelmann 2023-07-21 18:26:17 157 Views2 Replies

Hi,

 

I use the “Gravity: 2-Channel I2C DAC Module (0-10V)” and I think there is a bug in the library “DFRobot_GP8403.cpp”.

When I use dac.store() I can not change to a new output value.

 

dac.setDACOutVoltage(5000, 0);

delay(1000);
dac.store();

delay(1000);

dac.setDACOutVoltage(8000, 0);

 

With dac.store() the output voltage will never be 8V.

Without dac.store() the output voltage is 5V for 2 seconds and then it is 8V.

 

Thank you for any help.

 

BR,

Frank

2023-07-21 19:51:10

Thanks for your fast response.

Is there a similar product like this one, but maybe cheaper, smaller and only pins for input and output?

I only need 1 channel, Vcc is 3,3V and output voltage must be 0V - min. 8V.

 

userHeadPic Frank.Rackelmann
2023-07-21 18:58:01

Hi!

 

pls try this library. We’ve just updated it.

https://github.com/DFRobot/DFRobot_GP8XXX

userHeadPic jenna