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 LightRanger click 2 3 4. Essential features The VL6180X sensor consists of an IR emit- ter, ambient light sensor, and range sensor. It calculates distance (up to 10cm with pre- cision, up to 20cm otherwise) by measuring the time it takes for a photon to travel from the sensor to the nearest object and back Turn the board upside down so that Turn the board upward again. Make sure (Time of Flight). In contrast to conventional the bottom side is facing you upwards. to align the headers so that they are IR proximity sensors which derive distance Place shorter pins of the header into the perpendicular to the board, then solder the by measuring the amount of light reflected, appropriate soldering pads. pins carefully. VL6180X works with all objects, regardless of their color or reflectivity. 1. Introduction LightRanger click is a proximity sensor carr- 3. Plugging the board in ying STs VL618OX IC. This chip is based click on STs patented FlightSense technology Once you have soldered the headers your which is more reliable compared to con- board is ready to be placed into the desired BOARD ventional infrared-based proximity sensors. mikroBUS socket. Make sure to align the cut in www.mikroe.com LightRanger click communicates with the the lower-right part of the board with the 2 target board MCU through mikroBUS I C markings on the silkscreen pins (SCL, SDA), with additional interrupt at the mikroBUS socket. LightRanger click manual ver 1.01 (INT) and enable (EN, in place of default If all the pins are aligned mikroBUS CS pin). The board is designed to correctly, push the board all use either a 3.3V or 5V power supply. the way into the socket. 01000000785568. Code examples 5. Schematic Once you have done all the necessary preparations, its time to get your click board POWER SEL VCC VCC VCC VCC VCC VCC-2.8V VCC-2.8V VCC-2.8V VCC-2.8V VCC-2.8V up and running. We have provided examples U1 R1 R2 R3 R5 1 6 VccA VccB for mikroC , mikroBasic and mikroPascal 4K7 47K 47K 47K 2 5 GND DIR EN 3 4 GPIO0 VCC-2.8V VCC-2.8V AB compilers on our Libstock website. Just 74LVC1T45 download them and you are ready to start. R4 R6 AN PWM 4K7 47K INT INT U2 RST INT EN 1 6 CS TX VccA VccB 2 5 U3 SCK RX GND DIR SCL2 3 4 GPIO1 GPIO1 1 12 SCL AB GPIO1 AVSS MISO SDA2 SDA .com VCC MOSI 74LVC1T45 2 11 +3.3V +5V NC NC GND GND GND GND 3 10 R7 NC AVDD VCC VCC VCC VCC-2.8V MIKROBUS DEVICE CONN. 2K2 C1 GPIO0 4 AVSS 9 GPIO0 R8 R9 R10 VCSEL GND GND 100nF 4K7 4K7 200K SCL1 5 AVDD 8 U4 SCL VCSEL LD1 SDA2 5 4 SDA1 9. Support SDA2 SDA1 C2 SCL2 6 3 SCL1 SDA1 6 7 SCL2 SCL1 SDA NC 7 2 VREF2 VREF1 4.7uF VL6180X GND 8 1 EN GND PCA9306 MikroElektronika offers free tech support VCC VCC-2.8V U5 1 5 (www.mikroe.com/support) until the end of IN OUT 2 R11 C4 GND the products lifetime, so if something goes 120K C3 3 4 4.7uF EN ADJ 100nF wrong, were ready and willing to help AP7331-ADJ R12 C5 20K GND 2.2uF R13 0R GND GND GND GND GND GND GND GND 6. Dimensions 7. SMD jumper 10. Disclaimer MikroElektronika assumes no responsibility mm mils or liability for any errors or inaccuracies that may appear in the present document. LENGTH 28.6 1125 Specification and information contained in WIDTH 25.4 1000 the present schematic are subject to change HEIGHT* 3.3 130 at any time without notice. LightRanger click has a LOGIC SEL jumper 28.6 mm / 1125 mils * without headers (zero ohm resistor) that lets you switch Copyright 2015 MikroElektronika. the board form 3.3V to 5V power supply. All rights reserved. 25.4 mm / 1000 mils