Create a robot that is shy!
The ShyBot doesn’t like anyone getting too close. When it senses someone is nearby, it changes the color of its beak, flashes its light faster, and beeps with higher notes.
For this project, the Finch should do the following:
- Have a solid green beak and be quiet for “calm” (nothing is nearby).
- Blink yellow slowly and beep a slow, low note for “slightly nervous” (one obstacle sensor is true).
- Blink red rapidly and beep a fast, high note for “very uncomfortable” (both obstacle sensors are true).
When testing your program, remember that the Finch obstacle sensors can be a bit finicky – large, lightly-colored objects (like cardboard boxes) make the best obstacles. Also, remember that a Finch can only sense obstacles that are very close to it (2 to 4 inches away).