From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

MPU 9150

I need a little of help on how to read acelerometer, gyro and compass at the same time
any help or idea is welcome

I have been using the MPU 6050 code on labview with arduino lifa so these is nice with the gyro and acelerometer
but the compass is not available :c

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

I remember LIFA use the wire.h library to communicate with i2c devices which is the same with the library I recommend. You just need to find the registers with compass on MPU 9150. And the other operations are similiar with MPU 6050.

Maybe you can take a reference at this for further implementation.

Message 2 of 2
(2,929 Views)