EEWORLDEEWORLDEEWORLD

Part Number

Search

CMPS03

Description
CMPS03 - Robot Compass Module
File Size105KB,3 Pages
ManufacturerETC
Download Datasheet View All

CMPS03 Overview

CMPS03 - Robot Compass Module

CMPS03 - Robot Compass Module
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 to the compass module
The compass module requires a 5v power supply at a nominal 15mA.
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.
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 2,3 are an 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.
Python Tinker Study Notes (Part 1)
[i=s]This post was last edited by Changjianze1 on 2019-2-20 13:23[/i] [b][color=#5E7384]This content was originally created by [size=3]Changjianze1[/size], a user on the EEWORLD forum. If you need to ...
常见泽1 MicroPython Open Source section
The problem of instantiating ROM in FPGA not finding the port
Instantiate rom in the top-level file. The code is as follows: Trom1 rom1H ( .A(addrHH1), .SPO(loadH1), .D(), .DPRA(), .SPRA(), .CLK(), .WE(), .I_CE(), .QSPO_CE(), .QDPO_CE(), .QDPO_CLK(), .QSPO_RST()...
sophia_123 FPGA/CPLD
PCB Basics
[color=#666666][font=Arial, Verdana, 宋体][size=12px]Printed circuit boards (PCBs) are found in almost every electronic device. If there are electronic components in a device, they are all mounted on PC...
嘉立创-pcb PCB Design
LPC1114 cannot use SWD debugging
When I use Keil + Ulink-2 to debug LPC1114, after clicking Flash Download, I always get an error message: target.dll has been canceled. Doesn't SWD debugging only require two wires from Ulink-2 to the...
eeleader MCU
Surplus of satellite transponders over China
According to the latest information at home and abroad, the resources of communication satellite transponders in China are no longer in short supply. With the successful launch and positioning of Dong...
JasonYoo Analog electronics
[Power Supply Q&A] + The power module generates too much heat
[color=#000][font="][size=12px]The high heat generation of TI power modules has always troubled me. I have selected several models and changed several models. All of them have the problem of high heat...
qditz Analogue and Mixed Signal

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

Robot
development
community

Index Files: 145  2301  2160  974  2789  3  47  44  20  57 
Datasheet   0 1 2 3 4 5 6 7 8 9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Room 1530, 15th Floor, Building B, No. 18 Zhongguancun Street, Haidian District, Beijing Telephone: (010) 82350740 Postal Code: 100190
Copyright © 2005-2026 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号