Arduino Uno + CMPS10

It is pretty essential to have a tilt compensated compass module on a boat that heels. The CMPS10 compass is an early example which met this requirement. Later versions, the CMPS11, CMPS12 and CMPS14) dropped the PWM model. Also noticed the module requires 3.6v (>3.3v) input. I believe it does not have a gyroscope.

Connections

Description Colour Arduino CMPS10 compass
Power 3v Red 5V 3.6v - 5v
Ground Black GND GND
i2c Clock Blue A5 Third from top
i2c Data White A4 Second from top

Video

Please click thumbnail image to start the video

Video on Arduino Uno + CMPS10    I2C.png    volts33.png

Photo

Arduino Uno + CMPS10
Arduino Uno + CMPS10
Arduino Uno + CMPS10
Arduino Uno + CMPS10

Sketch