Order online now

EUR 30.98 EUR 26.03
Price incl. VAT Price excl. VAT
plus EUR 5.95 shipping costsplus EUR 5.00 shipping costs

Immediate delivery

Available for immediate delivery while stock lasts.

6 in stock
updated: 17.01.2019

RoHS

CMPS03 - Magnetic Compass

Devantech

This compass module has been specifically designed for use in robots as an aid to navigation. The aim was to produce a unique number to represent the direction the robot is facing.

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.


Connections

There are two ways of getting the bearing from the module. A PWM signal is available on pin 4, or an I2C interface is provided on pins 2,3.

cmps3pin2.jpg

Pin 1, +5v. The compass module requires a 5v power supply at a nominal 25mA.

Pins 2,3 are the I2C interface and can be used to get a direct readout of the bearing. If the I2C interface is not used then these pins should be pulled high (to +5v) via a couple of resistors. Around 47k is ok, the values are not at all critical.

Pin 4. The PWM signal is a pulse width modulated signal with the positive width of the pulse representing the angle. The pulse width varies from 1mS (0° ) to 36.99mS (359.9° ) – in other words 100uS/° with a +1mS offset. The signal goes low for 65mS between pulses, so the cycle time is 65mS + the pulse width - ie. 66ms-102ms. The pulse is generated by a 16 bit timer in the processor giving a 1uS resolution, however I would not recommend measuring this to anything better than 0.1° (10uS). Make sure you connect the I2C pins, SCL and SDA, to the 5v supply if you are using the PWM, as there are no pull-up resistors on these pins.

Pin 5 is used to indicate calibration is in progress (active low). You can connect an LED from this pin to +5v via a 390 ohm resistor if you wish.

Pin 6 is one of two ways to calibrate the compass, the other is writing 255 (0xFF) to the command register. Full calibration instructions are further down this page. The calibrate input has an on-board pull-up resistor and can be left unconnected after calibration.

Pins 7 and 8 are currently unused. They have on-board pull-up resistors and should be left unconnected.

Pin 9 is the 0v power supply.


PCB Drilling Plan

The following diagram shows the CMPS03 PCB mounting hole positions.

xcmps03.gif


Manufacturer's data

Technical Specification - link to the manufacturer
CMPS03 FAQ - link to the manufacturer

Product information for: CMPS03 - Magnetic Compass

Publishing date (date of last technical specification): 2007-03-01
Shipping weight: 200 g
Manufacturer: Devantech
Brand: ROBOT ELECTRONICS
Article number: DEV-CMPS03
Manufacturer's part number: CMPS03

The article CMPS03 - Magnetic Compass is listed in the following categories:

Sensors > Compass

CMPS12 - Tilt Compensated Magnetic Compass DEV-CMPS12

CMPS12 - Tilt Compensated Magnetic Compass

from ROBOT ELECTRONICS
Newest specification: 04/2018
EUR 27.98
plus EUR 5.95 shipping costs
Prices incl. VAT
EUR 23.51
plus EUR 5.00 shipping costs
Prices excl. VAT


Article no.: DEV-CMPS12
More details...
BNO055 - 9-Axis Orientation Sensor Module DEV-BNO055

BNO055 - 9-Axis Orientation Sensor Module

from ROBOT ELECTRONICS
Newest specification: 03/2018
EUR 20.98
plus EUR 5.95 shipping costs
Prices incl. VAT
EUR 17.63
plus EUR 5.00 shipping costs
Prices excl. VAT


Article no.: DEV-BNO055
More details...
CMPS03 - Magnetic Compass DEV-CMPS03

CMPS03 - Magnetic Compass

from ROBOT ELECTRONICS
Newest specification: 03/2007
EUR 30.98
plus EUR 5.95 shipping costs
Prices incl. VAT
EUR 26.03
plus EUR 5.00 shipping costs
Prices excl. VAT


Article no.: DEV-CMPS03
More details...

Contact us

* These fields are mandatory.

Order online now

EUR 30.98 EUR 26.03
Price incl. VAT Price excl. VAT
plus EUR 5.95 shipping costsplus EUR 5.00 shipping costs

Immediate delivery

Available for immediate delivery while stock lasts.

6 in stock
updated: 17.01.2019

Information on currency

EUR 30.98 = GBP 27.59 EUR 26.03 = GBP 23.18 (€1=GBP0.89068)
EUR 30.98 = USD 35.86 EUR 26.03 = USD 30.13 (€1=USD1.1574)
EUR 30.98 = CAD 47.19 EUR 26.03 = CAD 39.65 (€1=CAD1.5231)
EUR 30.98 = AUD 50.53 EUR 26.03 = AUD 42.45 (€1=AUD1.6310)

Share

More from ROBOT ELECTRONICS