Proximity, gesture, ambient light sensor software expansion for STM32Cube

The X-CUBE-6180XA1 software package is an expansion for STM32Cube, associated with the X-NUCLEO-6180XA1 expansion board for STM32.

The source code of this package is based on STM32Cube and is aligned with the “Multi-Platform” file & directory structure to ease portability and code sharing across different STM32 MCU families.

The VL6180X is the latest product based on ST’s patented FlightSenseTMtechnology. This is a ground-breaking technology allowing absolute distance to be measured independent of target reflectance. Instead of estimating the distance by measuring the amount of light reflected back from the object (which is significantly influenced by color and surface), the VL6180X precisely measures the time the light takes to travel to the nearest object and reflect back to the sensor (Time-of-Flight).

Key Features

  • Driver layer (VL6180X API) for complete management of the VL6180X proximity & ambient light sensor (ALS) integrated in theX-NUCLEO-6180XA1 expansion board.
  • Easy portability across different MCU families, thanks to STM32Cube.
  • Free, user-friendly license terms.
  • Example code for ranging and ALS measurement.
  • Example code for ranging with multiple VL6180X sensors. Up to 4x VL6180X devices can be controlled using the X-NUCLEO-6180XA1 expansion board equipped with 3x satellites (VL6180X-SATEL).
  • Example code of gesture recognition.


Technical Documentation

Product Specifications
Description Version Size
DB2563 DB2563: Proximity, gesture, ambient light sensor software expansion for STM32Cube 5.0 79 KB
User Manuals
Description Version Size
UM2312 UM2312: Development checklist for STM32Cube Expansion Packages 1.0 283 KB
UM2285 UM2285: Development guidelines for STM32Cube Expansion Packages 1.0 485 KB
UM1876 UM1876: Getting started with VL6180X proximity, gesture, ambient light sensor software expansion for STM32Cube 3.0 2 MB

Presentations & Training Material

Description Version Size
STM32 and STM8 embedded software solutions 6.0 2 MB

Publications and Collaterals

Description Version Size
STM32 Open Development Environment Brochure 17.09 1 MB


License Agreement
Description Version Size
SLA0080 SLA0080: SOFTWARE LICENSE AGREEMENT ("Agreement") 1.1 99 KB

Tools and Software

STM32 Open Development Environment

Get Software

Part Number Software Version Marketing Status Supplier Order from ST
X-CUBE-6180XA1 1.2.0 Active ST