AS7341 i2c address clash with CLUE's APDS9660

For CircuitPython issues, ask in the Adafruit CircuitPython forum.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
kevinjwalters
 
Posts: 1025
Joined: Sun Oct 01, 2017 3:15 pm

AS7341 i2c address clash with CLUE's APDS9660

Post by kevinjwalters »

I just plugged an Adafruit AS7341 into my CLUE using a STEMMA QT cable and found the library did not want to recognise it.

Code: Select all

>>> sensor = AS7341(i2c)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "adafruit_as7341.py", line 301, in __init__
RuntimeError: Failed to find an AS7341 sensor - check your wiring!
My wiring was fine - turns out my luck ran out and I've walked into my first i2c address clash with the CLUE's onboard APDS9960 light sensor at 0x39.

I'd like to use the AS7431 with a board with a colour display. I've never tried it but if the CLUE can't do hardware i2c on alternative pins on the edge connector then CircuitPython's bitbangio seems like an option if I want to go via the less elegant edge connector route?

It looks like the relatively large SparkFun Quiic MUX (multiplexor) is another solution to my problem if I want to still use the CLUE?

Have there been any thoughts on how to reduce the likelihood of users buying incompatible STEMMA QT combinations?

Locked
Please be positive and constructive with your questions and comments.

Return to “CLUE Board”