Just got the AS7331 Sparkfun Sensor and when I call the read sensors functions with the example sketches, I get the same return values each time.
UVA:2.66 UVB:2.95 UVC:1.30
It seems like this problem was reported on this thread but without resolution.
Note that I get exactly the same values returned as what they reported, and it seems like this happens in other posts as well.
I’ve tried this on two different AS7331 sensors that I just purchased.
I’m running this on an ESP32 Lolin D32, and have tried two different ESP32s with the same result. The same ESP32s can use the AS7265x Spectral Triad sensor just fine.
I’ve tried both these sketches with the same result
Example01_Basic_OneShot
Example02_CONT_Mode
Here’s my breadboarded setup. Note running interrupt to pin 15 and the software code works fine.
And thoughts?