Scratch 8b Lego WeDo



6 block challenge 8 block challenge

Duck Challenge: Make a duck quack as it turns

[pic] [pic] [pic] [pic] [pic]

If you can’t see the blocks:

1. Open Scratch 2.0 or go to Scratch online

2. Connect USB hub to computer.

3. Go to More Blocks under scripts tab and select Add an extension.

4. Choose Lego WeDo

You now have access to the programming blocks you will need to use.

Note:

• Tilt sensor determines orientation 0 flat, 1 is down, 2 is right, 3 is up

and 4 is left

• Distance sensor determines proximity where 0 is close and 100 is far

-----------------------

Control the duck with the

distance sensor:

ࠀࠁࠑࠜࠝ࠭࠮࠯࠰࠱ࡤࡨࡩ࡭࡮ࡰࡱࡶࢀ࢞ࢠࢡࢢࢥࢦࢧࢨࢪࢫࢮ짖훢횻꒭귖귖诖篖 Use a motor to turn the

duck while nothing is in

the way of the touch

sensor.

................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download