Chapter 7. using the color sensor

In this chapter, you’ll learn to use the Color Sensor by adding it to the EXPLOR3R (see Figure 7-1) so the robot can detect colored paper, follow lines, and respond to light signals.

Using the Color Sensor, the EXPLOR3R can detect colors and follow lines.

Figure 7-1. Using the Color Sensor, the EXPLOR3R can detect colors and follow lines.

The Color Sensor can detect the color of a surface (in Color mode), the amount of light reflected by a surface (in Reflected Light Intensity mode), or the brightness of ambient light (in Ambient Light Intensity mode), as shown in Figure 7-2.

You’ll create programs for the EXPLOR3R to try out each of these modes using the Wait, Loop, and Switch blocks, ...

Get The LEGO MINDSTORMS EV3 Discovery Book (Full Color) now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.