Compass 7 Click Board™
Product Code: MIKROE-5190
How Does The Compass 7 Click Board™ Work? The Compass 7 Click Board™ as its foundation uses the MMC5633NJL, a monolithic high-performance 3-axis AMR magnetic sensor from MEMSIC. It has an integrated drive circuit, signal processing circuit, and serial interface block, allowing low noise and high resolution. It can measure magnetic fields within the full-scale range of ±30 Gauss (G) with up to 0.0625mG per LSB resolution at 20bits operation mode and 2mG total RMS noise level, enabling heading accuracy of ±1º in electronic compass applications. An integrated SET/RESET function eliminates errors due to Null Field output change with temperature. In addition, it clears the sensors of any residual magnetic polarization resulting from exposure to strong external magnets. The SET/RESET function can be performed periodically for each measurement as the specific application requires. The Compass 7 Click Board™ communicates with MCU using the standard I2C 2-Wire interface with a maximum clock frequency of 400kHz, fully adjustable through software registers.
The MMC5633NJL does not require a specific Power-Up sequence but requires a voltage of 1.8V for its interface and logic part to work correctly. Therefore, a small regulating LDO is used, the MAX8511, providing a 1.8V out of mikroBUS™ power rails. Since the sensor for operation requires a power supply of 1.8V, this Click board™ also features the PCA9306 voltage-level translator allowing the MMC5633NJL to work with 3.3V and 5V MCU properly.
The Compass 7 Click Board™ can operate with both 3.3V and 5V logic voltage levels selected via the VCC SEL jumper. This way, it is allowed for both 3.3V and 5V capable MCUs to use the communication lines properly. However, the Click board™ comes equipped with a library containing easy-to-use functions and an example code that can be used, as a reference, for further development.
SPECIFICATIONS
Type
Compass, Magnetic
Applications
It can be used as an electronic compass but also can be used in various position sensing applications
On-board modules
MMC5633NJL - monolithic high-performance 3-axis AMR magnetic sensor from MEMSIC
Key Features
Low power consumption, superior dynamic range and accuracy, on-chip automatic degaussing with built-in SET/RESET function, sensitivity compensation and on-chip temperature sensor, and more
Interface
I2C
Compatibility
mikroBUS
Click board size
S (28.6 x 25.4 mm)
Input Voltage
3.3V or 5V
PINOUT DIAGRAM
This table shows how the Compass 7 Click Board™ corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).
Notes
Pin
Pin
Notes
NC
1
AN
PWM
16
NC
NC
2
RST
INT
15
NC
NC
3
CS
RX
14
NC
NC
4
SCK
TX
13
NC
NC
5
MISO
SCL
12
SCL
I2C Clock
NC
6
MOSI
SDA
11
SDA
I2C Data
Power Supply
3.3V
7
3.3V
5V
10
5V
Power Supply
Ground
GND
8
GND
GND
9
GND
Ground
ON-BOARD SETTINGS AND INDICATORS
Label
Name
Default
Description
LD1
PWR
-
Power LED Indicator
JP1
VCC SEL
Left
Logic Level Voltage Selection 3V3/5V: Left position 3V3, Right position 5V
COMPASS 7 CLICK ELECTRICAL SPECIFICATIONS
Description
Min
Typ
Max
Unit
Supply Voltage
3.3
-
5
V
Field Range (Each Axis)
-
±30
-
G
Accuracy
-
±1
-
Deg
Resolution
-
20
Visit the Debug Store website for more information on Compass 7 Click Board™