Editor’s Note:The 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?
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.
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.
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.
1. Work Display, Introducing New Lessons【5 minutes】
The teacher displays various flowing light works (pictures are also acceptable).
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?
2. Teaching New Lessons
① Simple Review【5 minutes】
Circuit wiring for blinking LED lights.
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】
Basic version of the 8-bit flowing light.
Guided Observation:
Observe the flowing light process and describe it in natural language.
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.
Precautions:When using the long breadboard shown below, be aware that there are segments in the middle.
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 the flowing light program【10 minutes】
Program flowchart
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.
② Spread out from the middle to both sides.
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
Long press the QR code to view the second season of courses
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:
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.
Leave a Comment
Your email address will not be published. Required fields are marked *