Make your Finch follow a flashlight beam!
INTERMEDIATE: Add Sensors
Required Lessons: Sensor Overview, Direct Control
Make your Finch model phototropic, or light following, behavior:
- Control the left wheel’s speed directly with the right light sensor, and vice versa.
- Indicate the values of the sensors by setting the red brightness of the first tail LED to the right light sensor and the blue brightness of the first tail LED to the left light sensor.
Many animals and plants sense and respond to light – from cockroaches that exhibit light-avoiding behavior, to sunflowers that track the sun as it moves through the sky.
Light following behavior is also an important milestone in the history of the robotics. Two of the first truly autonomous robots ever built, Elmer and Elsie, demonstrated light seeking behavior in the 1940s.