Picar-X Lesson 6 Overtake or Keep the Distance?

Basic Teaching Information

Suitable School Age

9-12 years old

Duration

90 minutes

 

 

Teaching Objectives

1. Get to know the ultrasonic obstacle avoidance technology in automatic drive.

2. Learn the definition of ultrasonic wave.

3. Understand the working principle and application scenarios of ultrasonic sensor.

4. Review variables.

5. Learn about the ranging function of ultrasonic sensor and the use of number blocks, sound effect blocks and On/Off switch blocks.

Important and Difficult Points of Teaching

Teaching Key Points

Learn the working principle of ultrasonic sensor. Use variables to store the ranging data of ultrasonic sensor.

Teaching Difficult Points

Learn how to make PiCar overtake the car in front of it and then back to its original lane and keep some distance away from the car behind.

Teaching Form

Give a lecture, cooperative group learning.

Teaching

Media

Teaching Grouping and Teaching Aid

Teaching Group

Work in groups of one person.

Teaching Aid

PiCar (each student has one), tablet computer (each student has one)

pen, and programming growth manual, paper cube and adhesive tape.

Teaching Procedure

Teaching Stage

Teaching Content

Duration

1. Lead in

Without a driver, how can a self-driving car know there is an obstacle in front of it? The tool that help it avoid obstacles is called ultrasonic sensors.

Know ultrasonic wave and explain the working principle of ultrasonic wave. 

List the scenarios in your life where ultrasonic sensors are used.

15 minutes

2. Objective

Students give PiCar an overtaking switch. When the switch is on, PiCar gets around the obstacle ahead; otherwise, PiCar doesn't.

Students use blocks and paper cubes to make an obstacle, and use tape to draw a lane.

5 minutes

3. Program Test

Just as random numbers need to be stored in variables, so does the distance measured by ultrasonic sensors in this lesson.

Explain the usage of ultrasonic block, sound effect, number block.

Task 1: Make PiCar print the real-time measured distance on the debug monitor and emit an alarm when the distance between PiCar and the obstacle ahead is < 20cm.

Task 2: PiCar drives at a 10% speed. 20CM ahead is another car. PiCar overtakes the car in front of it through the left lane and then backs to its original lane.

30-45 minutes

4. Read the program flow, complete tasks and optimize them.

Read the flow chart of the program, edit the final task program independently, and complete the task.

Guide the students to add various expansions according to their own ideas on the basis of completing the task (teachers can teach students according to their aptitude in this process, and the learning difficulty of students with better ability can be increased).

Task 3: Let PiCar drive at a 10% speed. Students give PiCar an overtaking switch. When the switch is on, PiCar gets around the obstacle ahead; otherwise, PiCar doesn't.

In this process, the teacher helps the children to be creative and make the game more fun.

15-30 minutes

5. Summary and Reflection

Summary:1. What does a self-driving car need to avoid obstacles?

2. How does an ultrasonic sensor work?

3. What does a variable do?

Reflection:

What did we ask PiCar to accomplish today? What difficulties did we encounter and what did we learn from this process?

10 minutes

6. Homework

Use an ultrasonic sensor to design a fantastic usage scenario and think whether PiCar can do it. If so, think about how to program; If not, ask teachers for help.

Picar-x

22 comments

elqxjfnj

elqxjfnj

buy dissertation https://dissertationlines.com/ – are dissertations peer reviewed
best dissertation writing services reviews
hard bound dissertation phd paper phd dissertation example

mgkuwjcd

mgkuwjcd

viagra pills for men http://viagarad.com/ – buy viagra online no script
order viagra overnight delivery
generic viagra from us pharmacy buy viagra now herbal viagra pills

rblicyua

rblicyua

write my research paper for me https://researchpapero.com/ – introduction in a research paper
research paper editors
research paper download sites research paper sample research paper topics

adermkux

adermkux

