Search
Filters
Close

Compass & Acceleration Sensor

Measure your magnetic heading, magnetic field strength, acceleration, and tilt with this one small sensor.
SKU: 45-2003
$32.95

 Use the Compass & Acceleration / Tilt Sensor to measure:

  •         Your magnetic heading
  •         Magnetic field strength in X, Y, and Z
  •         Acceleration in X, Y, and Z
  •         Tilt of the sensor relative to the acceleration of gravity when the sensor is not moving

When using the compass, all ferromagnetic materials must be removed from the compass’s surroundings. This includes motors, power cables, and magnetic materials like steel. This is not always possible. Calibrating the compass accounts for magnetic materials which are stationary compared to the sensor.

The compass has an accuracy of 1 degree. The accelerometer readings have accuracies of 1mg (0.0098m/s2).

The Compass & Acceleration / Tilt Sensor I2C bus address is 0x24.

 

Compass Gif

 

I2C Registers

Address
Function
0x00
SensorFirmwareRevision
0x01
ManufacturerCode
0x02
SensorIDCode
0x03
Command
0x04/0x05
HeadingData (lsb/msb)
0x06/0x07
AccelerometerXValue(lsb/msb)
0x08/0x09
AccelerometerYValue(lsb/msb)
0x0A/0x0B
AccelerometerZValue(lsb/msb)
0x0C/0x0D
MagnetometerXValue(lsb/msb)
0x0E/0x0F
MagnetometerYValue(lsb/msb)
0x10/0x11
MagnetometerZValue(lsb/msb)

 

 

PDF

Sensor Documentation

All the information you need about
Modern Robotics Sensors in one document.

PDF File

 Use the Compass & Acceleration / Tilt Sensor to measure:

  •         Your magnetic heading
  •         Magnetic field strength in X, Y, and Z
  •         Acceleration in X, Y, and Z
  •         Tilt of the sensor relative to the acceleration of gravity when the sensor is not moving

When using the compass, all ferromagnetic materials must be removed from the compass’s surroundings. This includes motors, power cables, and magnetic materials like steel. This is not always possible. Calibrating the compass accounts for magnetic materials which are stationary compared to the sensor.

The compass has an accuracy of 1 degree. The accelerometer readings have accuracies of 1mg (0.0098m/s2).

The Compass & Acceleration / Tilt Sensor I2C bus address is 0x24.

 

Compass Gif

 

I2C Registers

Address
Function
0x00
SensorFirmwareRevision
0x01
ManufacturerCode
0x02
SensorIDCode
0x03
Command
0x04/0x05
HeadingData (lsb/msb)
0x06/0x07
AccelerometerXValue(lsb/msb)
0x08/0x09
AccelerometerYValue(lsb/msb)
0x0A/0x0B
AccelerometerZValue(lsb/msb)
0x0C/0x0D
MagnetometerXValue(lsb/msb)
0x0E/0x0F
MagnetometerYValue(lsb/msb)
0x10/0x11
MagnetometerZValue(lsb/msb)

 

 

PDF

Sensor Documentation

All the information you need about
Modern Robotics Sensors in one document.

PDF File

For use with Windows computers only.

Use this simple executable to visualize your compass's data. 

  1. Connect your Compass & Acceleration Sensor to your Core Device Interface.
  2. Connect your Core Device Interface to your computer using a USB cable.
  3. Download the .exe (click here)
  4. Extract the downloaded zip folder.
  5. Double click on Visualize Compass Sensor.exe

The line shows the direction the sensor is pointing. The dot shows X and Y acceleration. The bar on the right shows Z acceleration. The buttons on the bottom left can be used to calibrate the accelerometer values.

Compass Gif