DIY SLAM deck

Firmware/software/electronics/mechanics
Post Reply
thasu
Member
Posts: 31
Joined: Wed Oct 18, 2017 7:16 am

DIY SLAM deck

Post by thasu »

I'm trying to detect obstacles infront of the CF using a front mounted ToF sensor (Adafruit brekaout board for VL53l0X). After connecting the I2C lines of the ToF sensor to CF it doesn't detect the flow deck. Can you please tell me what modification are recommended to do to read the values from ToF sensor while running the flow deck?
tobias
Bitcraze
Posts: 2339
Joined: Mon Jan 28, 2013 7:17 pm
Location: Sweden

Re: DIY SLAM deck

Post by tobias »

Hi!

I think it is because the two vl53l0x sensors will share the same I2C address during startup and thus collide. You need to hold the adafruit vl53l0x in reset and reconfigure the flow deck vl53l0x address and after that you can talk. You can get some ideas and pointers in how we did it here.
Post Reply