Activities for LEGO WeDo in Scratch 1.4+ Barb Ericson ericson@cc.gatech.edu



Similar documents
Whack-a-Witch. Level. Activity Checklist Follow these INSTRUCTIONS one by one. Test Your Project Click on the green flag to TEST your code

Fish Chomp. Level. Activity Checklist Follow these INSTRUCTIONS one by one. Test Your Project Click on the green flag to TEST your code

1.0-Scratch Interface 1.1. Valuable Information

FOUNDATION. Observing the way different shaped objects such as balls, blocks and tubes move.

SCRATCH Lesson Plan What is SCRATCH? Why SCRATCH?

Fruit Machine. Level. Activity Checklist Follow these INSTRUCTIONS one by one. Test Your Project Click on the green flag to TEST your code

LEGO ROBOTICS for YOUNG BEGINNERS

Programming LEGO NXT Robots using NXC

How to Build a Simple Pac-Man Game

MADISON PUBLIC SCHOOL DISTRICT. Grade 8 Cycle Class. Scratch

Advanced Programming with LEGO NXT MindStorms

Computing Unit Planner: Year 5 Unit 1 Quiz and Game

Getting Started with Scratch

Drills to Improve Football Skills 1

TETRIX Add-On Extensions. Encoder Programming Guide (ROBOTC )

How to Run a Scratch Competition

Lego Robot Tutorials Touch Sensors

Use fireworks and Bonfire night as a stimulus for programming

REFERENCE GUIDE 1. INTRODUCTION

Speed Based on Volume Values & Assignment (Part 1)

The Richard Pate School. Draft Year 4 Scheme of Work for Scratch

AMERICAN MUSEUM OF NATURAL HISTORY SCAVENGER HUNT

Make your own Temple Run game

Coaching Tips Tee Ball

Page 1 of 19. Sorcerers Lair Table Guide By ShoryukenToTheChin

CHAPTER 18 Programming Your App to Make Decisions: Conditional Blocks

Computer Science Education Week Teacher/Volunteer Guide

Creating Maze Games. Game Maker Tutorial. The Game Idea. A Simple Start. Written by Mark Overmars

Tutorial: Creating Platform Games

A BRIEF INTRODUCTION TO COMPUTER PROGRAMMING Scratch, LEGO MINDSTORMS, and Visual Basic. July 24, 2015

Game Programming & Game Design

Line Tracking Basic Lesson

C.I. La chaîne d information LES CAPTEURS. Page 1 sur 5

understanding sensors

Woodlands Junior School

Playing in a (Diamond Midfield)

Introduction. Below is a list of benefits for the 4v4 method

CREATE A 3D MOVIE IN DIRECTOR

David s Heart: David Praises God

Football Learning Guide for Parents and Educators. Overview

Scratch Primary Lesson 4

3. Add an Event: Alarm Alarm 0 a. Add an Action: Set Variable i. Applies to: Self ii. Variable: time_left iii. Value: +1 iv. Check the Relative box

Pizza. Pizza with Everything Identifying & Estimating Fractions up to 1. Serves 2-4 players / Grades 3+ (Includes a variation for Grades 1+)

Fun Learning Activities for Mentors and Tutors

Tutorial for Programming the LEGO MINDSTORMS NXT

Tee Ball Practice Plans and Drills

A SPECIAL PROGRAM OF DISTRICT # 8 NY DAN CAVALLO DISTRICT ADMINSTRATOR

How To Program An Nxt Mindstorms On A Computer Or Tablet Computer

Acceleration of Gravity Lab Basic Version

ACL Soccer 4 v 4 Small Sided Games (SSG s)

Programming and Robotics with Scratch in Primary Education

Sitting Volleyball Drill Examples

VAY-ZON. Light Gun System. Quick Start Guide. VAY-Zon from Forest Electronic Developments

Curriculum links. Learning objective. Introduction

Quick Start Guide to computer control and robotics using LEGO MINDSTORMS for Schools

GROUP GAMES Keeper of the keys: Duck duck goose: Shoe bomb:

Fusion's runtime does its best to match the animation with the movement of the character. It does this job at three different levels :

Conservation of Energy Physics Lab VI

family games Taking the kids swimming is a great way of making sure they re moving around and having fun. And to help you get them into

Practicing for the. TerraNova. Success on Standardized Tests for TerraNova Grade 2 3. McGraw-Hill School Division

YMCA Youth Sports Baseball/Softball/T-ball Coaching Tips

Creation. (Genesis 1 2) spark resources: Spark Story Bibles. supplies: Noisemakers (one per kid) spark resources: Spark Bibles, Spark Bible Stickers

Page 1 of 10. Fantastic Four Table Guide By ShoryukenToTheChin

Potential vs. Kinetic Energy

VERVE 2 First Time User Guide

One Stop Shop For Educators. Georgia Performance Standards Framework for Physical Education

Mobile App Design Project #1 Java Boot Camp: Design Model for Chutes and Ladders Board Game

EC313 - VHDL State Machine Example

Building a Better Robot

Webelos Scouts will use old and new media in this adventure to bring stories to life as movies. Lights! Camera! Action!

COACHING GOALS FOR U7 TO U10 PLAYERS

ONE LAPTOP PER CHILD (OLPC) PROGRAMME

Kodu Curriculum: Single Session Intro

NXT Robot Challenge. Introduction. Educational Goals. References

