2017-02-01 12:47 AM
Hi, all
I'm using some VL6180X devices on my custom board.
Then, their range offset seem to change every start up about �5mm, although I adjust the offset as directed in application note.What affects the range offset?Under normal circumstances, is it enough with only once adjustment?Is this problem specific to my board?Does anyone has the same issue?
Best regards,
Ishikawa#proximity-sensor #multiple-vl6180x #offset #vl61802017-04-07 09:41 AM
The offset data is NOT stored within the sensor. The procedure should be:
2017-04-21 04:46 PM
Hi, john
Thank you for your response and I apologize my late reply.
Please let me ask you a question about the following:
>The offset data is NOT stored within the sensor.
There are the following codes in this document (
).>The part-to-part range offset is calibrated during manufacture and stored in NVM.
Isn't the offset value hold in the VL6180's NVM?
According to this document(
),VL6180 has a NVM.
Best regards
Ishikawa
2017-04-21 05:41 PM
Hi, John
Please let me ask you a question again.
>I'm using some VL6180X devices on my custom board.
Then, their range offset seem to change every start up about ±5mm, although I adjust the offset as directed in application note.
>What affects the range offset?
Now, I compensate the range data like following:
1.turn on my board
2.put a white board in front of the sensor at 50mm
3.get the range data many times
4.calculate the offset in accordance with procedure of application note 4.1.1
https://cdn.sparkfun.com/datasheets/Sensors/Proximity/VL6180_ApplicationNote.pdf
At present, I repeat this procedure every restart.
However, this is very very bothersome.
Once, I intended to reuse the offset data by saving the data in my file,
but when I restarted my board, the offset data seemed to be inappropriate.
Can I reuse the offset data, if I restart the board?
Best reagrds
Ishikawa
2018-01-02 11:21 AM
Once you do the offset calibration, it's good for that chip forever. Do the calibration, read the cal data from the chip and store it in your application. At reboot, write the cal data you saved to the sensor.