meta data for this page
This is an old revision of the document!
LamaPLC: VL6180X STMicroelectronics Time-of-Flight (ToF) sensor with I2C communication
The VL6180X is a compact optical sensor by STMicroelectronics that uses Time-of-Flight (ToF) technology to provide accurate distance (ranging) and ambient light level measurements. Unlike traditional IR sensors, it measures absolute distance independent of the object's color or surface reflectance
Technology: Time-of-Flight (ToF) based on STMicroelectronics FlightSense patented technology. Measurement Range: Measures distances from 30 mm up to 2,000 mm (2 m), with resolution in millimeters. The achievable range can vary based on ambient light and target surface properties. Emitter: Uses a 940 nm invisible Class 1 VCSEL (Vertical Cavity Surface-Emitting Laser) which is eye-safe and offers high immunity to ambient light. Interface: Communicates via an I²C interface (default address 0x29) and includes XSHUT (shutdown/reset) and GPIO1 (interrupt) pins for control and data transfer. Accuracy: Provides a typical accuracy of ±3% at distances up to 1 meter. Power Consumption: Very low, with approximately 10 mA typical average during active ranging and 5 µA in standby mode. Dimensions: A miniature module, typically 4.4 x 2.4 x 1.0 mm for the sensor chip itself, with carrier boards available for easy integration into breadboards. Operating voltage 2.6 .. 3V DC Infrared light at 850 nm Responsive time: 50ms
Arduino wiring
- SCL: A5
- GND: GND
- SDA: A4
- Vdd: 5V
Arduino code
sample
Example codes
none
I²C topics on lamaPLC
This page has been accessed for: Today: 1, Until now: 3