New chapters out now: Using sensors!
Added 2025-06-13 12:46:18 +0000 UTCRobots can’t actually see or feel the way humans do, but by adding sensors to them, they can collect and report information about the environment around them. LEGO robots come with a variety of sensors to measure distance, color, light intensity, motion, and applied force.

Your programs can interpret sensor information in ways that will make your robot seem to respond to its environment, as if it is experiencing it. For example, you can make your robot drive and turn around if it sees an obstacle.
In this chapter, you’ll learn how to measure sensor values and make your robot respond reliably with Pybricks. You'll also learn how to combine multiple sensors. Once you've mastered these coding techniques, you'll be well prepared to work with the Color Sensor in the next chapter (coming soon).
Comments
Hello! Any news? Thanks! 🤗🤗🤗
Marcelo Vera Siel
2026-02-27 19:44:26 +0000 UTC