LabVIEW Interface for Arduino Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Arduino MPU-6050 to Labview program!

Ok so I'm working on a project that will read degrees from movements that an ankle makes. I want to work with a MPU-6050 (utilizing the accelerometer and gyroscope) so I set up it up with an arduino uno and was able to get readings of yaw, row and pitch. Its working but its just raw data. I move the MPU-6050 around and it gives readings all 3 axis but now I want to create a program on labview that will pull that information from the MPU-6050 and read it on labview ( accelerometer + gyroscope) and give me the visualization of the degrees and a way to calibrate. I attached the program  from the arduino IDE that I used. PLEASE HELP ME how can I can make my idea come to life. maybe a rough labview program that reads the MPU-6050 and can calibrate it ? I'm new to this THANKS!

0 Kudos
Message 1 of 2
(4,838 Views)

There are three ways to do this:  Use LINX and interact with the sensor directly from LabVIEW, use your existing Arduino sketch and simply stream back data over serial, or do all the calculations on the Arduino and then send back only the processed data.

When using LINX, the data acquisition will be a little slower because of the extra overhead necessary to implement LINX (because it is a generalized tool).

If you want to use an existing Arduino sketch (that sends raw data only), I'd recommend simply streaming the data over serial and using LabVIEW to process and visualize the data.

If you want to do the calculations on the Arduino and only send back the resulting calculations, you can use LabVIEW to visualize the data.

0 Kudos
Message 2 of 2
(4,616 Views)