VL53L0X Time of Flight Sensor
R2026bLibraries:
Simulink Support Package for Arduino Hardware /
Sensors
Raspberry Pi Blockset /
Sensors
STM32 Microcontroller Blockset /
Sensors /
IMU Sensors
Description
Add-On Required: This feature requires the Simulink Support Package for Arduino Hardware add-on.
The VL53L0X Time of Flight Sensor block measures the distance to a target object for a complete field of view (FOV = 25 degrees). This block also provides the option to select one of four ranging modes based on your requirements.
Note
XSHUT connection is required for VL53L0X sensor. Connect the XSHUT pin to vcc.
Note
The Monitor and Tune action (External mode) to tune parameter values of the Simulink model is not supported, if the VL53L0X sensor is connected to boards such as Arduino Uno, which have low memory.
Ports
Output
Parameters
Programmatic Use: Add Block
To add the block programmatically, use the add_block function with one of these library block paths as the source.
"arduinosensorlib/VL53L0X Time Of Flight Sensor"
"raspberrypisensorlib/VL53L0X Time Of Flight Sensor"
"stm32IMUsensorslib/VL53L0X Time Of Flight Sensor"
Example: add_block("arduinosensorlib/VL53L0X Time Of Flight Sensor","myModel/myBlock",MakeNameUnique="on")
Version History
Introduced in R2022a