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:
Second AS7262 module:
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:
Problem with AS7262
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- chf78
- Posts: 2
- Joined: Wed Mar 22, 2023 2:06 pm
Re: Problem with AS7262
Here is a close-up of the wiring on the AS7262 (same for both modules so I only show one here):
Here is the wiring used with the RGB LCD Display, following the Arduino Mega schematic given on the product page:
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?
Here is the wiring used with the RGB LCD Display, following the Arduino Mega schematic given on the product page:
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?
- adafruit_support_mike
- Posts: 67485
- Joined: Thu Feb 11, 2010 2:51 pm
Re: Problem with AS7262
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.
Send a note containing a link to this page and your order number to [email protected]. The folks there will get you a replacement.
Please be positive and constructive with your questions and comments.