meta data for this page
  •  

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

sensor:vl6180x [2026/02/09 15:48] – created - external edit 127.0.0.1sensor:vl6180x [2026/02/09 15:56] (current) vamsan
Line 1: Line 1:
 ====== LamaPLC: VL6180X  STMicroelectronics Time-of-Flight (ToF) sensor with I2C communication ====== ====== 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+{{ :sensor:vl6180x.png?180|VL6180X}} 
 +The VL6180X is a small optical sensor from STMicroelectronics that utilizes Time-of-Flight (ToF) technology to deliver precise distance and ambient light measurements. Unlike conventional IR sensors, it determines absolute distance regardless of the object's color or reflectivity.
  
-TechnologyTime-of-Flight (ToF) based on STMicroelectronics FlightSense patented technology. +**Laser distance sensors:** \\ 
-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. +Laser sensors, similar to IR sensorsuse triangulation to measure distance. The sensor emits a laser beam that reflects off the measured surface and passes through lens onto the CCD or CMOS sensorAs the surface moves closer or farther awaythe projected point shifts position on the sensor. The electronics analyze this shift to calculate the distance
-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 typical accuracy of ±3% at distances up to 1 meter. +
-Power Consumption: Very lowwith 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 ==== +  * **Technology:** Time-of-Flight (ToF) based on STMicroelectronics FlightSense patented technology. 
-  * SCLA5 +  * **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. 
-  * GNDGND +  * **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. 
-  * SDAA4 +  * **Interface:** Communicates via an I²C interface (default address 0x29) and includes XSHUT (shutdown/reset) and GPIO1 (interrupt) pins for control and data transfer. 
-  * Vdd: 5V+  * **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.7 .. 5.5V DC** 
 +  * **Responsive time:** 50ms 
 + 
 +==== VL6180X Pinout ==== 
 +^Pin Name^Type^Description| 
 +|VIN|Power|Main power supply input (typically 2.7V to 5.5V).| 
 +|GND|Power|Common ground for power and logic.| 
 +|SCL|I²C Clock|I²C serial clock line. Logic level matches VIN.| 
 +|SDA|I²C Data|I²C serial data line. Logic level matches VIN.| 
 +|GPIO0 / SHDN|Control|Shutdown/Chip Enable. Pulling this pin LOW puts the sensor into standby mode. It is usually pulled HIGH by default.|
 ==== Arduino code ==== ==== Arduino code ====