ev3block  

 

If you missed a day, this is where you go to catch up

Advanced students - go at your own pace, but check each assignment with me before you go on to the next one.

 
  LEGO Robotics lessons ::

RETURN

Learning Goal: Understand how to write a program to control a robot, using loops, conditionals and subroutines where appropriate.

 

 
 

 

Lesson 5 - Sound Sensor

Ask me for a sound sensor. Attach the sound sensor to your robot as shown.

sound sensor

You must return the sensor to me at the end of each period, as all my classes share the
same 12 sensors. They don't make them any more, so be careful with them.

Part 1:

Let's find out about sensors!

Watch the Sound Sensor power point for EV3.

If you watch it by yourself - click on 'Slide show', then 'from beginning', to see it properly.

Assignment 5 Part 1

Watch this video showing how to read the sound sensor numbers in Port View.

Open the Sound Worksheet, or the Spanish version and complete it. Save it to
Shared - Student - Pereira - LEGO - Class color Sound Part 1 as soundyourname

Assignment 5 Part 2

Program the robot to start when it hears a loud sound. Make it move forward and spin,
then stop when it hears another loud sound. Do NOT use a loop!!!!!

Turn this program in to Shared - Student - Pereira - LEGO - Class color - 5 Sound as soundyourname.

 

Assignment 5 Part 3:

 

The robot will only do this once. To make it work again, we have to run the program again.

Watch this video about programming loops.

Add a loop to your SOUND program you made in Part 2 so that the robot will start and stop as many times
as you like without pressing 'Run' more than once. It may not do what you think it will do!

You will have to add something........

Turn this program in to Shared - Student - Pereira - LEGO - Class color - 5 Loop as loopyourname.

Reflect on what you learned in this assignment.