VL53L0X Time of Flight Sensor
R2026bLibraries:
Raspberry Pi Blockset /
Sensors
Simulink Support Package for Arduino Hardware /
Sensors
Description
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.
To generate C/C++ code for this block, you must have an Embedded Coder® license.
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.
"raspberrypisensorlib/VL53L0X Time Of Flight Sensor"
"arduinosensorlib/VL53L0X Time Of Flight Sensor"
Example: add_block("raspberrypisensorlib/VL53L0X Time Of Flight Sensor","myModel/myBlock",MakeNameUnique="on")
Extended Capabilities
Version History
Introduced in R2022b
