Go Down

Topic: Using a VL53L05X TOF sensor with TinyTILE-How? (Read 288 times) previous topic - next topic

djsb

Hello,
I have a TinyTILE board that uses the intel curie module and is identified as an Arduino 101 board in the Arduino IDE and compiles Arduino based code.

I would like to us an ST VL53L0X TOF sensor with my TinyTILE board. I have connected the SCL pin 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.

 

PS This question has also been asked on the intel community forum here

 

https://communities.intel.com/message/470705#470705

and the Element14 community here

https://www.element14.com/community/message/221393/l/using-a-vl53l05x-tof-sensor-with-tinytile-how#221393

Go Up