CMPS03 Compass sensor and Cerebot

From RoboCup

Jump to: navigation, search


The CMPS03 compass sensor allows detecting the absolute direction of your robots. The compass operates on the I2C bus with a fixed address 0xC0. The value is provided either as a single byte 0-255, or with the precision of 1/10 of degree (0-3599).

This project aims to provide a simple program in C that can control this sensor.




  • A simple program for testing the CMPS03 sensor, reading the direction values, and allowing calibration can be downloaded here:, see the readme.txt file for details.
Personal tools