In this activity, students will build or be provided with a pre-built NXT car with a light
sensor attached. Students will program their NXT car to drive into a tunnel and then
reverse out of the tunnel when the ambient light gets too dark. The car will stop when
the ambient light increases and the car is out of the tunnel.

Lesson Objectives:

– To program light sensors according to the ambient light in the surrounding environment.