USART Digital Compass Manual

Similar documents
CMPS11 - Tilt Compensated Compass Module

CMPS09 - Tilt Compensated Compass Module

Trademarks & Copyright

Mercury technical manual

RB-Dev-03 Devantech CMPS03 Magnetic Compass Module

Carbon Dioxide (Tiny CO2) Gas Sensor. Rev TG400 User Manual

2F. No.25, Industry E. 9 th Rd., Science-Based Industrial Park, Hsinchu, Taiwan Application Note of OGM220, AN001 V1.8

SV613 USB Interface Wireless Module SV613

Serial Bus Smart Control servo SCS15 Manual

RF1276 Long Distance Transceiver module V2.0

RF7129 Ultra-low power Tranceiver module V2.0

3V TRANSCEIVER 2.4GHz BAND

Attitude and Heading Reference Systems

BW-IMU200 Serials. Low-cost Inertial Measurement Unit. Technical Manual

Low Power with Long Range RF Module DATASHEET Description

Embedded Radio Data Transceiver SV611

NRA24 millimeter wave radar User manual

BLE 4.0 Module ZBModule User Manual 1 / 15

P2-AHU Manual v1.0. P2-AHU Manual. (T-Module) - 1 -

MX-64T / MX-64R / MX-64AT / MX-64AR

Catalog

YDLIDAR G4 DATASHEET. Doc#: 文档编码 :

Serial Servo Controller

TCS230 Color Sensor Module User s Guide

Intelligent Infrared CO2 Module (Model: MH-Z19)

Modern Robotics Inc. Sensor Documentation

SOLAR-360 : 360 Inclinometer, RS232 or RS485 Output

Catalogue

OC-Servo Electronics Technology Co.,Ltd

Parameter Value Unit Notes

MGA103 Single Axis MEMS Gyro with Triaxial Accelerometer

CooLink Programmers Reference Manual (PRM)

G3P-R232. User Manual. Release. 2.06

ROTRONIC HygroClip Digital Input / Output

Features. Description. General Specifications. VS Series Inclinometer : Dual Axis, RS232 and Analogue Output

Know your energy. Modbus Register Map EM etactica Power Meter

MG100 Single Axis MEMS Gyro

IMU60 Inertial Measurement Unit

SOLAR-2 : Dual Axis Inclinometer, RS232 or RS485 Output

RF ISM Transparent Transceiver Module V4.0

Technical Manual. CruizCore R1350N Rev Copyright Microinfinity Co., Ltd.

SPECIFICATIONS. DCM302B-High Accuracy 3D Electronic Compass(2D Calibration) Item No.:DCM302B

ELT Sensor Data Sheet for C2H4-D3

C Mono Camera Module with UART Interface. User Manual

E31-TTL-500 Datasheet V Feature E31-TTL-500

BlinkRC User Manual. 21 December Hardware Version 1.1. Manual Version 2.0. Copyright 2010, Blink Gear LLC. All rights reserved.

I2C Encoder. HW v1.2

RF1212 RF1212 Ultra-low Power ISM Transceiver Module V2.0

HAC-UT V6.3 Wireless Single Meter/Double pipe Metering type Wireless Transmitter. HAC-LMR Wireless Data Receiver/ Repeater Module

Communication Protocol. Ver 1.0 LRM 3500M. Laser Rangefinder Monocular. 105 Sparks Ave., Toronto, ON, M2H 2S5, Canada 1

BACnet Protocol Converter Kit for Use with Bacharach GDA-1600 Controller. Installation Manual

E70-433MS14 Datasheet v1.1

RY836AI. High Performance GPS & Glonass / GPS & BeiDou Parallel mode antenna module with Compass, Gyroscope, Accelerometer, Pressure Sensor.

Purchase the sample: E51-TTL-500 Datasheet V Feature E51-TTL-500

Catalog

About New FT-SCServo (Smart Control Servo)

BW-VG525 Serials. High Precision CAN bus Dynamic Inclination Sensor. Technical Manual

ELT Sensor Data Sheet for S-300-3V

DRF4432D20 20dBm ISM RF Transceiver Module V1.21

AMS0805WAH. CATALOG No.: AMS0805WAH. Motion Sensor Data Sheet Ver Advanced Material on Technology

The rangefinder can be configured using an I2C machine interface. Settings control the

K-Band Doppler Sensor Module

User Manual. 北京博创兴盛机器人技术有限公司 UPTECH Robotics. TEL: , FAX:Ext.828

CDR-915 Data Radio Module INTEGRATOR S GUIDE

VT-DTMSA5-433M RF Transceiver Module User s guide

USER MANUAL. Laser Particle Sensor Module PM fan series. Wuhan Cubic Optoelectronics Co.,Ltd. Ver.:

Catalogue

Catalogue 1. Brief Description Product feature Typ. Circuit Block Diagram...

Catalog

SV-MESH Mesh network series Catalogue

Model: ADC-x/DIG-x. RS-232 / RS-485 Data Acquisition Digital I/O v2.2 Firmware. SuperLogics. Integrity Instruments. SuperLogics

