2. Soldering the headers Before using your click board, make sure to solder 1x8 male headers to both left and right side of the board. Two 1x8 male headers are included with the board in the package. 1 Compass click 2 3 4. Essential features 1. Introduction Compass Click with its LSM303DLHC IC includes specicfi sensing element and an IC interface capable of measuring both linear acceleration (full-scale of 2g/4g/8g/16g) and magnetic efi ld (From 1.3 to 8.1 gauss full-scale) and to provide a 16-bit data output 2 Turn the board upside down so that Turn the board upward again. Make sure through I C interface. All these features make bottom side is facing you upwards. Place to align the headers so that they are this board ideal for compensated compass, shorter parts of the header pins in both perpendicular to the board, then solder the position detection, display orientation and soldering pad locations. pins carefully. many more. Compass Click is an accessory board in mikroBUS form factor. Its a compact and 3. Plugging the board in easy solution for adding compass module click to your design. It features LSM303DLHC Once you have soldered the headers your ultra compact high performance e-compass board is ready to be placed into desired BOARD module. Compass Click communicates mikroBUS socket. Make sure to align the www.mikroe.com with the target board microcontroller via cut in the lower-right part of the board 2 mikroBUS I C (SDA, SCL), INT and RST with the markings on the silkscreen at the Compass click Manual lines. The board is designed to use 3.3V mikroBUS socket. If all of the pins are ver. 1.01 power supply only. LED diode (GREEN) aligned correctly, push the board all indicates the presence of power supply. the way into the socket. 0 100000 0232356. Axis direction 5. Compass Click Board Schematic The LSM303DLHC IC is a system based on a three dimensional sensing elements. The orientation of each axis is clearly designated on the board X silkscreen. Readings received from the IC can be processed and used to determine earths magnetic north pole. 7. Code Examples Y Z Once you have done all the necessary preparations, its time to get your click board up and running. We have provided VCC VCC the examples for mikroC, mikroBasic and U1 mikroPascal compilers on our Libstock LSM303DLHC VCC VCC VCC VCC R1 R3 10K 10K website. Just download them and you are C2 AN PWM 1 13 RDY INT1 R2 ready to start. VDD IO SETC 220nF RST INT SCL 2 12 2K2 SCL SETP CS TX C3 E1 SDA 3 11 SDA RES SCK RX 100nF 10uF 4 10 SCL LD1 INT2 RES SCL MISO INT1 5 9 RDY SDA INT1 DRDY SDA MOSI .com 6 8 C1 RES +3.3V +5V GND GND C1 MIKROBUS DEVICE CONN. 10uF 8. Support MikroElektronika oers ff Free Tech Support (www.mikroe.com/esupport) until the end of product lifetime, so if something goes wrong, we are ready and willing to help MikroElektronika assumes no responsibility or liability for any errors or inaccuracies that may appear in the present document. Specification and information contained in the present schematic are subject to change at any time without notice. Copyright 2013 MikroElektronika. All rights reserved. 7 14 GND VDD