So far you have programmed the robot to turn its wheels and it has always known when the correct number of rotations have been executed. Do you know how the robot knows it has turned its wheels enough number of rotations?

To access the full video please subscribe to FLLCasts.com
- #1140
- 15 Mar 2019
In the previous lesson we mentioned that motors have sensors which measure the number of rotations. If you want to revise how the rotation sensor works, click here. As any other sensors, rotation sensors can be found in the yellow palette.
Just like any other sensor, the rotation sensor can be used as a condition for the orange blocks. In the wait block:
In the switch block:
In the loop block:
Courses and lessons with this Tutorial
This Tutorial is used in the following courses and lessons

Robotics with LEGO - Level 3.0 - Security systems
This is the fifth level of the Robotics with LEGO curriculum for students in fifth to twelfth grades.
In this level students will learn how to work with data measured by the sensors. The concept of Algorithm is introduced and the programs perform calculations without knowing the values beforehand. The programming blocks transfer data between each other via data wires. The robots are designed to address the problems of security systems. Variety of alarm systems are built and the physical principles of different security methods are considered.
- 50
- 1:03
- 213

Lesson 5 - Radar for escapees
Remember to provide feedback to students regularly. It's important to give structured feedback in the form of a grade. Today, you'll need to grade your students following this article.
- 4
- 6
- 10
- 3d_rotation 0