General Gravity

DFRobot_GP8403 (DFR0971) for Teensy4.1

userHead Aaron.Snauwaert 2023-11-22 15:44:30 204 Views0 Replies

Hello all,

I was prototyping a project on an Arduino Uno where I used the DFR0971 “Gravity: 2-Channel I2C DAC Module (0-10V)”.

I used the provided Arduino Library. In most cases I can just use the Arduino libraries of products on my Teensy4.1 using the Arduino IDE. However this library isn't working. The following code results in the DAC Module outputting the max voltage of the range. There is communication with the module, because when I change the Output range from 5 to 10 the voltage on the channel also changes from 5 to 10. But setting a specific voltage doesn't work.

 

(I use the “outputData” example provided with the library)

What do I have to change to make it work with my Teensy4.1?

Thanks in advance!