Your Speed Bot 5 min
Hi again! Ready, steady, go!
Today we race. Then we turn!
Last time your robot went away. Then it came back.
Today it goes fast. And it turns a corner!
- Get your Speed Bot out.
- Check the cables. Left in B. Right in C.
- Turn the Brick on.
Be the robot 10 min
Work with a friend. You are the two wheels!
- Stand side by side. Link arms.
- Your teacher says “both walk!”. Walk forward together.
- Your teacher says “right stop!”. The right person stands still. The left person walks.
- What happened? You went round!
Fast, slow and turn 10 min
Look at the two numbers again.
Same numbers go straight. Big numbers go fast.
Now try a 0. Zero means stop.
move for (1) [rotations v] at (50) (0) % speed :: movement
Race! 15 min
when program starts :: events hat set movement motors to [B v] and [C v] :: movement move for (3) [rotations v] at (80) (80) % speed :: movement
- Open your program from last time.
- Make both numbers 80.
- Make it go 3 rotations.
- Take out the move backward block. Today we race!
- Line up with your friends. Press play together!
3 rotations goes just as far. Fast or slow.
Traffic light break! 5 min
- Stand up. You are a car.
- Teacher says green. Drive on the spot. Fast!
- Teacher says yellow. Go slow.
- Teacher says red. Stop!
- Sit down. Well driven!
Turn a corner 20 min
Now make it turn. Guess first! Which way will it go?
when program starts :: events hat set movement motors to [B v] and [C v] :: movement move for (2) [rotations v] at (50) (50) % speed :: movement move for (1) [rotations v] at (50) (0) % speed :: movement move for (2) [rotations v] at (50) (50) % speed :: movement
- Add a move tank block. Type 50 and 0.
- Press play. Which way did it turn?
- Now try 0 and 50. Which way now?
- Too much turn? Make the rotations smaller.
- Too little turn? Make the rotations bigger.
- Stop when it turns a corner. Write your number down!
Your challenges 15 min
⭐ Challenge 1: Slow race
Make the slowest robot in the class. Who wins the slow race?
⭐⭐ Challenge 2: Round the cup
Drive past a cup. Turn the corner. Drive on.
⭐⭐⭐ Challenge 3: The letter L
Your teacher makes an L with tape. Drive along it!
Show and tell 10 min
- Show your robot turning.
- Say your turn number.
- Did your friend need the same number?
- Clap for your friends!
- Turn the Brick off. Take your model apart. Sort the parts.
Great job! Your robot can turn!
Teacher note
Timing (90 min): model and check 5, rebuild only if needed, be the robot 10, fast slow and turn 10, race 15, break 5, turn a corner 20, challenges 15, show and tidy 10. Skip the rebuild when the robots survived lesson 37.
Two ideas. First: speed changes how fast, not how far, because rotations count wheel turns. Second: a 0 holds that wheel still, so the robot pivots round it. 50 and 0 turns towards the right (the stopped side); 0 and 50 turns left. Check this on one robot before class.
The rotations for a corner are found by trying, on purpose: the number depends on the wheels and the floor. Expect different groups to land on different numbers, and say that is fine. Run races on the floor, never on a table.
The plan put the first tank turn on the Toddle Bot. It is here instead because the Toddle Bot’s motors share one axle and different numbers can break it.
Words met today: fast, slow, zero, turn, corner.
