Presentation is loading. Please wait.

Presentation is loading. Please wait.

I can control a motor and use a sensor

Similar presentations


Presentation on theme: "I can control a motor and use a sensor"— Presentation transcript:

1 I can control a motor and use a sensor
Lesson 1

2 What are inputs and outputs?

3 What about this…

4 What is an IR (Infrared) sensor?
It is used to measure distance. The Edbot Dream control box (microcontroller) has 3 IR sensors built in: one at the front. one on the left. one on the right.

5 What is a motor? It is used to create movement of your robot.
You can control its speed and direction.

6 Demo What is the input and output on the Crocodile?

7 Challenge You are going to program the crocodile to close its mouth when you place your hand it its mouth. What do we need to tell the crocodile to do?

8 Open and close the mouth
What do all these blocks do?

9 Extension Challenges Can you make the mouth open faster or slower?
Can you make it repeat 5 times? Can you make the mouth open when you press a key? You may need to add or change blocks.

10 Investigation What happens when you click this?
Can you explain the procedure that runs?

11 Making it react How can we arrange these blocks to make the crocodile react?

12 Extension Challenge Using the following blocks can you make the crocodile open its mouth when you clap 3 times?

13 What have we learnt? What are the purple blocks?
Give an example of an input or output?

14 Self-assessment Write your name and class at the top of the sheet.
Read the highlighted points and tick those that you feel you have achieved.


Download ppt "I can control a motor and use a sensor"

Similar presentations


Ads by Google