Heightsensor VL6180
Re: Heightsensor VL6180
Porting the ST driver was a bit more work the anticipated. I've got everything compiling now but getting something working will take a bit longer...
Re: Heightsensor VL6180
Yeah, I have been working on it too and it seems to be way beyond my programming ability...
Re: Heightsensor VL6180
I got some ranging results. Doesn't seem to work as it should yet though as it only seems to range between 150- 200 mm. Anyway it should be good enough for you to start experimenting. I'm not using any interrupt functionality so the only thing you should need to wire is power and the i2c bus.
I pushed the driver on the vl6180x branch.
if you define VL6180X_LOG_ENABLE you should get a lot of prints to the cfclient console from the ST driver which might help when debugging.
Also I added some logging variables so one can plot the ranging in the cfclient.
Tell me how it works!
I pushed the driver on the vl6180x branch.
if you define VL6180X_LOG_ENABLE you should get a lot of prints to the cfclient console from the ST driver which might help when debugging.
Also I added some logging variables so one can plot the ranging in the cfclient.
Tell me how it works!
Re: Heightsensor VL6180
Thanks Tobias!! Check out the attached image. Looks like the sensor is reading!
Like you said, it looks like it needs a bit of fine tuning but at least I know it works now. The goal is to use the sensor to have a very controlled hover, so it needs to be working optimally.
Like you said, it looks like it needs a bit of fine tuning but at least I know it works now. The goal is to use the sensor to have a very controlled hover, so it needs to be working optimally.
Re: Heightsensor VL6180
Great! Looks like you have similar behavior as I have. It does not read anything close. I guess it is a configuration thing, however I don't have any time to look into that right now so I'll leave it to you .
Re: Heightsensor VL6180
ST released a new version of the sensor with a range of over 2m:
http://www2.st.com/content/st_com/en/pr ... 53l0x.html
This one looks very interesting for use with the CFN.
http://www2.st.com/content/st_com/en/pr ... 53l0x.html
This one looks very interesting for use with the CFN.