Chapter 5. sensors
In this chapter, you’ll learn how to use the EV3 sensors to make your robot react to what’s happening around it. We humans learn about the world around us using our five senses (touch, sight, sound, smell, and taste). A robot uses sensors in a similar way to gather information about its environment. By using the EV3 sensors, you can program your robot to avoid obstacles, follow a line on the floor, react to light, identify objects based on their color, and much, much more!
In most cases, your program will use the data from the sensors to make decisions about what to do next, but it can also use sensors to collect data as part of an experiment. This chapter describes how to operate sensors and how to use them to make decisions ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access