Can't connect more than two TOF sensors to arduino nano

That's what i'm trying to avoid using

Let us know how that works out for you.

But you didn't post your code and schematic showing your attempt at this.

Just switched the cable from VIN to XSHUT and connected 5v to VIN. Should i draw it again? : D

#include <Wire.h>
#include <VL53L0X.h>

const int sensor_count = 3;
const int sensor_pin[sensor_count] = {2, 3, 4};
const int sensor_address[sensor_count] = {0x01, 0x02, 0x03};

VL53L0X sensor[sensor_count];

void setup() {
    Serial.begin(38400);
    Wire.begin();
  
    for (int i = 0; i < sensor_count; i++) {
      pinMode(sensor_pin[i], OUTPUT);
      digitalWrite(sensor_pin[i], HIGH);
      delay(10);
  
      sensor[i].init();
      sensor[i].setAddress(sensor_address[i]);
      sensor[i].startContinuous();
    }
  
    delay(500);
}

void loop() {
    Serial.print(sensor[0].readRangeContinuousMillimeters());
    Serial.print(",")
    Serial.print(sensor[1].readRangeContinuousMillimeters());
    Serial.print(",")
    Serial.print(sensor[2].readRangeContinuousMillimeters());
   delay(10);
}

Yes.

Plus the code is not what I said to do either. Please ask again on what specifically you did not understand about what I said.

It does? It drives the xshut pin for every sensor HIGH so i can set the address one by one.

I never said anything about setting the I2C address.

Are you not interested in getting it to work? If not why ask the question?

Ahh, i get what you mean sorry. That's not an option because i would have to wait for all sensors to return from shutdown and i need to read the values fast. It also doesn't fix the issue i'm having. The init() function still hangs and I2CScanner doesn't find anything.

That is because you are not doing it right.
See post #15

So where are you setting the mode sensor pins to be an output, with a value of LOW, before that for loop sets them HIGH, one at a time?

It works fine for 2 sensors without resetting. Already tried to reset with 3 but had the same problem

Setting the pin as OUTPUT sets them low doesn't it?

If all the sensors with XSHUT's are held low then there are no I2C devices awake. Bring one sensor out of reset with HIGH to its XSHUT, talk to it, put XSHUT low to put the sensor back to sleep, bring the next sensor out of reset and continue till all sensors have been read, repeat.

In setup() after putting all the sensors XSHUT's to low delay for 10 seconds before entering into loop.

Thats what i tried but had the same problem

What did the sensor manufacturer say about their device not working as advertised?

Already tried using a spare one and it still didn't work. It's really weird. Unfortunatly i also have no other arduino laying around to test if it with

No you set the pin as output AND THEN you set them ALL LOW.

It seems I am wasting my time here, so I will disengage with this thread.

It doesn't matter. The pins are set to low when setting them as output. I tried setting them low anyways and had the same problem.