LabVIEW Interface for Arduino Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Interface Labview Arduino IMU 9DoF I2C

Complicated is relative.  If you are familiar with I2C, Arduino code, and LabVIEW, I'd say it's not that complicated.  To port the code to LabVIEW you would need to look at the libraries for the sensors that you are trying to port.  Effectively, you recreate the functions using the LINX I2C VI's instead of the Arduino I2C functions. 

Also, you should use LINX for interfacing with Arduino since LIFA is old and unsupported.

0 Kudos
Message 21 of 26
(1,922 Views)

none

0 Kudos
Message 22 of 26
(1,922 Views)

Is it complicated to do the conversion from ARDUINO code to LABVIEW code?

I already answered that question above.

Can you do it for me?

No.  I don't have any hardware to be able to test it nor do I have a bunch of time to dedicate to something like this.  Sorry.

P.S.  You can find LINX at http://www.labviewmakerhub.com/linx (When you get working with LINX, you should post further questions on the LINX forum).

0 Kudos
Message 23 of 26
(1,922 Views)

none

0 Kudos
Message 24 of 26
(1,922 Views)

adafruit_products_2013_03_24_IMG_1450-1024.jpgthis

The ADXL345 Breakout has an I2C address of 0x53. It can share the I2C bus with other I2C devices as long as each device has a unique address. Only 4 connections are required for I2C communication:

  • GND->GND
  • VIN->+5v
  • SDA->SDA (Analog 4 on "Classic Arduinos")
  • SCL->SCL (Analog 5 on "Classic Arduinos")

The Adafruit breakout has level shifting and regulation circuitry so you can power it from 3-5V and use 3V or 5V logic levels for i2c

0 Kudos
Message 25 of 26
(1,922 Views)

Hello,

Thank you for LabVIEW vi. Could you please share LabVIEW Projet for this code

0 Kudos
Message 26 of 26
(1,534 Views)