CMPS03 Magnetic Compass
|
|
 |
The CMPS03 Magnetic Compass has been specifically designed for
use in robots as an aid to navigation. The compass uses the Philips
KMZ51 magnetic field sensor, which is sensitive enough to detect
the Earths magnetic field. The output from two of them mounted at
right angles to each other is used to compute the direction of the
horizontal component of the Earths magnetic field. The bearing may
be retrieved from the module in one of two ways; either using its
PWM signal or its I2C interface.
An I2C interface is available on many popular microcontrollers
such as the
BASIC Stamp BS2P and may be easily implemented on most PIC microcontrollers
using either the PicBasic
or PicBasic Pro compiler.
Examples of using the CMPS03 module with a wide range of popular
controllers may be found
here.
|
|
Technical Data
|
| Voltage |
|
5V |
| Current |
|
20mA typical |
| Resolution |
|
0.1 Degree |
| Accuracy |
|
3-4 degrees approximately after calibration |
| Output 1 |
|
Timing Pulse (1ms to 37ms in 0.1ms increments) |
| Output 2 |
|
I2C Interface, 0-255 and 0-3599
SCL speed up to 1MHz |
| Dimensions |
|
32mm x 35mm |
|
|
|
|
|
|