Microbit Makecode Temperature Measurement

Activity (Lower Computational Thinking)

Step 1 : build forever → show number → temperature. ( how to link)

Flash to device (link).

Step 2 : Scavenge Hunt Battery pack on, roam the room. Record on a paper table. Write each number

  • by the window,
  • near a laptop,
  • in a cupped hand,
  • on the floor. 4–5 spots write the number each time..

Extension: The micro:bit thinks of temp in Celsius. Convert that reading into Fahrenheit for display and your logs; the micro:To do this, you must be able to make a variable and then implement the conversion formula. Here’s one way: (how to )

Activity (Upper Computational Thinking)

Step 1 : Two Numbers 1 Device : button A → temperature, B → light level (how to link)

Two sensors, one device.

Flash once .

Step 2 : Scavenge Hunt Battery pack on, roam the room. Record on a paper table. Log both temperature and light at each spot, and record a second reading at each spot 30 seconds apart to see if it drifts. 4–5 spots

  • by the window,
  • near a laptop,
  • in a cupped hand,
  • on the floor. 4–5 spots write the number each time..

Extension: The micro:bit thinks of temp in Celsius. Convert that reading into Fahrenheit for display and your logs; the micro:To do this, you must be able to make a variable and then implement the conversion formula. Here’s one way: (how to )