1 of 12

Foundations of Technology

2 of 12

Introduction to Computer Science Principles byDesign

Unit 1: Computer Science Principles byDesign

Learning Cycle 4: Sensors and Mathematics (Microbit)

Foundations of Technology

2

3 of 12

Big Idea

In this presentation we will learn how to use the different sensors in microbit and the common math operator blocks to solve engineering problems.

Foundations of Technology

3

4 of 12

Sensors in microbit

  • Inputs to the microbit are received by sensors.
  • buttons, temperature sensor, magnetism sensor, accelerometer, light sensor, radio
  • Newer microbits have touch and microphone sensors

Foundations of Technology

4

5 of 12

The INPUT palette

5

6 of 12

C Block, Value Block

6

7 of 12

Boolean Block

7

8 of 12

Value Block used in Comparison Operator

8

9 of 12

Math Palette

9

10 of 12

Blocks in the Math Palette

All standard operations and a few that you do not see in algebra class.

https://makecode.microbit.org/reference/math

10

11 of 12

Example of a Program Using a Sensor and Math Operation

11

12 of 12

Wearable Tech Measuring Heart Beat Rate

12