There should only be one set of pull-ups active on a single bus; it sounds like you need to disable one or the other (there’s a set of i2c pads that you can cut the traces to on the front of the board)
So, I bought the Qwiic connector and QWiic 3.3V I2C board, as recommended.
Now, the AS7265X Example program (Basic Readings) prints to the serial monitor “AS7265x Spectral Triad Example” and then hangs indefinitely. No more serial output. No longer does it send the serial output “Sensor does not appear to be connected. Please check wiring. Freezing…” as it did previously. It’s a bit disappointing to have to send this back.
Do you have any suggestion for a fix? I’m planning to use 20 of these in the Fall for an engineering design course, but only if I can get them to work!
After encountering the same problem using the ESP32-C6-MINI, I implemented a for loop to give the sensor some additional chances to initialize. This has solved the problem for me:
Serial.println("AS7265x Spectral Triad Example");
for (int j=0; j<15;)
{
sensor.begin();
delay (50);
if (sensor.begin()==true)
j=50
;
else
{
Serial.print("Sensor failed to initialize, retrying... ");
Serial.print(j+1);
Serial.println("/15");
j++;
}
}