#1204LESSON PLAN-EN

Page 1

SAMPLE #1204 S4A PROGRAMMING BLOCKS

Lesson 17-Automated Steering 

Understand the structure and principles of automated steering.

Course  Objectives

Understand the operating principle of the automated steering with the building blocks.

Develop the spirit of active participation in activities.

Keywords

50 mins

Automated steering. IR sensor. Distance Detection. Reversing radar. Loop. Two-way selection structure. Teaching Guide

1.

Total Time

Increase Students’ Motivation

Time (mins)

5

(1) A teacher lectures the topic story. Students listen and try to comprehend the lesson.

Teaching Resource ▪ Suppleme ntal slides

Assessm ent Self-awa reness

(2) A teacher demonstrates the model of this lesson Automated Steering. Please ask students to think about how to write a program to make the model move. (3) Brainstorming Where have you seen automated vehicles? (A:MRT, sweeping robots, and unmanned factories.) 2.

Course Activity Related to the Manual

(1) Students get the basic materials of this model. (2) A teacher can guide students to assemble the model with the building blocks according to the teaching slide and the student's book and explain the principle and the structure of the model. (3) Encourage students to write the program of the model first and observe how the model works.

30

▪ Electronic whiteboar d ▪ Projector & Screen ▪ Tablet or computer ▪ Building blocks

Copyright © 2020 Gigo Taiwan Co.,LTD. All rights reserved. 64

Participa tion


SAMPLE #1204 S4A PROGRAMMING BLOCKS

(1) Turn off motor's rotation and stop all programs.  In order to avoid accidentally touching the operating program during writing the program, the program is stopped as a precautionary measure.  Set that when the space key is pressed, turn off the motor 4 and the motor 7 and make the motor 8 rotate 90 degrees, and stop all programs.

(2) Place the IR sensor facing forward and run the loop. If the IR sensor detects that the distance to the object is greater than 300, turn left or right, otherwise move forward.  Set that when the green flag is clicked, the motor 8 rotates 90 degrees so that the IR sensor becomes facing the front and runs the command block in the loop.  If the distance to the object detected by the IR sensor is greater than 300, turn off the motor 4 and the motor 7, and make the motor 8 rotate 45 degrees at a speed of 1 second. Set the IR sensor to the left to detect the variable value as Left, and wait for 1 second, the motor 8 rotates 135 degrees at a speed of 1 second, and turns the IR sensor to the right to detect the value of the variable as Right, wait 1 second, and the motor 8 rotates 90 degrees at a speed of 1 second to make the IR sensor face forward and turn off the motor 8.  If Left>Right, the motor 4 rotates clockwise and the motor 7 rotates clockwise for 0.8 seconds to make the obstacle avoidance car turn right.  Otherwise, the motor 4 rotates counterclockwise and the motor 7 rotates counterclockwise for 0.8 seconds to make the obstacle avoidance car turn left.  Otherwise, the motor 4 rotates counterclockwise and the motor 7 rotates clockwise to make the obstacle avoidance vehicle move forward.

Copyright © 2020 Gigo Taiwan Co.,LTD. All rights reserved. 65


SAMPLE #1204 S4A PROGRAMMING BLOCKS

Copyright © 2020 Gigo Taiwan Co.,LTD. All rights reserved. 66


SAMPLE #1204 S4A PROGRAMMING BLOCKS

(3) Program Result  When the green flag is clicked, the IR sensor will face towards the front. If the distance to detected object is greater than 300, the obstacle avoidance vehicle will turn left or right according to the distance between the detected object on the left and right, otherwise it will directly go ahead.  When the space key is pressed, stop the motor rotation and all programs.

Copyright © 2020 Gigo Taiwan Co.,LTD. All rights reserved. 67


SAMPLE #1204 S4A PROGRAMMING BLOCKS

(4) Hands-on Experiment Set out an obstacle course for your car and see if it can complete the journey successfully. (A:If you want the car to turn right, put an obstacle in front left of the car; if you want the car to turn left, place it in the front right.) (5) Hands-on Creativity Modify the program code to create a car with reversing radar. (A:Install the sensor at the rear of the car, and set the sensor to make a faster-paced sound when it gets closer to the object.) 3.

Integrated Learning

(1) Display all the models of each group. Give all students a 15 big hand.

▪ Model ▪ Boxes

(2) A teacher can share the concepts of “Automated Steering Car" or encourage students to share the experience about either the assembly of the model or the reflection of a game. (3) Students’ works can be displayed in the classroom. (4) Remind students to clean up the desk, disassemble the model and put the building blocks back to the boxes. 4.

Extension Task

(1) Hold a competition, set up multiple obstacles on a straight track, let the students use the obstacle avoidance vehicle model to avoid obstacles to the end, the students who reach the end first wins. Record & Feedback

Copyright © 2020 Gigo Taiwan Co.,LTD. All rights reserved. 68

Oral Presenta tion


Turn static files into dynamic content formats.

Create a flipbook
Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.