Important Announcement
PubHTML5 Scheduled Server Maintenance on (GMT) Sunday, June 26th, 2:00 am - 8:00 am.
PubHTML5 site will be inoperative during the times indicated!

Home Explore [Instructor Guide] The Tumbler

[Instructor Guide] The Tumbler

Published by robokids, 2015-09-15 04:20:08

Description: [Instructor Guide] The Tumbler

Search

Read the Text Version

© ALL RIGHTS RESERVED

Exercise 1: Movements• Create a program in the Scratch software to allow The Tumbler to start moving forward.• Start the program by clicking on the “green” flag.• In this program, The Tumbler will move forward at the motor power of 50 (moderate power). Any unauthorized reprint or use of this material is prohibited.

Exercise 2: Distance Sensor• Attach a distance sensor to The Tumbler and make use of the distance sensor to define when will The Tumbler start moving forward.• Insert additional blocks to the program from Exercise 1. – In this program, The Tumbler will not move forward until the distance sensor detected a value of less than 10.• Now, let’s wave your hand in-front of The Tumbler and see it in action. Any unauthorized reprint or use of this material is prohibited.

Exercise 3: Distance Sensor• Modify the program from exercise 2.• Create a program that will allow The Tumbler to move forward when the distance sensor detected a value of 10, followed by moving backward for 5 seconds when it detected an obstacle within the distance of 60.• Try changing the “distance sensor value” and observe. Any unauthorized reprint or use of this material is prohibited.


Like this book? You can publish your book online for free in a few minutes!
Create your own flipbook