3 Replies Latest reply on Dec 26, 2016 4:21 AM by user_1377889

    i2C to analog 0-10V output

    r.dijkstra05_1488816

      Hello,

         

      I bought an i2C interface module to output an analog 0-10 V to four channels. This module receives i2C commands to set the values (0 - 1023) for each (0-3) channel. Here is a link to the module; http://www.horter.de/blog/i2c-analog-output-4-kanaele-10-bit/

         

      To test the module, I am using the code in the attached 'main' file. However, this does not result in the output of the module changing values. To confirm the module is working, I tested it with an simple Arduino Uno, and everything seems to be working just fine. On the site of the manufacturer of the module, it is stated that an odd number of bytes should be sent, the first one indicating the channel which will be addressed, the second and the third one containing the LSB and MSB of the value to be set.

         

      Can anybody help me on my way on what I'm missing here?

         

      Thanks in advance