Unit ToF4M is a ToF laser ranging unit based on the VL53L1CXV0FY/1 sensor. It outputs distance data through an I2C interface at address 0x29. The sensor has a measurement range of 4 ~ 400cm and an adjustable field of view for object detection, distance measurement, and motion monitoring.
Unit ToF4M uses a HY2.0-4P interface for connection to M5Stack controllers. It is suitable for robot obstacle detection, object height measurement, and interactive installations.
Features
Measurement range: 4 ~ 400cm
ToF laser ranging with distance output in millimeters
Adjustable field of view
I2C interface at address 0x29
Supports Arduino and UiFlow development
Includes
1 x Unit ToF4M
1 x HY2.0-4P Grove cable (20cm)
Applications
Robot obstacle detection
Object presence and height detection
Interactive installations
Specifications
Specification
Parameter
Sensor
VL53L1CXV0FY/1
Measurement Range
4 ~ 400cm
Resolution
Millimeter level
Measurement Speed
Millisecond level
Field of View (FoV)
15 ~ 27°
Light Source Type
Laser (ToF)
Communication Interface
I2C Communication @0x29
Operating Temperature Range
0 ~ 40°C
Product Size
32.0 x 24.0 x 8.0mm
Product Weight
4.3g
Package Size
138.0 x 93.0 x 9.0mm
Gross Weight
10.0g
The maximum range of 4m is specified for a white target in dark conditions using long-distance mode. Actual range and accuracy depend on target reflectance, ambient light, and measurement timing budget. See the datasheet for details.
G22/G21 in the linked UiFlow2 example apply to Basic / Fire. For Core2, use SCL=G33 and SDA=G32; for CoreS3 / CoreS3-SE, use SCL=G1 and SDA=G2. Adjust the I2C configuration according to the host pin table above.