Problem with AS7262

Breakout boards, sensors, other Adafruit kits, etc.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
chf78
 
Posts: 2
Joined: Wed Mar 22, 2023 2:06 pm

Problem with AS7262

Post by chf78 »

AS7262 6-Channel Visible Light/Color Sensor Breakout, ID 3779, Invoice 3019767 ordered 2/16/23
AS7262 6-Channel Visible Light/Color Sensor Breakout, ID 3779, Invoice 3038603 ordered 3/17/23

I am having a very similar problem to the one discussed in this thread: viewtopic.php?t=199319. Because of this, I have tried all of the troubleshooting methods discussed in that thread before making this post.

I have been unable to get the unmodified AS7262_test code working on both of the AS7262 sensors that I ordered, and always get "could not connect to sensor! Please check your wiring.". I'm pretty confident that my soldered connections are solid as I have tested them all with a multimeter for continuity. The IND LED blinks at a regular rate on both sensors when connected to the Arduino Mega 2650 I am using, indicating that they are being powered.

First AS7262 module:
AS7262_module1.jpg
AS7262_module1.jpg (65.19 KiB) Viewed 89 times
Second AS7262 module:
AS7262_module2.jpg
AS7262_module2.jpg (60.11 KiB) Viewed 89 times

To test whether there is a problem with the i2c lines on the Arduino Mega 2650, I have run an i2c scanner with both AS7262 modules as well as the RGB LCD Display included on the first invoice.

RGB LCD Display product page: https://www.adafruit.com/product/714?gc ... hkQAvD_BwE

Wiring used for i2c scanning of AS7262:
singleSensor_Mega.jpg
singleSensor_Mega.jpg (126.77 KiB) Viewed 89 times

User avatar
chf78
 
Posts: 2
Joined: Wed Mar 22, 2023 2:06 pm

Re: Problem with AS7262

Post by chf78 »

Here is a close-up of the wiring on the AS7262 (same for both modules so I only show one here):
i2cWiring_closeup.jpg
i2cWiring_closeup.jpg (76.09 KiB) Viewed 88 times

Here is the wiring used with the RGB LCD Display, following the Arduino Mega schematic given on the product page:
lcdMega_wiring.jpg
lcdMega_wiring.jpg (93.46 KiB) Viewed 88 times

i2c scanner results:

Results from first AS7262 only:
I2C Scanner
Scanning...
No I2C devices found

Results from second AS7262 only:
I2C Scanner
Scanning...
No I2C devices found

Results from LCD Display only:
I2C Scanner
Scanning...
I2C device found at address 0x20 !

Results from AS7262 and LCD Display connected simultaneously:
I2C Scanner
Scanning...
I2C device found at address 0x20 !
done


This verifies that the i2c bus is generally working and there is some problem with the AS7262 sensors specifically. Is there anything else that I am missing here?

User avatar
adafruit_support_mike
 
Posts: 67485
Joined: Thu Feb 11, 2010 2:51 pm

Re: Problem with AS7262

Post by adafruit_support_mike »

It sounds like you've done valid testing, and I don't see any obvious problems in the photos above.

Send a note containing a link to this page and your order number to [email protected]. The folks there will get you a replacement.

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

Return to “Other Products from Adafruit”