Using a VL5310x ToF sensor on the micro:bit
Posted: Sun Apr 09, 2017 8:20 am
Hi,
I'm new to the Microbit but have some experience with microcontrollers (PIC and Arduino using C) and I'm just learning Python.
I would like to know how I can use an ST VL5310x Time of Flight sensor with my Microbit. The VL6180X sensor is mentioned here
viewtopic.php?t=2919
and there is a python file mentioned here for the VL6180X
viewtopic.php?f=14&t=1902
How could this file be adapted and used with the MicroBit? Is it possible to make changes to the hexadecimal numbers(addresses?) in this file by referring to the datasheet for the VL5310X? What do I have to do then to get this to work?How would a python file be included in the source code in mu for instance?
I hope someone can help? Thanks.
David.
I'm new to the Microbit but have some experience with microcontrollers (PIC and Arduino using C) and I'm just learning Python.
I would like to know how I can use an ST VL5310x Time of Flight sensor with my Microbit. The VL6180X sensor is mentioned here
viewtopic.php?t=2919
and there is a python file mentioned here for the VL6180X
viewtopic.php?f=14&t=1902
How could this file be adapted and used with the MicroBit? Is it possible to make changes to the hexadecimal numbers(addresses?) in this file by referring to the datasheet for the VL5310X? What do I have to do then to get this to work?How would a python file be included in the source code in mu for instance?
I hope someone can help? Thanks.
David.