Teaching Design of Artificial Intelligence Course | Lesson 3: In-Depth Sharing of Flowing Light Teaching Process

Editor’s NoteThe artificial intelligence course is gradually being implemented in schools and institutions across various regions, but many teachers are still in the stage of understanding and learning. To provide some references for teachers, STEAM Online Star Academy has collaborated with Maker Childhood to launch a series of illustrated explanations on the teaching design of artificial intelligence courses, accompanied by learning videos, allowing teachers to quickly understand and master the relevant course content.

How to explain the teaching design of the artificial intelligence course | Arduino Lesson 1?

How to explain the teaching design of the artificial intelligence course | Arduino Lesson 2: A 90-minute lesson on blinking LED experiments?

Lesson 3 – Flowing Light

Through the learning of the previous two lessons, students have mastered the basic circuit to light up the LED lights and learned to control the on and off of the Arduino ports through programming, thus controlling the blinking of the LED lights. This lesson on flowing lights is an application of blinking LED lights. On one hand, it helps children review the knowledge of blinking LED lights, and on the other hand, using the learned knowledge for creative production can enhance children’s sense of achievement in learning.

1
Student Situation Analysis

2. Teaching Objectives

1. Write corresponding programs according to different flowing light effects.

2. Master the wiring and layout of the breadboard when facing multiple circuits.

3
Teaching Key Points

Teaching Focus

1. Proficient in breadboard wiring and layout.

2. Understand the principle of flowing lights and be able to write corresponding programs according to different flowing light effects.

Teaching Difficulty:

Be able to write corresponding programs according to different flowing light effects.

4
Teaching Process

1. Work Display, Introducing New Lessons【5 minutes】

The teacher displays various flowing light works (pictures are also acceptable).

Teaching Design of Artificial Intelligence Course | Lesson 3: In-Depth Sharing of Flowing Light Teaching Process
Teaching Design of Artificial Intelligence Course | Lesson 3: In-Depth Sharing of Flowing Light Teaching Process

Summary:

When multiple lights present a regular on-off pattern, it can be called flowing lights, also known as running lights.

Relating to Life:

Ask students if they have seen flowing lights in their lives? Where have they seen them?

Teaching Design of Artificial Intelligence Course | Lesson 3: In-Depth Sharing of Flowing Light Teaching Process

Introduce the theme of this lesson: Making flowing lights by hand.

2. Teaching New Lessons

① Simple Review【5 minutes】

Teaching Design of Artificial Intelligence Course | Lesson 3: In-Depth Sharing of Flowing Light Teaching Process

Circuit wiring for blinking LED lights.

Teaching Design of Artificial Intelligence Course | Lesson 3: In-Depth Sharing of Flowing Light Teaching Process

Reference program.

Principle of blinking LED lights:

The blinking of LED lights is caused by the on-off of electricity.

Programming Logic:

Port 8 powered on for a period of time.

Port 8 powered off for a period of time.

② Present tasks and let students try to complete【15 minutes】

Teaching Design of Artificial Intelligence Course | Lesson 3: In-Depth Sharing of Flowing Light Teaching Process

Basic version of the 8-bit flowing light.

Guided Observation

Observe the flowing light process and describe it in natural language.

Teaching Design of Artificial Intelligence Course | Lesson 3: In-Depth Sharing of Flowing Light Teaching Process
Teaching Design of Artificial Intelligence Course | Lesson 3: In-Depth Sharing of Flowing Light Teaching Process
Flowing light process.

Implicit Logic:When the next light turns on, the previous light turns off.

Hands-on Practice

Give students some time to try to complete it. To control the time well, let students first complete the 4-bit flowing light.

Summary:In this link, encouraging children to complete on their own can motivate eager learners. When students can complete tasks without a teacher’s guidance, they will feel a strong sense of achievement.

③ Explain the wiring of flowing lights【5 minutes】

In the previous link, when students independently completed tasks, their wiring may have been chaotic. This link can explain the wiring standards to students, striving for clarity and simplicity.

PrecautionsWhen using the long breadboard shown below, be aware that there are segments in the middle.

Teaching Design of Artificial Intelligence Course | Lesson 3: In-Depth Sharing of Flowing Light Teaching Process
Teaching Design of Artificial Intelligence Course | Lesson 3: In-Depth Sharing of Flowing Light Teaching Process
Breadboard

Flowing light wiring:

