A front add-on for Stackr. A VL53L0X laser sensor measures distance from the robot to objects in front of it for collision avoidance.
As a hand-following add-on for Stackr uses a laser range-sensor VL53L0X Time-of-Flight sensor connected with the Arduino Nano ESP32 via the I2C protocol. Built as a precursor to the Sumo-bot project, it allowed me to learn about I2C interface and protocol.
| ISSUE | SOLUTION |
|---|---|
| Getting fake object detections from ground reflections | Raised the position of the sensor and allow the cross bar to be installed with single screw on each side to allow changing its angle. |
| Getting wrong measurements due to unknown reasons | Use multiple readings to eliminate outliers. |
The lidar frame on Stackr, with the sensor cable running back to the controller.
This recording shows the lidar add-on mounted on Stackr.
A laser range finder is placed on the Stackr using a 3D printed mount to measure distance to objects in front of the robot.
The software controlling the distance reading from the sensor is using the information to control the speed of the differential drive train onboard Stackr.
Multiple applications were created. Use the ToF sensor to avoid hitting obstacles while Stackr is driven using the mobile app or RC controller. Another application was self driving with collision avoidance.
Stackr is used as the main platform to install the Lidar as an add-on. All the software is run on the Stackr's MCU.
The printed frame, the mount on Stackr, and the CAD model.
FreeCAD model of the mint frame over the white Stackr, with the sensor cable across the deck.
Mint side frames and the two rails that hold the sensor.
Mint frame screwed together, with the sensor ribbon cable looped through the top rail.
Mint frame bolted over the white Stackr, with the ribbon cable running to the deck.
Clear RobotiX One kit box labeled LIDAR, with the mint parts inside.
12 photographs and drawings from this build.
| PARAMETER | SPECIFICATION / VALUE |
|---|---|
| Range Sensor | VL53L0X |
| Communication | I2S |
| CAD Software | FreeCAD |
| Manufacturing | 3D Printing |
| Controller | Mobile App |
| Features | ToF distance measuring |