I am unable to get I2C working with Arduino Nano on LabVIEW 2017. I have installed LINX v3.0.1.192 and MakerHub Toolbox v2.0.0.35. When I try to Open the I2C channel, I get the following error:
Error code: 5005
I2C Open.vi<ERR>
The specified I2C channel (0) is not available on the . This device does not support I2C.
The above problem is specific to Arduino Nano. With Arduino Uno, I had no issues, everything worked fine.
In LabVIEW, I went to Tools > Maker Hub > LINX > Firmware Wizard... to configure the Arduino Nano. I selected the correct Serial Port that the Nano is connected to my PC using USB. I first initialize the Arduino by running the Initialize.vi (C:\Program Files\National Instruments\LabVIEW 2017\vi.lib\MakerHub\LINX\Public\Initialize.vi) without any issues. When I try to open the I2C channel by running the Open I2C.vi (C:\Program Files\National Instruments\LabVIEW 2017\vi.lib\MakerHub\LINX\Public\Peripherals\I2C\I2C Open.vi) I get the error above.
For my I2C connection, I am using the following pins according the following blog guide: https://bigdanzblog.wordpress.com/2015/01/30/cant-get-i2c-to-work-on-an-arduino-nano-pinout-diagrams...
A4 >> SDA
A5 >> SCL
The Arduino Nano I have is ATmega328 (Arduino Nano 3.x).