4166 views|11 replies

1452

Posts

1

Resources
The OP
 

【Gravity:AS7341 Evaluation】+ Detection of specified colors [Copy link]

 
 This post was last edited by jinglixixi on 2021-1-19 00:54

In order to use the AS7341 visible light sensor to detect the specified color, the test solution I adopted is:

Create a WORD document on the computer, then draw several designated color blocks that are nearly full-screen, and use the visible light sensor to detect these color blocks in turn.

Here are the detection results for the specified color:

1. Daylight detection value

Figure 1 Daylight detection value

2. Fluorescent lamp detection value

Figure 2 Fluorescent lamp detection value

3. Red detection value

Red sample:

Figure 3 Red detection value

4. Purple detection value

Purple sample:

Figure 4 Purple detection value

5. Yellow test value

Yellow sample:

Figure 5 Yellow detection value

6. Orange test value

Orange sample:

Figure 6 Orange detection value

7. Green detection value

Green sample:

Figure 7 Green detection value

8. Grass green detection value

Grass green sample:

Figure 8 Grass green detection value

9. Blue detection value

Blue sample:

Figure 9 Blue detection value

10. Sky blue detection value

Sky blue sample:

Figure 10 Sky blue detection value

Through the analysis of the above detection values, and according to the spectral area distribution in Figure 11, it can be seen that it has the best recognition rate for yellow, green and blue, followed by orange, grass green and sky blue, and relatively weak for red and purple.

Figure 11 Spectral region distribution

This post is from Domestic Chip Exchange

Latest reply

Most of the luminosity values in the wavelength range you tested are in the 2-digit range, and the ADC values are at least 10-digit. Comparing the two, it seems that the problem is not the screen light, the value is too small.   Details Published on 2021-1-30 00:31

赞赏

1

查看全部赞赏

 
 

1942

Posts

2

Resources
2
 

How do you get the color to the sensor? A color card?

This post is from Domestic Chip Exchange

Comments

The OP said that it was displayed on the monitor.  Details Published on 2021-1-18 15:02
 
 
 

9702

Posts

24

Resources
3
 
w494143467 posted on 2021-1-18 14:59 How do you give this color to the sensor? A color card?

The OP said that it was displayed on the monitor.

This post is from Domestic Chip Exchange

Comments

Sorry, I didn't see that before! Got it!  Details Published on 2021-1-18 15:05
Personal signature虾扯蛋,蛋扯虾,虾扯蛋扯虾
 
 
 

1942

Posts

2

Resources
4
 
littleshrimp posted on 2021-1-18 15:02 The host said that it was displayed on the monitor.

Sorry, I didn't see that before! Got it!

This post is from Domestic Chip Exchange

Comments

I think the recognition value of the light directly emitted by the screen will be better than that of the reflected light, so I use this method, but I don’t know if it is appropriate.  Details Published on 2021-1-18 17:43
 
 
 

20

Posts

0

Resources
5
 

Good information, study hard

This post is from Domestic Chip Exchange
 
 
 

1452

Posts

1

Resources
6
 
Renzhewudi888 posted on 2021-1-18 16:22 Good information, study hard

This post is from Domestic Chip Exchange
 
 
 

1452

Posts

1

Resources
7
 
w494143467 posted on 2021-1-18 15:05 Sorry, I didn’t see it before! Got it!

I think the recognition value of the light directly emitted by the screen is better than that of the reflected light, so I use this method, but I don’t know if it is appropriate.

This post is from Domestic Chip Exchange

Comments

I don't know much about optics, but a self-luminous screen is better than a color card!  Details Published on 2021-1-18 18:07
 
 
 

1942

Posts

2

Resources
8
 
jinglixixi posted on 2021-1-18 17:43 I think the recognition value of the light directly emitted by the screen is better than that of the reflected light, so I use this method, I don’t know if it is appropriate.

I don't know much about optics, but a self-luminous screen is better than a color card!

This post is from Domestic Chip Exchange
 
 
 

7422

Posts

2

Resources
9
 

I feel the brightness is a bit low.

This post is from Domestic Chip Exchange

Comments

Haha, the brightness difference between sunlight and the screen is too big.  Details Published on 2021-1-28 23:30
Personal signature

默认摸鱼,再摸鱼。2022、9、28

 
 
 

1452

Posts

1

Resources
10
 
freebsder posted on 2021-1-28 22:49 The brightness value seems a bit small.

Haha, the brightness difference between sunlight and the screen is too big.

This post is from Domestic Chip Exchange

Comments

Most of the luminosity values in the wavelength range you tested are in the 2-digit range, and the ADC values are at least 10-digit. Comparing the two, it seems that the problem is not the screen light, the value is too small.  Details Published on 2021-1-30 00:31
 
 
 

7422

Posts

2

Resources
11
 
jinglixixi posted on 2021-1-28 23:30 Haha, the brightness of sunlight and the screen is too different.

Most of the luminosity values in the wavelength range you tested are in the 2-digit range, and the ADC values are at least 10-digit. Comparing the two, it seems that the problem is not the screen light, the value is too small.

This post is from Domestic Chip Exchange
Personal signature

默认摸鱼,再摸鱼。2022、9、28

 
 
 

1452

Posts

1

Resources
12
 

"ADC is at least 10 bits, right?" This is impossible. According to the information: the sensor has 6 independent 16-bit ADC channels, 0xffff=65535, which is only 5 digits!

This post is from Domestic Chip Exchange
 
 
 

Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list