© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2023
G. KochLearn Engineering with LEGOhttps://doi.org/10.1007/978-1-4842-9280-8_9

9. The Color Sensor

Grady Koch1  
Yorktown, VA, USA
The Robot Inventor includes a Color Sensor, pictured in Figure 9-1, that works with light. It can measure the color of objects placed in front of the sensor, as well as the brightness of light that hits the sensor. The Color Sensor includes a circular light on its front surface to provide a source of light for objects to reflect. An exercise in this chapter will work with this brightness reflection function to build a beeping tone generator. Then to use the namesake function of the Color Sensor, the chapter project builds a machine ...

Get Learn Engineering with LEGO: A Practical Introduction to Engineering Concepts 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.