2018-10-31 10:47 AM
Hello my company we use VL6180X for proximity sensing, in a robot gripper's finger. The sensor is located in the middle of the finger 10mm deep 7mm wide hole.
The range measurements data of the finger's sensors are so different. I think this is caused by reflection of the hole's wall like a crosstalk event. We want to make an offset and and a crosstalk calibration method, but it's not clear for me how to calculate the offset difference and the crosstalk difference . Should it be measured from the top of the sensor chip or from the top of the sensor house, like it would be a very thick glass cover? The datasheet writes "from top of the cover glass" but we don't have a cover glass.
2018-11-29 04:32 AM
Hi vincze.balazs, I have a similar issue and nobody reply here as well. Seems st support completely dead.. I try to use low level commands to measure a distance but VL6180x shows ******** instead of promised tolerance )) The minimum range is 160mm max 300mm instead of 0:100mm, and far not linear, <160mm I see only 15mm result )) I'll try to revers engineering their stupid API for couple days, if I spend more time, I gonna switch my product to avago stuff ))
2019-04-10 02:35 PM
Sorry for the lack of support. Completely my fault for not tracking the site correctly.
If no coverglass, then no crosstalk calibration is required. The trick is to make the hole wide enough so the sensor does not 'see' the side of any hole.
Use the enclosed excel spread sheet to calculate the keep-out.
To calculate the offset, put an object at some well-known distance and range on it, the offset is the difference between the two numbers. Use that as your offset. All numbers should be from the top of the sensor, or cover glass if you have one.
2020-10-09 03:27 AM
Hi John E KVAM,
Using Manual offset calibration procedure of https://www.st.com/resource/en/application_note/dm00122600-vl6180x-basic-ranging-application-note-stmicroelectronics.pdf I get:
So.... What I'm missing?
2020-10-09 10:49 AM
Could you move this question to a different thread? Too much time has elasped between posts.
it bothers the heck out of me that you get 0 at 50mm. 0 may be a distance, but it's also what you get if something is not working.
Before your calibration, choose a distance where you actually get a distance.
By adding 10mm to your offset, you get distances that are 10mm longer. It's nothing but applying the offset to your range.
The calibration goes like this:
Disable the offset registor.
range 50 times and average the results
Compare that average to the known distance.
The delta is your offset - put that in your register.
Then the delta is added to all the results.
I'm thinking you are getting crosstalk - and that might be why you are getting 0 for an answer.
Did you use a highly reflective target to do your offset?
It needs to be bright enough to overcome the crosstalk effects.
2020-10-13 02:04 AM
I have moved it to https://community.st.com/s/question/0D53W00000KolaQSAR/vl6180x-offset-issues
I am not using cover glass, so I don't think crosstalk may be the problem. Anyway, I will try to adjust cross-talk
For testing we are using white sheet of paper, my hand, whatever. Behaviour is the same.
Kind Regards,
Rafa