Datasheet
Python &
CircuitPython
It's easy to use the VL6180X sensor with Python and CircuitPython, and the Adafruit CircuitPython
VL6180X (https://adafru.it/C66) module. This module allows you to easily write Python code that reads the light and
proximity readings from the sensor.
You can use this sensor with any CircuitPython microcontroller board or with a computer that has GPIO and Python
thanks to Adafruit_Blinka, our CircuitPython-for-Python compatibility library (https://adafru.it/BSN).
CircuitPython Microcontroller Wiring
First wire up a VL6180 breakout to your board exactly as shown below. Here's an example of wiring a Feather M4 to
the sensor with I2C:
Board GND to sensor GND (black
wire)
Board 3V to sensor VIN (red wire)
Board SDA to sensor SDA (blue wire)
Board SCL to sensor SCL (yellow wire)
Board GND to sensor GND (black
wire)
Board 3V to sensor VIN (red wire)
Board SDA to sensor SDA (blue wire)
Board SCL to sensor SCL (yellow wire)
Here's an example of wiring a Feather M0 to the sensor with I2C:
© Adafruit Industries
https://learn.adafruit.com/adafruit-vl6180x-time-of-flight-micro-lidar-
distance-sensor-breakout
Page 18 of 27










