CMPS10 Compass

Datasheet

CMPS10 Compass Guide (.pdf)

Overview:

The CMPS10 Compass can send compass bearing data, 3-axis magnetometer and accelerometer data. It can communicate using I2C, Serial or PWM mode. You can read about these modes if you open the datasheet.

On the bottom of this page you can see an example of a working circuit, we have also provided an .ino file for you.

Specifications:

  • Modes of communication:
    • I2C
    • Serial
    • PWM
  • Stores these type of data
    • on 1 byte:
      • Compass bearing
      • Pitch angle (+/- 85°)
      • Roll angle (+/- 85°)
    • on 2 bytes:
      • Compass bearing (0-359.9°)
      • Magnetometer X axis
      • Magnetometer Y axis
      • Magnetometer Z axis
      • Accelerometer X axis
      • Accelerometer Y axis
      • Accelerometer Z axis

Circuit Example and Arduino Codes:

This uses the I2C bus to connect the Arduino to the CMPS10. It reads the bearing as a two byte integer (0-3599) and displays the bearing as a number 0-359 on the LCD03 display.

arduino cmps10
Figure 2 - Arduino CMPS10

Download the arduino-cmps10-a.zip file.