Anyone used the VL53L0X time of flight sensor with Propeller/Spin? Can pay for code.
varnon
Posts: 184
Hi all,
I'm looking at using ST's VL53L0X time of flight sensor with some of my projects. It looks pretty interesting. But the data sheet and documentation are not great. Before I get too deep into translating ST's api or Pololu's Arduino code, I was curious to see if any one had already gone through the process. I saw a few posts on the VL6180X, but I need a little more range than that can offer.
I'm looking at using ST's VL53L0X time of flight sensor with some of my projects. It looks pretty interesting. But the data sheet and documentation are not great. Before I get too deep into translating ST's api or Pololu's Arduino code, I was curious to see if any one had already gone through the process. I saw a few posts on the VL6180X, but I need a little more range than that can offer.
Comments
obex.parallax.com/object/852
Erlend
Also, I just discovered that the VL6180X has a range scaling factor (not described in the data sheet) that will let you increase the range from 200 mm with a 1 mm resolution, to 400 mm with a 2 mm resolution, or 600 mm with a 3 mm resolution. That would actually be fine for my purposes. So I might end up going that way.
I would appreciate if you would share the details of this scaling factor with me.
Erlend
https://www.pololu.com/product/2489
Their Arduino code contains some instructions. Looks pretty easy to execute.
ST has a description of it on a document for one of their eval boards. I haven't looked for it in their API manual yet, but I assume it is there as well.
But, it looks like you can set it during the init method. The fourth register written, $97 is the range scale. The application notes tell you to write $FD, but you can write $7F for the 40 mm range, or $54 for the 60 mm range. Everything seems to work exactly as suggested if you do that. I'm just not able to change the range scaling after initialization.
Erlend