Exploring Sensors
Analog vs. Digital Sensors
In this lesson, students will learn the difference between analog and digital sensors. Students will also learn how to use the serial function in MakeCode to observe data from sensors that are connected to the Spark:bit.
Lesson Time:
60 Minutes
STEM Lab:
STEM Pathways Lab
If Statements
In this lesson, students will learn how to create a program that utilizes if statements. Then, students will build and program a custom design that relies on an if statement to function correctly.
Lesson Time:
120 Minutes
STEM Lab:
STEM Pathways Lab
If/Else Statements
In this lesson, students will learn how to develop a program that uses if/else statements. Students will observe how if/else statements can be used with digital and analog sensors to control a simple design.
Lesson Time:
STEM Lab:
STEM Pathways Lab
Creating a Light Gate
In this lesson, students will learn how transmitters and receivers can be used to create light gates. Students will build a simple mechanism and create a series of new programs to control the design.
Lesson Time:
120 Minutes
STEM Lab:
STEM Pathways Lab
Creating a Proximity Sensor
In this lesson, students will learn how transmitters and receivers can be used to create a proximity sensor. Students will build and test a simple proximity-sensing device, then create a custom build of their own design.
Lesson Time:
120 Minutes
STEM Lab:
STEM Pathways Lab