Know your energy. Modbus Register Map EB etactica Power Bar

YDLIDAR F4PRO DATASHEET

USB Port Medium Power Wireless Module SV653

Multi-channel DC power digital isolation transducer manual CE-AD81-34MN3-0.5

UBN Universal Power Meter. MODBUS Protocol English 1UNMUP3K1004

Pololu TReX Jr Firmware Version 1.2: Configuration Parameter Documentation

Amphenol Advanced Sensors. SM-UART-04L PM2.5 + PM10 Particulate Dust Sensor. Application Note. Features. Applications

Applications. Operating Modes. Description. Part Number Description Package. Many to one. One to one Broadcast One to many

SP25 millimeter wave radar User manual

DUAL BAND FM WIRELESS TRANSCEIVER RXQ1. Applications

SMARTALPHA RF TRANSCEIVER

User manual. Inclinometer with Analog-RS232-Interface IK360

OPERATING INSTRUCTIONS ULTRA.sens

Application Note AN 157: Arduino UART Interface to TelAire T6613 CO2 Sensor

DRF7020D13 13dBm ISM RF Transceiver Module

GPS/GNSS Receiver Module

HPC Compass NMEA Version. Installation and Operation Manual

Multi-Sensor Integration and Fusion using PSoC

Integrity Instruments

NIBP2010 with SpO2. Non Invasive Blood Pressure OEM board NIBP with. PULSE OXIMETRY SpO 2. Hardware-Version : C Firmware-Version : 3.

I2C Demonstration Board I 2 C-bus Protocol

B3M Series Software Manual Command Reference. Kondo Kagaku Co., Ltd. Ver

Catalog

DRF4463D20 Medium Power ISM RF Transceiver Module V1.21

Small RF Budget SRB MX145

Product Specification

Supported Servos Any servo motors with "1500 us neutral" specifications. The common brands available for this spec are: Hitec, Futaba.

Purchase the sample: E32-TTL-100 Datasheet V Feature E32-TTL-100

UART GPS NEO-6M User Manual

Transcription:

USART Digital Compass Manual General Description HMC1022-USART is a low cost plane digital compass module. The working principle is utilizing magnetoresistive sensor sensing the Earth's magnetic field component to get an azimuth angle. It communicates with upper computer through UART. Output format is ASCII. With solid state compass design, it has stable operation, high accuracy and advanced hard iron compensation function. It can overcome surrounding magnetic interference. Baud rate is optional. The product has three work modes; Normal mode, continuous mode and calibration mode. You can choose UART or IIC communication to use it. Features ± 5 degrees heading accuracy Advanced hard iron calibration Very low operating voltage ( 3~5VDC) DC single supply operation Small size (26.5mm X26.5mm X 11.5mm) Light weight High cost-effective Easy to integrate ;

Applications 1. Hand-held electronic instruments. 2. Robot orientation and position. 3. Navigation system. 4. Telescope position. 5. Autohelm rudder. 6. Antenna position. 7. Automobile GPS navigation. 8. Aero model position. Basic parameters 1. Directions (In level condition) Accuracy: <5 degrees Resolution: 0.5 degrees (typical) Repeatability: <3 degrees 2. Magnetic field characteristics Range: ±2 gauss Resolution: 6 Milli-gauss 3. Electrical characteristics: Input voltage: 2.6V (min), 5V (max), 3.3V (typical) Input current: 5mA (min), 8mA (max), 6mA (typical) (Normal mode) 5mA (min), 7mA (max), 6mA (typical) (Continuous mode) 5mA (min), 12mA (max), 14mA (typical) (Calibration mode) 4. Temperature: 0 to 70 degrees centigrade, when operating -40 to 110 degrees, when in storage

Pin Configuration Pin number Pin name Description 1 VCC Power Supply Input 2 TXD Transmit Data Output 3 RXD Receive Data Input 4 SCL IIC SCL 5 SDA IIC SDA 6 GND Ground 7 GND Ground 8 GND Ground 9 CAL Calibrate 10 NC No Connection 11 NC No Connection 12 VCC Power Supply Input

Technical terms 1. Declination Angle It is the angle between magnetic north and true north. Declination angles of different place are different, even at the same place declination angles varies with the time. When we use compass to navigation, we get directions relative to magnetic north. So we can get directions relative to true north through declination angle compensation. For example, the current direction counted by compass is north by east 30 degrees and the declination angle is 5 degrees. So the direction relative to true north is 35 degrees (30+5 =35 ). 2. Installation Angle There is an arrowhead on the compass module and it s used to denote directions. When installed, it requests that forward direction of the object surveyed is consistent with the arrowhead. So the direction counted by the compass is the right direction. If installing direction is not consistent with the arrowhead, there is an included angle and it is the deviation angle. Only after we compensate it, the compass outputs the true direction. 3. Calibration It s also called hard iron compensation. All digital compasses must be calibrated before been used. Once hard iron conditions changed, the magnetic field conditions will be changed too. At this time, angle information counted by the compass will be inaccurate. In order to remove the influence, it s necessary to calibrate the compass. 4. Calibrating methods and functions When magnetic field changes angle information counted by compass will be inaccurate. This time it is necessary to calibrate the compass to remove the influence. Methods: Send 0xC0 command, and then rotate the compass two circles slowly, equably and flatly, fast not allowed. One cycle needs more than one minute. Then send 0xC1 command to finish calibration. Use serial communication 1. Parameters Baud rate: 9600bps Verify bit: N

