Search Header Logo
LEGO ROBOTICS LAB 2

LEGO ROBOTICS LAB 2

Assessment

Presentation

Computers

8th Grade

Practice Problem

Hard

Used 4+ times

FREE Resource

10 Slides • 0 Questions

1

media

​STEP 1

2

​STEP 2

media

​Plug the left touch sensor into Port 1.
Plug the right touch sensor into Port 4.

3

TOUCH SENSORS

Sensors can be programmed with a Wait Block. Choose a sensor from the list.

media

Practice finding the Wait Block

4

TOUCH SENSORS

Setting a Touch Sensor to Compare, allows an action to happen when a button is pressed, bumped, or released.

media

Practice changing settings Touch Sensor in the Wait Block

5

TOUCH SENSORS

Setting a Touch Senesor to Compare, allows an action to happen when a button is pressed, bumped, or released.

media

Practice changing settings Touch Sensor in the Wait Block

6

TOUCH SENSORS

Here, you can change the assigned Port the sensors are plugged into.

media

Practice changing the Port assignment

7

IMPORTANT NOTE

  • Touch Sensors (and other sensors in the Wait Block), can repeat actions if they are inside a loop

  • Touch Sensors are commonly followed up with a motor block

    • For example, when a touch sensor is pressed, a motor will turn on

Practice using a touch sensor with other coding blocks

8

Part 1 Assignment

media
  • Inside a Loop...

  • Program the windmill to Turn On when Touch Sensor 1 is pressed

  • Program the windmill to Turn Off when Touch Sensor 4 is pressed

  • Show the teacher when you have completed this.

9

Part 2 Assignment

  • After Step 3 is successful, add notes for off and on...

  • When the windmill is turned on, play note B6 for 1 second

  • When the windmill is turned off, play Note C5 for one second

  • Show the teacher when you have finished

media

10

​STEP 5

media
  • Fill out the Lab Report

  • Keep your bot together, and the coding block sequence, for Lab 3

media

​STEP 1

Show answer

Auto Play

Slide 1 / 10

SLIDE