AS7265X Not Detected with ESP32 WROOM 32 Dev Kit - "No I2C Device Found"

We are trying to interface the AS7265X spectral sensor with an ESP32 WROOM 32 Dev V1 kit, but we are facing some issues. When we run the example code from the AS7265X library, the output shows:
“Sensor does not appear to be connected. Please check wiring. Freezing…”

To debug the problem, we ran an I2C Scanner code on the ESP32. However, the scanner output showed:
“No I2C device found.”
we have Double-checked the wiring:

SDA → GPIO 21 (default SDA pin on ESP32)
SCL → GPIO 22 (default SCL pin on ESP32)
VIN → 3.3V (ensured sufficient power supply)
GND → Ground
we are stuck with the sensor not being detected.

Could this be a hardware issue with the AS7265X sensor or breakout board? Or are there compatibility issues between the ESP32 and AS7265X?

We would greatly appreciate any guidance, suggestions, or troubleshooting tips to help us move forward.

Do you have any other i2c sensor you can test? Share a photo of the setup


Tested the board with lcd display(having I2C)…it worked…

You need to solder header pins or sockets to the board.

Sticking jumper wires through the holes into a breadboard won’t give the solid connection required for I2C communication to work.

1 Like