Devantech CMPS09 Tilt Compensated Magnetic Compass
The CMPS09 from Devantech is a tilt compensated magnetic compass. Employing a 3-axis magnetometer, a 3-axis accelerometer and a powerful 16-bit processor, the CMPS09 has been designed to remove the errors caused by tilting of the PCB. The CMPS09 produces a result of 0-3599 representing 0-359.9 or 0 to 255.
The output of the three sensors measuring x, y and z components of the magnetic field, together with the pitch and roll are used to calculate the bearing, each of these components are also made available in their raw form. The CMPS09 module requires a power supply at 3.3V - 5V and draws a nominal 25mA of current. There are three ways of getting the bearing from the module - a serial interface, an I2C interface or a PWM output.
Examples of using the CMPS09 module with a wide range of popular controllers may be found here.
|Accuracy||3-4° when horizontal, 4-5° when tilted to ±60°|
|Output 1||I2C Interface, SMBUS compatible, 0-255 and 0-3599 ,100KHz|
|Output 2||Serial port, 9600 baud, no parity, 2 stop bits and 3.3V-5V signal levels|
|Output 3||Timing Pulse (1ms to 37ms in 0.1ms increments)|
|Dimensions||24mm * 18mm|