Knowledge Base

The Color Sensor

mceclip0.pngmceclip1.png

The Color Sensor is used to detect colors or light intensity. The sensor is very useful for both line following and obstacle detection.

2019-10-10_11-15-18.gif

The color sensor can distinguish between colors or measure the intensity of the reflected light, making it ideal for line following. By emitting its own light, the sensor can work even in absolute darkness to determine the color or brightness of the surface. 

When facing forward, the light intensity will change when nearing an obstacle. This behavior of the color sensor is used for obstacle detection, turning the color sensor into a proximity sensor. Note that this will work only for short distances of 2 cm or less between the sensor and an obstacle. For greater distances, we recommend using the Ultrasonic Sensor.

 

See also:

The Get ColorID/Red Block (EV3)

The Get Color Name/Reflection Value Block (Ruby)

 

Was this article helpful?
1 out of 1 found this helpful

Comments

Please sign in to leave a comment.

Powered by Zendesk