2024-04-25 01:25 AM
Sure! Here's the rephrased version of your request in English:
I'm using a Nucleo F401RE board with two VL53L5CX sensors. Here are the steps I've taken:
Everything works fine individually for each sensor, but when trying to run both sensors simultaneously, I encounter issues. I'm having trouble pinpointing the problem.
2024-04-25 02:59 AM
Please show a schematic of your setup - it's a far more effective way of communicating the setup than using words!
How are the VL53L5CX sensors mounted - a custom board? commercial breakout boards? other?
Some good, clear photos of your setup would help.
@rhamine wrote:when trying to run both sensors simultaneously, I encounter issues.
So what "issues", exactly, do you encounter?
@rhamine wrote:I'm having trouble pinpointing the problem.
What have you tried so far? What have you learned from that?
Have you looked at the I2C lines with an oscilloscope to see what's happening?
Please use this button to properly post source code:
2024-04-25 05:06 AM
The issue is that both sensors operate individually on the same bus. I have initialized each sensor separately, and here is the output.
2024-04-25 06:37 AM
Please use this button to properly post source code: