Multiple Devices on I2C Bus and DAC
i working on project build dac arduino uno.
i have mcp4725(dac) , mcp9808(digital temperature sensor). both i2c interfaced slave modules, , know can connect these 2 modules a4(sda), a5(scl) on uno simultaneously have different addresses.
what trying convert digital signal/data mcp9808 analogue signal display on screen or oscilloscope. however, not sure whether possible receive data mcp9808 , write these data on mcp4725 convert these data analogue signal. have code mcp9808 attached post.
i don't see why can't because uno retrieve data , write these data mcp4725 cover it.
could me out on this, please!
thank you.
i have mcp4725(dac) , mcp9808(digital temperature sensor). both i2c interfaced slave modules, , know can connect these 2 modules a4(sda), a5(scl) on uno simultaneously have different addresses.
what trying convert digital signal/data mcp9808 analogue signal display on screen or oscilloscope. however, not sure whether possible receive data mcp9808 , write these data on mcp4725 convert these data analogue signal. have code mcp9808 attached post.
i don't see why can't because uno retrieve data , write these data mcp4725 cover it.
could me out on this, please!
thank you.
adafruit provides library mcp4725 , it's available in arduino ide under "manage libraries.." (sketch->include library), search 4725. call setvoltage() on object set analog output.
Arduino Forum > Using Arduino > Networking, Protocols, and Devices (Moderator: fabioc84) > Multiple Devices on I2C Bus and DAC
arduino
Comments
Post a Comment