How exactly do I read the histogram on VL53L8CH
- July 17, 2024
- 1 reply
- 1541 views
Hello Community, I am new here and new to this field as well. I am currently using the VL53L8CH Lidar Sensor which has a MZAI some GUI tool to access and save data logs along with some visualizations of the data.
I am currently doing some experimentation with the sensor and trying to understand the output data. I have the excel file through which I am accessing the CNH data.
1. What does the CNH data even mean, why are some values -ve in it, the CNH plot provided by the BUI doesnt show any -ve values but the graph there is all in the +ve axes?
My Experiment: Placing a flat white reflective square object at around 5 feet along with another larger flat white square object at 2 bins apart behind object 1 (considering the bin width to be around 222mm as the sensor is in 8x8 mode and the number of bins is 18 over the 4000mm range of the sensor).
My Findings: When I drew histograms/bar graphs of these CNH values for the zones that were illuminated for Object 1 (the smaller object at front), I saw that the histogram had its peak at around bin 10 and 11, which is around 2220 mm. But my object when placed showed distance in mm as ~1530mm.
Is the peak value in the histogram decided as the distance of the object?
Also how do I find the distance of the 2nd object which is popping up in the histogram? Just by the bin length but as bin size is 222mm, that would be a lot of margin of error.