All short legs are connected through a resistor to the negative power area of the panel, and then connected to the GND of the Arduino board with a single wire, making the overall layout relatively simple. The spacing between the LED lights is equal, making it more aesthetically pleasing.

A reasonable and clear layout not only looks comfortable but also benefits subsequent error checking.

Teaching Design of Artificial Intelligence Course | Lesson 3: In-Depth Sharing of Flowing Light Teaching Process
Teaching Design of Artificial Intelligence Course | Lesson 3: In-Depth Sharing of Flowing Light Teaching Process
Flowing light wiring

④ Teaching the flowing light program【10 minutes】

Teaching Design of Artificial Intelligence Course | Lesson 3: In-Depth Sharing of Flowing Light Teaching Process

Program flowchart

Teaching Design of Artificial Intelligence Course | Lesson 3: In-Depth Sharing of Flowing Light Teaching Process

Reference program

Program Logic

When the next light turns on, the previous light turns off, executing in a loop.

Significance of the Delay Module

The delay time determines the speed of the flowing light. The shorter the time, the faster the speed; the longer the time, the slower the speed.

Adding a certain time between statements will create a sequential execution effect.

If no delay time is added (or the delay time is very short), although the execution process also has an order, the response on the LED is indistinguishable to the human eye, so it appears as simultaneous execution.

⑤ Let students independently complete tasks【15 minutes】

Experimental Task

Complete the 8-bit flowing light experimental task.

Task Requirements

The wiring must be clear and simple, and the program must be independently completed by the student.

Classroom Situation Handling

For students who finish quickly, assign them extension tasks.

For students who are still struggling, provide help and guidance at their seats (especially in off-campus small class teaching).

For students who make mistakes, provide appropriate guidance, encouraging them to check and correct their errors independently.

Effect Display:

3. Extension and Improvement【15 minutes】

Design other styles of flowing lights.

Reference Styles

① All lights turn on at first, then extinguish in order.

Teaching Design of Artificial Intelligence Course | Lesson 3: In-Depth Sharing of Flowing Light Teaching Process

② Spread out from the middle to both sides.

Teaching Design of Artificial Intelligence Course | Lesson 3: In-Depth Sharing of Flowing Light Teaching Process

4. Class Summary【2~3 minutes】

① The program of flowing lights.

② The wiring and layout of the breadboard.

5. Challenge Task【10 minutes】

Let the flowing lights flow in the following order:

12->23->34->45->56->67->78->81

Long press the QR code to view the first season of courses

Teaching Design of Artificial Intelligence Course | Lesson 3: In-Depth Sharing of Flowing Light Teaching Process

Long press the QR code to view the second season of courses

Teaching Design of Artificial Intelligence Course | Lesson 3: In-Depth Sharing of Flowing Light Teaching Process

Learning Suggestions:

1. This course is a practical course and requires the purchase of a corresponding learning kit. Actual hands-on practice is necessary to gain benefits.Long press the QR code to view the learning kit:

Teaching Design of Artificial Intelligence Course | Lesson 3: In-Depth Sharing of Flowing Light Teaching Process

2. After each class, actively complete the after-class practice tasks. The after-class practice is a consolidation and extension of the course content. If you encounter problems, you can consult Teacher Peanut online WeChat (18900744765).

3. After completing each class, share your creations with those around you in a timely manner. Sharing with others can not only consolidate knowledge but also gain a sense of achievement.

(Statement: Except for original articles from STEAM Online Star Academy, all articles shared and reprinted by STEAM Online Star Academy are for promoting the development of the STEAM education industry in China. They are for learning and communication purposes only, not for commercial use. Copyright belongs to the original author, and sources will be noted. If the original authors of the articles or photos have objections, please contact the background for quick processing or deletion. Thank you for your support.)
STEAM Online Teacher Exchange Group
1000+ STEAM Education Teachers
Long press the QR code to contact, note “Teacher”
Teaching Design of Artificial Intelligence Course | Lesson 3: In-Depth Sharing of Flowing Light Teaching Process

The 2020 STEAM Education Annual List Collection has begun, welcome to self-recommend!

Teaching Design of Artificial Intelligence Course | Lesson 3: In-Depth Sharing of Flowing Light Teaching Process
Teaching Design of Artificial Intelligence Course | Lesson 3: In-Depth Sharing of Flowing Light Teaching Process

Leave a Comment

Your email address will not be published. Required fields are marked *