Difference between revisions of "TS-7180 IMU"

From Technologic Systems Manuals
m
Line 1: Line 1:
The TS-7180 has an optional MPU-9250 motion-tracking device.  This device provides:
+
The TS-7180 has an optional [https://www.invensense.com/download-pdf/mpu-9250-datasheet/ Invensense MPU-9250] motion-tracking device.  This device provides:
  
 
* 3-axis Gyroscope
 
* 3-axis Gyroscope
Line 40: Line 40:
  
 
'''/sys/bus/iio/devices/iio:device1/in_magn_z_raw'''
 
'''/sys/bus/iio/devices/iio:device1/in_magn_z_raw'''
 +
 +
 +
Technologic Systems has provided a simple program for accessing all of the available parameters.
 +
 +
[https://wiki.embeddedarm.com/w//images/7/7c/Test-accel.c test-accel.c]

Revision as of 11:51, 13 December 2018

The TS-7180 has an optional Invensense MPU-9250 motion-tracking device. This device provides:

  • 3-axis Gyroscope
  • 3-axis Accelerometer
  • 3-axis Magnetometer
  • Temperature sensor

The MPU-9250 is connected to the CPU via I2C. The device is actually two chips in one: The first contains the gyroscope, accelerometer, and temperature sensor. The second contains the magnetometer. Because there are two chips, there are two I2C chip addresses: 0x69, and 0x0C.

User interface to the device is done through the sys filesystem.

The gyroscope, accelerometer, and temperature readings are available at: /sys/bus/iio/devices/iio:device1

The gyroscope measures angular velocity in three axes. The raw values are available at:

/sys/bus/iio/devices/iio:device1/in_anglvel_x_raw

/sys/bus/iio/devices/iio:device1/in_anglvel_y_raw

/sys/bus/iio/devices/iio:device1/in_anglvel_z_raw


The accelerometer measures acceleration along three axes. The raw values are available at:

/sys/bus/iio/devices/iio:device1/in_accel_x_raw

/sys/bus/iio/devices/iio:device1/in_accel_y_raw

/sys/bus/iio/devices/iio:device1/in_accel_z_raw


The magnetometer readings are available at: /sys/bus/iio/devices/iio:device2

The magnetometer measures magnetic field strength in three axes. The raw values are available at:

/sys/bus/iio/devices/iio:device1/in_magn_x_raw

/sys/bus/iio/devices/iio:device1/in_magn_y_raw

/sys/bus/iio/devices/iio:device1/in_magn_z_raw


Technologic Systems has provided a simple program for accessing all of the available parameters.

test-accel.c