Answer Key: NXT Test Programs (Try Me Mode)
Answer Key: “Try Me” Mode Worksheet
-
Try Touch
a – pressing the sensor causes the displayed lego dude to open his mouth and make a sound
b – input: touch sensor, outputs: LCD screen and speaker
c > display closed mouth
> wait for sensor to be pressed
> change screen image and make sound
> wait for sensor to be released
Start over -
Try Light
a – moving the sensor causes the sound to change
b – input: light sensor, output: speaker
c > make sound
> if reflected light increases, increase pitch of sound
> if reflected light decreases, decrease pitch of sound
Start over -
Try Ultrasonic
a – moving the sensor causes the sound to change
b – input: ultrasonic sensor, output: speaker
c > make sound
> if distance to object increases, increase pitch of sound
> if distance to object decreases, decrease pitch of sound
> if sensor touches object, make high pitch sound
Start over -
Try Motor
a – moving the motor causes the sound to change
b – input: motor, output: speaker
c > make sound
> if motor rotates away from starting point, increase pitch of sound
> if motor rotates toward starting point, decrease pitch of sound
Start over -
Try Sound
a – making sounds causes the robot to move
b – input: sound sensor, output: motors
c > if sounds increases, increase speed of motors
> if sounds decreases, decrease speed of motors
Start over