06-07-2017 07:03 PM
Hello All,
I want to convert digital output from arduino to analog. for that i am using Adafruit MCP4725 (DAC). DAC should be connected to SDA and SCL pins of arduino which 20 and 21 in Arduino MEGA.
My queries:
1. In labview arduino Digital Write block only shows 0-13 pins to write but it shows for Uno Arduino. If i am using Arduino Mega then it will work automatically i am using digital write 20th pin.
2. Can i connect PWM output to SDA pin of DAC.
Thanks
Siddharth
06-22-2017 07:30 AM
Dear Siddharth,
the arduino board is not officially supported by Labview. The question you have is most likely better placed in the Labview Makerhub Forum, which also Provide the Free Linx Library, which you can use to program your arduino using Labview:
https://www.labviewmakerhub.com/forums/
Cheers
06-22-2017 10:30 AM - edited 06-22-2017 10:33 AM
@sidring wrote:
Hello All,
I want to convert digital output from arduino to analog. for that i am using Adafruit MCP4725 (DAC). DAC should be connected to SDA and SCL pins of arduino which 20 and 21 in Arduino MEGA.
1. In labview arduino Digital Write block only shows 0-13 pins to write but it shows for Uno Arduino. If i am using Arduino Mega then it will work automatically i am using digital write 20th pin.
2. Can i connect PWM output to SDA pin of DAC.
1. You are using an I2C DAC so you do NOT connect the input of the DAC to a digital output of the Arduino. You connect the DAC to the Arduino I2C bus pins (SDL and SDA) You send the digital value you want to convert to analog to the DAC over the I2C bus.
2. NO, see answer #1.
EDIT: DAC not DAQ, lol...