Converting the VL53L01X Arduino Library
Re: Converting the VL53L01X Arduino Library
That's great! It means that I just need to add that missing bit, and it should work. I have to admit I didn't expect you to finish this so fast, congratulations!
Re: Converting the VL53L01X Arduino Library
Thanks. Spent a couple late nights, plus I am stubborn. But like I said you all helped me with my questions otherwise it would have taken longer. Your version is a lot more polished, hopefully, it will take less space on the openmv which kept giving me a memory error (allocation of xxx bytes) message so I had to get creative.
Re: Converting the VL53L01X Arduino Library
I just ran your code and see what your mean. Up to about 200 mm it reads fairly accurately and then starts loosing accuracy. After about 300 it starts decreasing in values (only tried to about 600 mm). Sounds like just putting the timing budgets in it will work. One suggestion, recommend changing the functions names for start, stop and read to match the Pololu library functions. Think its more descriptive of the functions.
By the way, your code is a lot more efficient than mine and I am learning a few things from it on programming in python.
Thanks
Mike
By the way, your code is a lot more efficient than mine and I am learning a few things from it on programming in python.
Thanks
Mike
Re: Converting the VL53L01X Arduino Library
[quote=deshipu post_id=19682 time=1494710080 user_id=653]
I'm publishing it, because I managed to get some readings from the sensor with it. However, the readings I got are wrong.[/quote]
Did you remove the protective film from the sensor? I just went through this myself.
8-Dale
I'm publishing it, because I managed to get some readings from the sensor with it. However, the readings I got are wrong.[/quote]
Did you remove the protective film from the sensor? I just went through this myself.
8-Dale
Re: Converting the VL53L01X Arduino Library
Hello and thanks for the driver
I am running this library on fipy and even though it works fine for a few minutes. It seems to get an I2c bus error that halts the program. Has anyone else ran into this problem before? I am trying to figure out if there is something wrong with fipy or the library.
I am running this library on fipy and even though it works fine for a few minutes. It seems to get an I2c bus error that halts the program. Has anyone else ran into this problem before? I am trying to figure out if there is something wrong with fipy or the library.