Ambient TOUCH LIGHT Bedienungsanleitung

Stöbern Sie online oder laden Sie Bedienungsanleitung nach Fernbedienungen Ambient TOUCH LIGHT herunter. Forward Until Dark Light Sensor Benutzerhandbuch

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 11
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 0
ROBOTC
Sensing
Forward Until Dark / Light 1
©
Carnegie Mellon Robotics Academy / For use with LEGO
®
MINDSTORMS® Education NXT software and base set 9797
Forward Until Dark Light Sensor
Touch Sensor
The Touch Sensor detects physical contact with the
orange trigger, and returns a SensorValue of 1 if it is
pressed in, or 0 if it is not.
Ultrasonic Sensor
The Ultrasonic (sometimes called Sonar) Sensor sends
out pulses of sound and measures the time it takes for
the sound waves to bounce off an object and return.
Since the speed of sound is known, the sensor calculates
the distance based on the time, and reports the distance
in centimeters as its SensorValue
In this lesson, you will learn how the Light Sensor works, and how its feedback compares to
the Touch and Ultrasonic Sonar sensors.
Detects:
Feedback:
Typical use:
Sample code:
Physical contact
0 if unpressed, 1 if pressed
Bumper
while (SensorValue(touchSensor) == 0)
will run the while() loop as long as the
touch sensor is not pressed.
Detects:
Feedback:
Typical use:
Sample code:
Distance to object
Range to object in centimeters (1-250)
Obstacle detection and avoidance
while (SensorValue(sonarSensor) > 25)
will run the while() loop as long as there
is no object detected within 25 cm.
Seitenansicht 0
1 2 3 4 5 6 ... 10 11

Inhaltsverzeichnis

Seite 1

ROBOTCSensingForward Until Dark / Light • 1© Carnegie Mellon Robotics Academy / For use with LEGO® MINDSTORMS® Education NXT software and base set

Seite 2 - Light Sensor (cont.)

ROBOTCSensingForward Until Dark / Light • 10© Carnegie Mellon Robotics Academy / For use with LEGO® MINDSTORMS® Education NXT software and base set

Seite 3

ROBOTCSensingForward Until Dark / Light • 11© Carnegie Mellon Robotics Academy / For use with LEGO® MINDSTORMS® Education NXT software and base set

Seite 4

ROBOTCSensingForward Until Dark / Light • 2© Carnegie Mellon Robotics Academy / For use with LEGO® MINDSTORMS® Education NXT software and base set

Seite 5 - Thresholds 201 (cont.)

ROBOTCSensingForward Until Dark / Light • 3© Carnegie Mellon Robotics Academy / For use with LEGO® MINDSTORMS® Education NXT software and base set

Seite 6

ROBOTCSensingForward Until Dark / Light • 4© Carnegie Mellon Robotics Academy / For use with LEGO® MINDSTORMS® Education NXT software and base set

Seite 7

ROBOTCSensingForward Until Dark / Light • 5© Carnegie Mellon Robotics Academy / For use with LEGO® MINDSTORMS® Education NXT software and base set

Seite 8

ROBOTCSensingForward Until Dark / Light • 6© Carnegie Mellon Robotics Academy / For use with LEGO® MINDSTORMS® Education NXT software and base set

Seite 9

ROBOTCSensingForward Until Dark / Light • 7© Carnegie Mellon Robotics Academy / For use with LEGO® MINDSTORMS® Education NXT software and base set

Seite 10 - Wait for Dark (cont.)

ROBOTCSensingForward Until Dark / Light • 8© Carnegie Mellon Robotics Academy / For use with LEGO® MINDSTORMS® Education NXT software and base set

Seite 11

ROBOTCSensingForward Until Dark / Light • 9© Carnegie Mellon Robotics Academy / For use with LEGO® MINDSTORMS® Education NXT software and base set

Kommentare zu diesen Handbüchern

Keine Kommentare