SamuZai
Pybricks
Pybricks

patreon


New chapters out now: Using sensors!

Robots 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


More Creators