LEGO Mindstorms NxT 53788 Руководство пользователя - Страница 24
Просмотреть онлайн или скачать pdf Руководство пользователя для Робототехника LEGO Mindstorms NxT 53788. LEGO Mindstorms NxT 53788 29 страниц. Robotics tool set
NXT TECHNOLOGY
LIGHT SENSOR
The Light Sensor is one of the two sensors that give
your robot vision (the Ultrasonic Sensor is the other).
The Light Sensor enables your robot to distinguish
between light and dark. It can read the light intensity
in a room and measure the light intensity of colored
surfaces.
Detecting ambient (surrounding) light
Test the Light Sensor's ability to read ambient light by
measuring the light level in different locations of the room.
For example, fi rst hold the sensor against the window. Then
hold it under the table. Watch how the readings differ.
Test it!
You can test the Light Sensor in different ways:
Connect the Light Sensor to the NXT.
1
Select the View submenu on the
NXT's display. Select the Light
Sensor icon and the port where you
have connected the sensor.
24
This is what your eyes see.
This is what your robot will see,
using the light sensor.
Suggestions for use
You can use the Light Sensor to make a burglar
alarm robot: when an intruder turns on the light
in your room, the robot can react to defend your
property. You can also use the Light Sensor to
make a line-following robot or a robot that can
sort things by color.
2
Hold the Light Sensor up to the different colors on the test pad and see
the different readings.
Select the Try Me submenu on the NXT's display and test your
Light Sensor. You'll get a fun reaction.
3