Presentation is loading. Please wait.

Presentation is loading. Please wait.

Touch Sensor.

Similar presentations


Presentation on theme: "Touch Sensor."— Presentation transcript:

1 Touch Sensor

2

3

4

5

6 Challenge 1 Design and program your robot to move forward and stop when the touch sensor is touched. Hint: You will combine: Move Steering + Wait Block

7 Challenge 2 Part A: Program your robot to move until it hits the edge of a wall. Then back up and stop Part B: Program your robot to move until it hits the edge of a wall. Then back up and stop

8

9 Challenge 1 Part a: Have your robot say “go” and have it travel 15cm, then have it stop and say “stop”. Part B: Have your robot travel 15cm, then have it display an image. Part C: Have your robot travel 15cm, then have it display a text.

10 Challenge 2 Design your robot to move forward, stop, then reverse with a warning light and warning sound indicating it is moving in reverse using the brick status light.

11 Challenge 3 Deliver a message to Mr. Fava using your robot. Record your own message and have the robot stop and say it once Mr. Fava “bumps” the touch sensor.

12 Challenge 4 Place both touch sensors on your bot. Design and program a robot that moves forward, and when the robot “bumps” into another object the robot will back up and turn and continue in a different direction.

13 Challenge 5 Drive your bot with your touch sensors as a remote control. Have the right touch sensor control the right motor and the left touch sensor control the left motor.

14 Download the Sensors Powerpoint from the Website
Download the Sensors Powerpoint from the Website. Follow the instructions on each slide. And Complete each challenge Save each challenge as a separate Program I am going to check the completion of them on Friday

15 Ultra Sonic Sensor (Wall-e)
Unattached the touch sensors and place them in your bins. Next attach the ultra sonic sensor to the Front of your bot. Make sure the ultrasonic sensor is attached securely – it should not move around. Help each other out attaching. Look at the next slide for ideas

16 Top of Bot Bottom of Bot

17

18 Ultra Sonic Challenge 1 Make the robot move until it is 20 cm away from the wall. Hint: Use the wait for block

19 Ultra Sonic Challenge 2 Part a: Make the robot move until it is 20 cm then stop, back up and make a warning sound with a flashing light. Part B: Make the robot move until it is 10 cm then stop, back up and turn around and head in a different direction for 5 seconds.

20 Ultra Sonic Challenge 3 – “Luke I am your father”
Use the force to control your robot! If the robot is closer than 20cm away from your hand move backward, otherwise move forward. Hint you will need a Loop

21 Avoiding objects Challenge
Have your bot move through the straight away portion of the track on its own, without knocking into any of the objects.

22 Color/Light Sensor

23 What is the Color Sensor?
What are they? Sensors that detect the intensity of light that enters it Three modes: Color, Reflected Light Intensity and Ambient Light Intensity Color Mode: Recognizes 7 colors (black, brown, blue, green, yellow, red, white) and No Color Reflected Light: Measures the intensity of the light reflected back from a lamp that emits a red light. (0=very dark and 100=very light) Ambient Light: Measures the strength of the light that enters the sensor from the environment. (0=very dark and 100=very light)

24 Attach your color sensor
You want you color sensor facing the ground, and to be as close as possible to the ground.

25

26 Colors and Numbers

27 Challenge 1 Part A Have your bot move forward and stop at the green line. Part B Have your bot move forward then turn around in the other direction when it reaches the blue line.

28 Challenge 2 Part A Have your bot move forward, and as it reaches each color line, have it stop and say the color of line it has just passed. Part B Same as part a, but have it stop on each line, say the color, then continue to move.


Download ppt "Touch Sensor."

Similar presentations


Ads by Google