AS7331 UV Sensor

I have a AS7331 (Sparkfun PN:SEN-23518) I’m using the Nano IOT 33 board, have also tried UNO R4 WiFi with same results. I’m using the first example “Continuous mode example”.

The program stops at the first Initialize in the program and halts. I using the QWIC connection and have attached another device and it works fine, have also run scan I2C scan program which found the the 3 address of the 3 sensors UVA, UVB, UVC.

I’m using Arduino IDE Version 2.3.6, the laest libraries from the Sparkfun website for both the AS7331 and the Sparkfun tool kit.

Any help would be apreciated.

Thank You

Thomas Kleyn

Please post a photo of your setup, especially showing the details of how you connected the interrupt pin, as instructed in the getting started guide.

Make sure that you selected an interrupt-capable pin and if necessary, changed the default in the code.

The R4 may not respond to the interrupt without a logic level translator, because of the mismatch in I/O voltage levels.

Thanks so much for responding to my issue. I actual had a bad Qwic connector, everything is working as it should. Thanks again!!