© ALL RIGHTS RESERVED
Exercise 1: Movements• Create a program in the Scratch software to allow the Fly Trap to start catching flies. – Setting the “motor direction” block to “this way” allows it to catch flies. – Setting the “motor direction” block to “that way” allows it to release the fly. Any unauthorized reprint or use of this material is prohibited.
Exercise 2: Timed Program Flow• Make changes to the program created in Exercise 1.• This program will allow the Fly Trap to catch a fly for 3 seconds, then release it. Any unauthorized reprint or use of this material is prohibited.
Exercise 3: Distance Sensor• In this program, the distance sensor will be used to detect for flies. – The fly trap will not move until a fly is detected to be within the distance of 10 from the distance sensor. Followed by releasing the fly after 3 seconds. Any unauthorized reprint or use of this material is prohibited.
Search
Read the Text Version
- 1 - 4
Pages: