TroubleshootingGravity

AS7341 Visible Light Sensor confuses colors

userHead Vyy.Doo 2023-07-25 09:58:32 587 Views6 Replies

Hello,

 

I am using the AS7341 Visible Light Sensor for my project. I print out some color papers to test the sensor (I get the color from the sensor website https://wiki.dfrobot.com/AS7341_Visible_Light_Sensor_SKU_SEN0365#target_6). When I use yellow, the sensor confuses that color with green. The same with the red color: the sensor confuses red as orange. I very appreciate if you could give me some suggestions where I should get the color papers in order to test the sensor. I try different shapes of red and yellow but it doesn't work.

2023-11-24 00:24:59

How can I trigger the color sensor mudule AS7341 with an Arduino. In the dfrobot Wiki is mentioned, that one should use the GPIO pin of the sensor and given an example code AS7341_Syns. But it does not contain the GPIO commands. Inserting it leads to no success. The sensor does not give data out.

userHeadPic Christian.Rempel
2023-11-23 09:42:08

I try to use triggered option with AS7341_Syns.ino and have programmed on digital Pin to pass a signal to the GPIO Pin of the board, but there is no output in the Serial Monitor.

Can you make a sample code, that works this way? 

userHeadPic Christian.Rempel
2023-07-26 04:30:56

What type of color papers are you using now as your samples?

userHeadPic bidrohini.bidrohini
Vyy.Doo wrote:

I just print out some colors I want to test. I am using any special type

2023-07-26 05:14:55
1 Replies
2023-07-26 02:18:45

Hi!

 

This sensor is primarily designed for detecting light colors. Its results may be inaccurate when it comes to detecting the color of paper, as environmental light can influence the data. For your specific needs, another sensor might deliver superior performance.

 

https://www.dfrobot.com/product-1546.html

userHeadPic jenna
2023-07-25 17:35:24

Hello,

The sensor detects the brightness of light in different wavelengths, the simplest way to test it is to test it on the monitor screen. You can check if the wavelength of the sensor reading matches the colour on the spectrum. 

Best regards,

userHeadPic xingzhao.zhu