Data bits: 8 Stop bit: 1 2. Output format of the module,8 bytes included in each frame (1)Byte0:0x0D (ASCII: enter) (2)Byte1:0x0A (ASCII: new line) (3)Byte2:0x30~0x33 (ASCII: hundreds of angle 0~3) (4)Byte3:0x30~0x39 (ASCII: tens of angle 0~3) (5)Byte4:0x30~0x39 (ASCII: bits of angle 0~3) (6)Byte5:0x2E (7)Byte6: 0x30~0x39 (8)Byte7: 0x00~0xFF (ASCII: decimal point of angle) (ASCII: decimal of angle) (calibrate sum) Byte7= the lower 8 bits of (Byte0+ Byte1+ Byte2+ Byte6) Example: <0x0D-0x0A-0x33-0x35-0x39-0x2E-0x36-0x1C> = 359.6 3 Commands been sent to the module (1)0x31: measure the angle (return the value of the angle) (2)0xC0: start calibration (3)0xC1: end calibration (4) 0xA0-0xAA-0xA5-0xC5: return to the settings of the factory (5) 0xA0-0xAA-0xA5-IIC_ADDR: change the IIC bus address (6)0x03-DECL_high: set the high 8 bits of declination angle (7)0x04-DECL_low: set the low 8 bits of declination angle Example1: send 0xC0 to the module, it return <0x0D-0x0A-0x30-0x30-0x30-0x2E-0x30-0x05>, which means starting calibration successfully. Example2: send 0x03, 0x00, 0x04, 0x64 to the module, it return <0x0D-0x0A-0x30-0x30-0x30-0x2E-0x30-0x05> which means the declination angle been changed to 10.0 degrees successfully.

Use IIC 1 Address When using the IIC communication, the module is similar to a 24C04, EEPROM. The communication is very simple. The addresses of the data in the module are shown in the following table. address in the module 0x00 0x01 0x02 0x03 0x04 0x05 0x06 0x07 its meanings not been used high 8 bits of the angle low 8 bits of the angle high 8 bits of the declination angle low 8 bits of the declination angle not been used not been used Level value calibration 2 Commands(been sent to the module through IIC) command function 0x00+ 0x31 angle measure 0x00+ 0xC0 Start calibration 0x00+ 0xC1 End calibration

0x00+( 0xA0+0xAA+0xA5+0xC5) 0x00+( 0xA0+0xAA+0xA5+IIC_ADDR) Return to the factory settings Change the IIC address 0x03 + DECL_HIGH Change the high 8 bits of declination angle 0x04 + DECL_LOW Change the low 8 bits of declination angle 3 Change the IIC address The IIC address of the module can be changed. The default factory address of the module is 0xE0.When powering the module, the Led blinks according to its address. address Blinking times 0xe0 0 0xe2 1 0xe4 2 0xe6 3 0xe8 4 0xea 5 0xec 6 0xee 7 0xf0 8 0xf2 9 0xf4 10

0xf6 11 0xf8 12 0xfa 13 0xfc 14 0xfe 15 Command : Send 0x31:( get angle) 0x0D 0x0A 0x30~0x33 0x30~0x39 0x30~0x39 0x2E 0x30~0x39 0x00~0xFF Send 0x35:( get temperature) 0x0D 0x0A 0x30~0x33 0x30~0x39 0x30~0x39 0x2E 0x30~0x39 0x00~0xFF Send 0xC0:( Calibration ) 0x0D 0x0A 0x30 0x30 0x30 0x2E 0x30 0x05 Send 0xC1:( finish C alibration) 0x0D 0x0A 0x30~0x33 0x30~0x39 0x30~0x39 0x2E 0x30~0x39 0x00~0xFF Send 0xA0+0xAA+0xA5+0xC5:( Restoring Factory Calibration )

0x0D 0x0A 0x30 0x30 0x30 0x2E 0x30 0x05 Send 0x03+: Compass bearing high 8bit 0x0D 0x0A 0x30 0x30 0x30 0x2E 0x30 0x05 Send 0x04+: Compass bearing low 8bit 0x0D 0x0A 0x30 0x30 0x30 0x2E 0x30 0x05 Remarks 1. All the parameters of the module are tested with the standard 5V power supply, so we advise you to use the power with small ripples. 2. When using the module, please keep it level so that it can get the accurate results. 3. The module can be connected with SCM or some other device with the right interface, but it can not be connected to the serial port of the computer directly. However, you can use a USB to serial module to connect it to the computer.