Page 4 of 4
Re: Heightsensor VL6180
Posted: Thu Sep 10, 2015 6:45 pm
by tobias
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
Posted: Fri Sep 11, 2015 11:39 pm
by mwall002
Yeah, I have been working on it too and it seems to be way beyond my programming ability...
Re: Heightsensor VL6180
Posted: Tue Sep 22, 2015 12:03 pm
by tobias
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!
Re: Heightsensor VL6180
Posted: Wed Sep 30, 2015 5:38 am
by mwall002
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.
Re: Heightsensor VL6180
Posted: Thu Oct 01, 2015 12:45 pm
by tobias
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
Posted: Fri Jan 15, 2016 11:19 am
by Fr4nky
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.