cancel
Showing results for 
Search instead for 
Did you mean: 

VL53L0X problem connecting to Nucleo F401RE

Aharon1
Associate II

Hi

I have been working with the Nucleo F401RE + P-NUCLEO-53L0A1 sampling the VL53L0X, and it was working fine.

However interfacing the Nucleo F401RE  to another VL53L0X module (https://picclick.de/VL53L0X-Time-of-Flight-Distance-Sensor-Breakout-GY-VL53L0XV2V-Module-for-401696110421.html) is not working.

Addresses :

I am using the same code, only added a 4th sensor (in P-NUCLEO-53L0A1 there are 3 sensors -address 0x54,0x56,0x58), I have set the 4th senosr address to 0x52.

The same module interfaces perfectly to an Arduino UNO and getting fine readings

I have used an i2c scanner and saw 0x29 address, I tried 0x29 as well altough I understand the last bit is determines read or write (so 0x29 is actually 0x52)

Wiring :

Both the The Nucleo F401RE and the Arduino interface included -

connecting the 3.3v rails to the mosule Vin),

Appyling 3.3v to the XSHUT

Connecting SCL and SDA to the Nucleo F401RE's D15 and D14 (to the Arduino's A5,A4)

I really have no idea what could be the problem , since I verified the address, I have a functioning code for the Nucleo F401RE, have a working sensor, and would appreciate any lead regarding a path the debugging and solving this.

Thanks!

0 REPLIES 0