Direction with the Finch
This activity was created by David DeWitt and Mihaela Sabin at the UNH STEM Discovery Lab.
In the Sensing with the Finch lesson, you learned to use the Finch’s sensors to move a sprite on the computer screen. In this activity, you will use the Finch’s accelerometer to control the direction of the sprite.
Here are the requirements for this activity:
- When the Finch is level, the sprite should point toward the right side of the screen.
- When the Finch’s beak is up, the sprite should point toward the top of the screen.
- When the Finch’s beak is down, the sprite should point toward the bottom of the screen.
- The Finch’s beak should have a different color in each of these three orientations.
Hint #1: You may want to explore the point in direction block on the Motion menu.
Hint #2: In Scratch, remember that there are underscores between the words in the names of the different orientations (Beak_Up, Beak_Down, etc.). In Snap!, you must have a space between the words but no underscore.
Extension: Create a game that uses the Finch to control both the amount that a sprite moves and the direction in which it moves.