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 LIN HALL click 4. Essential features 2 3 LIN HALL click , with its linear Hall sensor, outputs a signal that is proportional to 1. Introduction the flux density of a magnetic field. The output signal will increase when a north magnetic field is applied, while a south magnetic field will cause it to decrease. The ratiometric output can be used to measure the strength of different magnets, Turn the board upside down so that Turn the board upward again. Make sure or to measure the distance between the the bottom side is facing you upwards. to align the headers so that they are sensor and a magnet (which can be used Place shorter pins of the header into the perpendicular to the board, then solder for linear or rotary position sensing by appropriate soldering pads. the pins carefully. placing magnets on the target object). LIN HALL click is a simple solution 3. Plugging the board in for adding a linear Hall sensor to your click design. It carries an MLX90242 linear Once you have soldered the headers your Hall sensor IC (with built-in active board is ready to be placed into the desired BOARD error correction circuitry) and an mikroBUS socket. Make sure to align the www.mikroe.com MCP3201 12-bit ADC. LIN HALL click cut in the lower-right part of the board with communicates with the target board the markings on the silkscreen at the LIN HALL click manual through the mikroBUS SPI lines (CS, mikroBUS socket. If all the pins ver. 1.00 SCK, MISO). The board is designed to use are aligned correctly, push the either a 3.3V or 5V power supply. board all the way into the socket. 0 100000 026946 5. LIN HALL click board schematic 6. SMD jumpers To switch between 3.3V and 5V power supplies, use the on-board zero-ohm SMD jumpers. By default, the two jumpers are soldered in the 3.3V position. Vref VCC- 3.3V VCC- 5V VCC VCC VCC 3.3V 5V VCC- 5V VCC- 3.3V VCC- 5V VCC- 3.3V J2A 7. Code examples J1A C1 C3 C2 Once you have done all the necessary R1 100nF 100nF 100nF AN PWM 2K2 preparations, its time to get your click board RST INT CS CS TX GND GND GND SCK R2 SCK RX up and running. We have provided examples SDO 10K SCL MISO U2 U1 MOSI SDA for mikroC , mikroBasic and mikroPascal 1 8 1 Vref Vdd Vdd +3.3V +5V Vout 2 7 SCK 3 PWR IN+ CLK GND GND GND Vout LIN OUT compilers on our Libstock website. Just 3 6 SDO 2 IN- Dout Vout 4 5 CS MIKROBUS DEVICE CONN. Vss CS HALL MLX90242 download them and you are ready to start. MCP3201 R4 C4 20K 10nF .com GND GND GND GND GND GND GND 8. Support MikroElektronika oers ff free tech support (www.mikroe.com/support) until the end of the products lifetime, so if something goes wrong, were 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 2014 MikroElektronika. All rights reserved. 1 2 3 1 2 3