View Single Post
  #4   Spotlight this post!  
Unread 10-02-2016, 16:36
uutzinger uutzinger is offline
Registered User
FRC #4183 (Bit Buckets)
Team Role: Mentor
 
Join Date: Dec 2014
Rookie Year: 2013
Location: Tucson
Posts: 8
uutzinger will become famous soon enough
Re: MPU-9150 (I2C) with Labview

It might be easier to use use the example Arduino code and hook the sensor up to an Arduino and communicate over serial port with Arduino which would read the sensor values and send them to your LabView program.

The 9150 has more than 100 registers and the compass on it is a separate I2C device which the 9150 accesses over its own internal I2C bus.

I recommend code from Kris Winer on github.
Also the 9150 is no longer available and got replaced with 9250 which is mostly compatible except for some of the calibration.

You can also use my code on github (uutzinger). Teensy works well as Arduino replacement.

Making USB serial communication work with RoboRIO is not trivial either.
__________________
-- Urs Utzinger, Mentor
Bit Buckets, # 4183, Tucson Arizona
Reply With Quote