Hi,
We have 5 AS7331 sensors. 2 of them work perfectly with the example code whereas there are 3 others with issues:
- 1 sensor: stuck on AS7331 UV A/B/C Command (One-shot) mode Example
- 2 other sensors: Provide readings but keep the same value for UVC:1.30
Could these sensors be faulty?
Thanks!
Are you power-cycling/restarting the controlling software/hardware? Are you trying to use them all at once? How are they powered/wired?
They are connected and powered by an Arduino Uno in line with the default schematics on 3v3 for power. Restart/power-cycling doesn’t have any effect.
Are you trying to use them all at once?
Odd - can you share a photo of the setup?
Does changing the baud, reconnecting, or anything else change the behavior?
Will share a photo of the setup. Multiple things have been tried but no change for those sensores
Below picture on how the sensors are being connected
Solder some headers on (or wires) and re-try; it’ll be very sketchy with just loose wire in the PTH holes
They have been soldered on as we had noticed that effect already.
Does the power LED light up? Does anything appear on an i2c scan?
It lights up. Didn’t do an i2c scan yet but the board provides data, but the values don’t change
Odd - can you test another i2c device and ensure it works?
Are there any sketchy solder joints on it? An odd failure mode make me suspect flux residue or something