2021-08-10 11:31 AM
Hi,
I am running into a problem where the VL53L0x will return "0" for its SignalRateRtnMegaCps value for certain range measurements. Some sensors I have it does this an overwhelming amount of the time. Some sensors I only see this periodically.
I use this SignalRtn value to gauge how strong of a reading I received. The 0's happen in situations where I would certainly expect there to be a strong value for SignalRate.
Does anyone knows if this "0" means anything? Or if anyone has come across this before? Thanks
Solved! Go to Solution.
2021-08-18 11:51 AM
The thing to do is check the RangeStatus. I'm going to guess that the RangeStatus is non-zero.
The RangeStatus is NOT the function call status - but a register you have to ask for after the range is done.
This value will clue you in to why the ranging operation status failed.
Zero is the value we put into the signal strengh register when the range fails.
2021-08-18 11:51 AM
The thing to do is check the RangeStatus. I'm going to guess that the RangeStatus is non-zero.
The RangeStatus is NOT the function call status - but a register you have to ask for after the range is done.
This value will clue you in to why the ranging operation status failed.
Zero is the value we put into the signal strengh register when the range fails.