1 Reply Latest reply on Apr 28, 2017 1:09 PM by Intel Corporation

    Using a VL53L0X TOF sensor with TinyTILE-How?

    djsb

      Hello,

      I would like to us an ST VL53L0X TOF sensor with my TinyTILE board. I have connected the SCL in on my Pololu Board

       

      Pololu - VL53L0X Time-of-Flight Distance Sensor Carrier with Voltage Regulator, 200cm Max

       

      to the I2C0_SCL and the SDA pin to I2C0_SDA pins on the TinyTILE. I have tried using the library mentioned here

       

      GitHub - pololu/vl53l0x-arduino: Pololu Arduino library for VL53L0X time-of-flight distance sensor

       

      but I can't get it to work.

       

      I'm wondering if I would have better luck using these I2C examples from here

       

      tinyTILE-Extended-Support-Library/examples at master · 01org/tinyTILE-Extended-Support-Library · GitHub

       

      Some basic questions.

      1/ How would I use the above TILE-Extended-Support-Library in the Arduino IDE?

      2/ Have I connected the sensor board to the correct I2C pins? There are 2 other pins on the TILE. Should I use these instead?

      3/ How would I adapt the above Arduino libraries (I.E include header files etc).

      4/ I just want to start off small so a good start would be to retrieve the model ID etc from the sensor and do a basic measurement. How would I begin?

       

      I hope someone can help. Thanks.