6 Software and board package
The software code example runs a proof of concept, implementing the algorithm as described in the sections
above. This software runs on a NUCLEO F401RE board and is accompanied by one X-NUCLEO 53L1A1
expansion board. The VL53L1X “left” satellite (see figure below) is the one enabled by the software example.
Figure 7. NUCLEO F401RE, X-NUCLEO, and VL53L1X satellite sensors
To test the software, you can move your hand from right to left or from left to right, at a distance of around 30 cm
above the sensor at a reasonable speed. Moving your hand simulates a person crossing a specified area which
gives an output on a counter.
The serial speed is set at the 460800 bauds per second.
The figure below shows the captured distances from two zones, where the VL53L1X is set at 2600 mm from the
floor. The black arrows correspond to the times when a person was detected entering or exiting the area being
tracked. Three crossings are visible. The first two arrows correspond to two entries and the last one corresponds
to an exit. The red and blue dots are distances measured by the sensor from the front and back zones.
UM2600
Software and board package
UM2600 - Rev 1
page 7/14