What is EV3 Color Sensor?



45506_color


The digital EV3 Color Sensor distinguishes between eight different colors. It also serves as a light sensor by detecting light intensities. Students can build color sorting and line-following robots, experiment with light reflection of different colors, and gain experience with a technology that is widely used in industries like recycling, agriculture and packaging.

Product Information

Specification of EV3 Color Sensor




measurement reflected light of red light, ambient light intensity, color
detectable colors 8 colors (colorless, black, blue, green, yellow, red, white. Brown)
sampling rate 1,000 Hz
Distance 15 to 50mm
Auto-ID available in EV3 Software


The special quality of EV3 Color Sensor


EV3カラーセンサーの測定範囲で
(a) About 45 degrees (effective measurable range)
(b) About 53 mm
(c) About 54 mm
(d) About 88 mm

The picture above shows the measuring range of EV3 Color Sensor in “Color” Mode. (measured value) The light blue area is effective measuring range, though gray area apt to cause misrecognition.

EV3カラーセンサーの測定範囲
(a) About 53 degrees
(b) About 53 mm
(c) About 71 mm

This is the measuring range of EV3 Color Sensor in “Reflected Light Intensity” Mode. (measured value)

Use cases of EV3 Color Sensor

Example of the use of EV3 Color Sensor (On-Brick Programing example 1)

This is a program “waiting until EV3 Color Sensor connected to input port 3 detects red color” with On-Brick Programming. Connect the sensors as followings and make a program.

オンブロックプログラミング
オンブロックプログラミング
EV3カラーセンサーが色を検出
When you execute the program, EV3 Color Sensor continues to detect colors. And move the object close to Color Sensor, waiting process completes and the program finishes.

Example of the use of EV3 Color Sensor (On-Brick Programming example 2)

This is a program “waiting until EV3 Color Sensor connected to input port 3 detects red color” with On-Brick Programming. Connect the sensors as followings and make a program.
You can see how to make programs as following.

オンブロックプログラミング
対象物、反射光
(a) object
(b) Reflected light

For example, if you put a white paper about 1 cm before the sensor, the reflected light intensity becomes over 50. Then you execute the program with this situation and remove the paper, the waiting process completes and the program finishes.

Example of the use of EV3 Color Sensor (LEGO MINDSTORMS Education EV3 Software example 1)


This is a program “detecting colors with EV3 Color Sensor connected to input port 3” with LEGO MINDSTORMS Education EV3 Software. You can make programs as following.

program01color
This program uses 3 blocks: “Loop” “Color Sensor” “Display.” Connect “Color Sensor” block and “Display” block via data wire and settle the mode of Color Sensor “Measuring to Reflected Light Intensity.”

run1color
This is an image of program execution. LEGO MINDSTORMS Education EV3 Intelligent Brick displays color number (0 to 7) that Color Sensor detected.

colortable
This is a cross reference of colors and color numbers. 0 means transparent. 1 to 7 each correspond to “black” “blue” “green” “yellow” “red” “white” “brown.”

Example of the use of EV3 Color Sensor (LEGO MINDSTORMS Education EV3 Software example 2)


反射光の強さ
This program uses 3 blocks: “Loop” “Color Sensor” “Display.” Connect “Color Sensor” block and “Display” block via data wire and settle the mode of Color Sensor “Measuring to Ambient Light Intensity.”

run2ref_or_amb
This is an image of executing a program. Measured value (0 to 100) of the sensor is displayed on LEGO MINDSTORMS Education EV3 Intelligent Brick.

lyout_ref
(c) object
(d) Reflected light

In the mode of detecting “Reflected Light Intensity,” Sensor illuminates and detects the reflected light amount (illuminated in red).

Example of the use of EV3 Color Sensor (LEGO MINDSTORMS Education EV3 Software example 3)

This is a program to show ““Ambient Light Intensity” by EV3 Color Sensor connected to input port 3” with LEGO MINDSTORMS Education EV3 Software. Following is the way to male program.

program03amb
This program uses 3 blocks: “Loop” “Color Sensor” “Display.” Connect “Color Sensor” block and “Display” block via data wire and settle the mode of Color Sensor “Measuring to Ambient Light Intensity.”

run2ref_or_amb

This is an image of executing a program. Measured value (0 to 100) of the sensor is displayed on LEGO MINDSTORMS Education EV3 Intelligent Brick.

周辺光 (a) Ambient light

In “Ambient Light Intensity” detecting mode, it is lighted in blue. But this blue light isn’t detected when reflected by the object. Only ambient light is detected.

Comparison EV3 Color Sensor with NXT Color Sensor




Items educational EV3 educational NXT
measurement reflected light (red) , ambient brightness, color reflected light (red, blue, green), ambient brightness, color
number of detected color 8 colors(colorless, black, blue, green, yellow, red, white. Brown) 6 colors(black, blue, green, yellow, red, white)
sampling rate 1,000Hz 330Hz
distance 15 to 50mm approximate20mm(Afrel tested)
Auto-ID available in EV3 Software - (We proved that it automatically recognizes with Port View of LEGO MINDSTORMS Education EV3 Intelligent Brick.)
 

EV3カラーセンサー(左)とNXTカラーセンサー(右)とのサイズ
(a) About 39 mm
(b) About 43 mm

This is a size comparison of EV3 Color Sensor (left) and NXT Color Sensor (right). EV3 Color Sensor is longer by 4mm compared with NXT Color Sensor.

EV3カラーセンサーとNXTカラーセンサーの正面
This is a comparison of the EV3 Color Sensor (left) and NXT Color Sensor (right) seeing in front of them. The mounting position of the Photo Sensor is different. The width is the same. (about 24 mm)

 

Comparison of EV3 Color Sensor and NXT Light Sensor


Under investigation

 

Comparison EV3 Color Sensor with HiTechnic Color Sensor



Under investigation