Click on “Technology Classroom” above to subscribe to the latest technology education information.
This week we will learn about program branching and Boolean logic operations. During this week, we will create a doorbell, a status indicator light, and an ultrasonic distance sensor, learning about Arduino’s Boolean logic operations.
Course Schedule
Lesson 8: Doorbell: Logical Judgment and Digital Input
This lesson uses the doorbell, which is commonly seen in daily life, to introduce the program branching structure and how to obtain digital signals.
The hardware used in this lesson includes: Arduino UNO, IO expansion board, buttons, and buzzer.
Lesson 9: Status Indicator Light: Boolean Operations
Program branching can add various interactions to the program. The previous lesson used the doorbell as a case to explain the interactive design of a program under a single Boolean condition. This lesson introduces Boolean operations to achieve more complex program logic, creating a status indicator light.
The components required for this lesson include: Arduino UNO, IO expansion board, LED light, and buttons.
Lesson 10: Ultrasonic Distance Sensor: Pulse Length Detection
This lesson uses the ultrasonic distance sensor to explain the principle of ultrasonic distance measurement and the use of an LCD screen based on the IIC communication protocol.
The hardware required for this lesson includes: Arduino UNO, IO expansion board, LCD display, and ultrasonic distance sensor module.
Course Assignments
All three lessons this week have accompanying assignments to be completed in “Assignments and Challenges”. The deadline is April 9, remember to complete them!
Technology Classroom
Online Learning Platform for Technology Instructors
WeChat ID: sciclass
Click “Read the original text” to enter the course page.
Leave a Comment
Your email address will not be published. Required fields are marked *