essay services https://writessaypro.com/# – writing college essay
a topic for an essay
how to write 3 paragraph essay [url=https://writessaypro.com/]write my essay for me[/url] cause and effect examples essay

joteutmy

joteutmy

outline examples for essay https://getessaypro.com/ – write essays
essay on reflection
reading essay essay checker essay checker

fogsqpkp

fogsqpkp

definition dissertation https://dissertationlines.com/# – dissertation sample
dissertation only doctorate
disserting [url=https://dissertationlines.com/#]research for dissertation[/url] what is a research thesis

pimsrblu

pimsrblu

argument essay thesis https://getessaypro.com/ – where to buy essays
free essay editors
argumentative essay introduction [url=https://getessaypro.com/]scholarships essays[/url] how to cite in essay

xdcnrzjb

xdcnrzjb

essay writing prompts https://writessaypro.com/# – essay writing
research writing services
how to write literary essay how to write introduction essay topics for definition essays

xnrggpwd

xnrggpwd

buy a research paper for college https://researchpapero.com/# – how to cite research paper
write research paper online
english paper help structure of a research paper buying research papers

eqbsojod

eqbsojod

order viagra online https://reviagaraget.com/ – sildenafil generic vs viagra
canada pharmacy online
viagra order [url=https://reviagaraget.com/#]best price viagra[/url] low price viagra

azhdabqu

azhdabqu

ideas for a persuasive essay https://getessaypro.com/ – rhetorical analysis essays examples
how to write the introduction of an essay
why nyu essay [url=https://getessaypro.com/#]essay of definition[/url] essay correction

qrxovbyi

qrxovbyi

buying cialis cheap https://gecialiscan.com/ – levitra vs cialis
cialis 5mg price
best canadian pharmacy cialis online pharmacy generic for cialis

vkxqpocq

vkxqpocq

writing my essay https://writessaypro.com/# – how to write an essay introduction
how do you write an argumentative essay
how to right an essay [url=https://writessaypro.com/]writing the college essay[/url] term paper help online

yvvuvolk

yvvuvolk

generic viagra 100mg https://saviagarars.com/# – generic viagra from us pharmacy
cheap viagra pills
generic viagra without subscription [url=https://saviagarars.com/]viagra generic brand[/url] viagra prices

zfbswqta

zfbswqta

generic viagra without a doctor prescription https://viagaracon.com/# – sildenafil citrate 100mg
cheap generic viagra pills
viagra soft [url=https://viagaracon.com/]buy viagra[/url] generic viagra prices

bfikqmss

bfikqmss

cialis coupon cvs https://gecialiscan.com/ – cialis price
coupon for cialis
buy cialis online without a prescription [url=https://gecialiscan.com/]order generic cialis[/url] cialis 20

jhoiswlz

jhoiswlz

viagra sale https://goviagarato.com/# – 100mg viagra
best price for viagra
buy generic viagra [url=https://goviagarato.com/]online order viagra[/url] generic viagra coupon

llvvtzqd

llvvtzqd

purchasing cialis online https://gencialisteg.com/ – is there a generic for cialis
cialis daily use
does cialis work generic cialis pills best place to buy cialis online

ctshybag

ctshybag

viagra coupons for pharmacy https://viagaramu.com/# – canada online pharmacy
viagra coupons printable
buy viagra online cheap viagra tablets for men viagra sildenafil

vcmswapt

vcmswapt

cialis walmart https://gecialiscan.com/ – cialis prices
cialis 10mg price walmart
cialis daily use buy cialis buy cheap cialis online

nfiqtaef

nfiqtaef

buy viagra online canada pharmacy https://viagarado.com/ – price viagra
best male enhancements
viagra pills price [url=https://viagarado.com/#]buy cheap viagra[/url] do generic viagra pills work

fszbfkup

fszbfkup

otc cialis https://gocialisget.com/ – cialis manufacturer coupon
cialis on line
canadian cialis cialis pills cialis coupon

Leave a comment