LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to use MPU 6050 with NI 6000 in labview

Solved!
Go to solution

how to acquire data of X,Y,Z axis of   MPU  6050 accelerometer  with NI 6000  in :Labview.

0 Kudos
Message 1 of 6
(2,600 Views)
Solution
Accepted by topic author chaitanya_krishna

Hi Surya,

 

those MPU6050 accelerometer only supports I²C communication.

You're out of luck with your USB6000: use other hardware!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 6
(2,540 Views)

i am using urdino uno board still i amnot unable to get the data using labview.

0 Kudos
Message 3 of 6
(2,524 Views)

Hi Surya,

 


@chaitanya_krishna wrote:

i am using urdino uno board still i amnot unable to get the data using labview.


Because of which reason? Do you get any errors?

 

I don't use LINX, so cannot comment on your VI.

I suggest to use the "ordinary" ArduinoIDE to let your Arduino read that sensor and send its data to its (virtual) COM port. Then use VISA functions to read the COM port from LabVIEW…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 6
(2,519 Views)

Even i had tried that in aurdinoIDE still no response after initlization i2c then it goes for dmp initialization. stil i amnot able to get the data .all connections to uno is correct

0 Kudos
Message 5 of 6
(2,514 Views)

Hi chaitanya,

 

so there is a problem in the communication bus, or the devices you use…

Check them all!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 6 of 6
(2,509 Views)