VL6180X Proximity and ambient light sensing (ALS) module Datasheet - production data Two programmable GPIO Window and thresholding functions for both ranging and ALS Applications Smartphones/portable touchscreen devices Tablet/laptop/gaming devices Domestic appliances/industrial devices Features Description Three-in-one smart optical module The VL6180X is the latest product based on STs Proximity sensor patented FlightSense technology. This is a Ambient Light Sensor ground-breaking technology allowing absolute VCSEL light source distance to be measured independent of target Fast, accurate distance ranging reflectance. Instead of estimating the distance by measuring the amount of light reflected back from Measures absolute range from 0 to above the object (which is significantly influenced by 10 cm (ranging beyond 10cm is dependent color and surface), the VL6180X precisely on conditions) measures the time the light takes to travel to the Independent of object reflectance nearest object and reflect back to the sensor Ambient light rejection (Time-of-Flight). Cross-talk compensation for cover glass Combining an IR emitter, a range sensor and an Gesture recognition ambient light sensor in a three-in-one ready-to- Distance and signal level can be used by use reflowable package, the VL6180X is easy to host system to implement gesture integrate and saves the end-product maker long recognition and costly optical and mechanical design Demo system available: P-NUCLEO- optimizations. 6180X1 evaluation board The module is designed for low power operation. Ambient light sensor Ranging and ALS measurements can be High dynamic range automatically performed at user defined intervals. Accurate/sensitive in ultra-low light Multiple threshold and interrupt schemes are supported to minimize host operations. Calibrated output value in lux Easy integration Host control and result reading is performed using 2 an I C interface. Optional additional functions, Single reflowable component such as measurement ready and threshold No additional optics interrupts, are provided by two programmable Single power supply GPIO pins. 2 I C interface for device control and data Provided with a documented C portable API (Application Programming Interface) March 2016 DocID026171 Rev 7 1/87 This is information on a product in full production. www.st.comContents VL6180X Contents 1 Overview 8 1.1 Technical specification 8 1.2 System block diagram 9 1.3 Device pinout . 9 1.4 Typical application schematic 10 1.5 Recommended solder pad dimensions .11 1.6 Recommended reflow profile .11 2 Functional description 12 2.1 Ranging pipe 13 2.2 System state diagram 13 2.3 Timing diagram . 15 2.4 Software overview 16 2.5 Operating modes . 16 2.5.1 Polling mode - single shot range/ALS measurement . 20 2.5.2 Interrupt mode 21 VL6180x RangeConfigInterrupt() or VL6180x AlsConfigInterrupt() . 22 Continuous mode limits . 22 2.5.3 Asynchronous mode - single shot range measurement 23 2.5.4 Interleaved mode 24 2.6 History buffer 25 2.7 Range Sensor . 26 2.7.1 Range timing . 26 2.7.2 Range error codes . 27 2.7.3 Range checks 28 Early convergence estimate (ECE) 28 Range ignore . 29 Signal-to-noise ratio (SNR) 29 2.7.4 Manual/autoVHV calibration . 30 2.7.5 Wrap Around Filter . 30 2.7.6 Maximum ranging distance (DMAX) . 30 2.8 Other ranging system considerations 32 2.8.1 Part-to-part range offset . 32 2/87 DocID026171 Rev 7