Do you want to create a laser rangefinder for determining short distances up to 1cm? What about with no “dead zones”, no reflection issues, and no scattering.
This sensor measures the time it takes for light to travel the distance to and from an object. It works just like an ultrasonic sensor, only tens of thousands of times faster.
However, an Arduino can’t work that fast. Therefore, the processor, timer and other electronic data are collected in the module itself. The microcontroller receives already processed results via I2C interface. A voltage regulator allows the module to work with both 3.3 and 5 volts without affecting the accuracy of measurements.
Unlike the usual IR rangefinders, the VL6180 does not depend reflection to find the object’s distance. It can determine the distance to a mirror, frosted glass, the surface of a liquid, or a cardboard box to the nearest millimeter.
The module also includes an additional light sensor. Its data is used by the module to correct the measurement results. In addition, the sensor data is available through the library, which means you can also accurately measure illumination in the range from 1 to 100,000 lux.
Connect the module via 3-pin jumper cable. The 3-pin jumper cables needed for the connection are included in the kit.
There are several different ways to wire this module:
Troyka Shield. The most straightforward method. Connect the module to a pin group on Troyka Shield with the 3-pin jumper cable and you’re ready to interface with it from your Arduino.
Troyka Slot Shield. The best choice for quick prototyping. Using slots on the shield, you can get rid of cables. The module will be held securely in place using both pin headers.
Breadboard. For advanced use. Troyka pin headers have 0.1” spacing which is compatible with any breadboard. Simply wire the module like you would do with any IC.