General

DFR0971_2_Channel_I2C_0_10V_DAC_Modul

userHead Ravi.Kumar 2023-01-27 13:58:33 124 Views1 Replies

Hi, 

 

I am using DAC module SKU_DFR0971_2_Channel_I2C_0_10V_DAC_Module and configure for 5volt and 10 volt both with below details. 

 

 dac.setDACOutRange(dac.eOutputRange10V);//Set the output range as 0-10 V

 dac.setDACOutVoltage(4095,2); 

 

But I am not getting 10 volt in both the channel. Max voltage is showing 4.5 volt. 

 

 

Thanks,

Ravi Kumar

2023-01-28 16:23:45

There is no need to calculate the output voltage value because the formula for converting I2C output to voltage has already been encapsulated in the library. 0-5V corresponds to 0-5000, 0-10V for 0-10000. For example, to make it output 3.5V within the range of 10V, revise the data in the function setDACOutVoltage(data, channel); to 3500. The product wiki has been modified, please go to the wikipage for details.

userHeadPic Zane