What Is an Electric Motor? How Does a Rotation Sensor Work?

17 Laws of Soccer. LAW 5 The Referee The referee enforces the 17 laws.

X-Men Table Guide By ShoryukenToTheChin

STEP 7 MICRO/WIN TUTORIAL. Step-1: How to open Step 7 Micro/WIN

MONOPOLY CRAZY CASH MACHINE

SOFTBALL GRADES 3-6 PAGE 1. Fill out before using! Run to the. Side slide to the. and back. and back.

Law 6 The Assistant Referee

Car Racing Game. Figure 1 The Car Racing Game

NATIVE AMERICAN TRADITIONAL GAMES

Themes. Best wishes. Michael Beale Youth Development Officer

PE in Primary Schools Resource Summer Games

Lacrosse Terminology

GarageBand 2.0 Getting Started

Other learners may develop proficient handwriting skills yet require additional support with the composing aspects of writing.

Programming Your App to Make Decisions: Conditional Blocks

17 Basic Rules of Soccer

Objective: God is all Powerful! Bible Memory Verse: Matthew 19:26b With man this is impossible, but with God all things are THEME OVERVIEW

How To Turn On A Robot On A Computer On A Black Box On A Pc Or Macbook

FIFA Laws of the Game U10-18

CUB SCOUT INSIGNIA. Cub Scout Program Identification

When you have completed this lesson you will be able to: identify some common simple machines explain how simple machines make work easier

R e f e r e e s G u i d e l i n e s Issued by Director of Refereeing

CHAPTER 14 Understanding an App s Architecture

Transcription:

Activities for LEGO WeDo in Scratch 1.4+ Barb Ericson ericson@cc.gatech.edu Overview You can use Scratch 1.4 with the LEGO WeDo tilt and distance sensors and motor. The motor blocks (tiles) are in the Motion category. The motor has power levels from 0 to 100. You can change the motor direction. The sensor blocks are in the Sensing category. The distance sensor returns a value from 0 (close) to 100 (far). The tilt sensor returns 0-4 with 0 meaning level, 1 meaning tilted down, 2 meaning tilted right, 3 meaning tilted up, and 4 meaning tilted to the left. Top Spinner Build time: 30 minutes to 45 minutes Uses: motor and motion sensor When the green flag is clicked turn on the motor. Also, when the green flag (you can use a second green flag) is clicked loop forever and if (use a forever-if) the motion sensor value is greater than 50 turn off the motor since the top spinning device has been lifted off the top. You can also use a variable to show the distance sensor value and set the value of the variable to the distance sensor value in a forever loop. You can also time how long the top spins. Just reset a timer when you turn the motor off and then when a space key is pressed set a variable (spin time) to the timer to show how long the top spun. You can also spin a ball sprite in Scratch while the top is spinning.

Ball Kicker Build time: 10-20 minutes When the green flag is clicked set the motor direction to "that way" and turn the motor on for.2 seconds and then wait 0.5 seconds and set the motor direction to "this way" and turn on the motor for 0.2 seconds. Try different motor power values to see what effect this has on the distance the ball is kicked. Add a distance sensor to automatically kick the ball when it is in range (distance < 2). Use the balls from the LEGO NXT kit. Goal Keeper Uses: motor When the green flag is clicked start a forever loop. Turn on the motor one way, turn the motor on, and wait a random amount of time and then turn it the other way. Again, wait a random amount of time. Add when the space key is pressed to stop all scripts. Use this with the Ball Kicker to try and score goals and try to block goals.

Cheering Fans When the green flag is clicked turn on the motor. When the space key is pressed turn off the motor and stop all scripts. You can also have the kids record a cheering sound and then play it until done in a loop with a wait after the play sound for 1-2 seconds. You can also use the distance sensor to turn it on or off. Alligator Chomp Uses: motor and motion sensor Program the alligator to close the jaws (turn motor direction one way and turn on motor for 0.5 seconds) and make a crunch sound and then open the jaws again (change the motor direction and turn it on for 0.7 seconds). You can trigger this behavior with the distance sensor (< 30) or when the green flag is clicked. You can use fish1-a and fish1-b in Scratch to also show the jaws of the fish in Scratch closing and opening.

Bird Flap Build time: 40 minutes to 1 hour Uses: tilt sensor and distance sensor When the green flag is clicked loop forever and check if the tilt sensor is level (0). If it is then play a flap sound. Then wait for 0.3 seconds. You can also program the bat sprite to flap as well. You can show the tilt sensor value using a variable. You could use this to control a game where you have to keep the bird flapping to move forward or move up to avoid obstacles. You can add the distance sensor and detect when the head is down low and play a different sound then. Lion Roar Build time: 30 minutes When the green flag is clicked set the power level on the motor to 60 and make the motor go for.5 seconds to get the lion to sit up and roar (record a roar and play it). Then when a key is pressed make the lion lie down (power level 40 and.5 seconds) and sleep (record a sound). You could add the distance sensor and activate the roar when something is too close. Put it on the shoulder (under the head).

Monkey Drummer Build time: 30 minutes to 45 minutes Uses: motor When the green flag is clicked turn the motor on. Give the monkey something to bang to make a noise. Change the cams to change the beat. Use Scratch to allow you to also make music by pressing keys for notes. Or by controlling the length and type of music being played. You can change the cams to change the beat of the drumming and also change the motor power level. You can add some Scratch sprites that dance to the music.