yahboom
HomeLearn
Solution
Blog
Online Store
About Us
EN/中文
Mini Microbit Handle📖
1.Preparation before class
  • 1.1 MakeCode Programming Guide
  • 1.3 How to import tiny:bit library
2.MakeCode programming course
A.General basic course
  • 3.Aircraft war
  • 4.Fruit game
  • 1.Heart beat
  • 2.See who is pressing fast
  • 3.Flowing sand
  • 4.DIY thermometer
  • 5.Direction follower
  • 6.Listen to music
  • 7.Dice game
  • 8.Good morning, good night
B.V2 basic course
  • 1.Play sound effects
  • 2.Changing face
  • 3.Clapping your hands
  • 4.Little mp3
  • 5.Temperature alarm
  • 6.Alarm clock
  • 7.Touch song
  • 8.Detect sound
  • 9.Sleep mode
C.Handle game course
  • 1.Direction-guide
  • 2.Dodge bullet game
  • 5.Jump
  • 6.Mini-racing
  • 7.Pingpong
  • 8.Snake
  • 9.Two machine battle
  • 10.Faster than who shakes
D.Remote control car course
  • 1.Mbit car
  • 2.Tinybit car
  • 3.Buildingbit
  • 4.Lastbit V2
E.Remote control building block kit course
  • 1.Tumblebit
  • 2.Bipedbit
  • 3.Spinbit
  • 4.Armbit
  • 5.Omnibit
  • 6.Spiderbit
  • 7.Pretty car handle control
  • 8.Clip robot handle control
  • 9.Proficient carrier handle control
  • 10.Skip car handle control
  • 11.Mobile shooter handle control
3.MicroPython programming course
A.Basic course
  • 1.Heart beat
  • 2.Button game
  • 3.Flowing sand
  • 4.DIY thermometer
  • 5.Direction follower
  • 6.Listen to music
  • 7.Dice game
  • 8.Morning and night
B.Remote control course
  • 1.Microbit car
  • 2.Tinybit car
  • 3.Buildingbit
  • 4.Lastbit
C.Remote control building block course
  • 1.Tumblebit
  • 2.Spinbit
  • 3.Armbit
  • 4.Omnibit
  • 5.Spiderbit
  • 6.Bipedbit
  • 7.Pretty car handle control
  • 8.Clip robot handle control
  • 9.Proficient carrier handle control
  • 10.Skip car handle control
  • 11.Mobile shooter handle control
Download
  • Code
  • Hardware Manual
Download ZIP

Welcome to Mini Microbit Handle repository

5.Temperature alarm

1. Learning goals

In this lesson, we will learn to use the micro:bit on board buzzer and thermometer. Micro:bit will detect the motherboard chip temperature in real time. When the chip temperature exceeds a certain value, the buzzer will sound an alarm.

image.pngimage.png 

2. Mode 1 online programming: 

First, we need to connect the micro:bit to the computer by USB cable. The computer will pop up a USB flash drive and click on the URL http://microbit.org/ in the USB flash drive to enter the programming interface to start program.

Mode 2 offline programming: 

We need to open the offline programming software. After the installation is complete, enter the programming interface, click【New Project】, you can start program.

3.Looking for blocks

The following is the location of the building blocks required for this programming.

image.png 

image.png 

image.png 

image.png 

4.Combine block 

The summary program is shown below. 

image.png 

Program analysis:

Set the temperature value to the variable "i" and display it on the LED dot matrix. When the chip temperature is greater than 31 ℃, the alarm sound effect will be played.

You can modify the temperature threshold according to the current use environment by yourself.

5.Experimental phenomena

After connecting the computer to the micro:bit board via the micro USB data cable. Click download or save on the programming interface, and the program can be successfully downloaded to the Micro:bit board.

We can see the micro:bit dot matrix displays the current temperature.

For example, my current temperature is 29 ℃. After a while, the temperature of the Micro:bit chip will reach 31 ℃. At this time, the buzzer will sound an alarm. Place the Micro:bit board in front of the fan. When the temperature of the board drops, the buzzer will stop the alarm.



Little mp3
Alarm clock

COMPANY

  • About us
  • Team Style
  • Blog

LEARNING & EXPLORATION

  • Tutorials
  • Edge AI hardware
  • Educational robots
  • Embedded intelligent hardware

WHERE TO BUY

  • Yahboom Online Store
  • Amazon
  • Alibaba
  • AliExpress
  • Mercado

TECHNOLOGY SUPPORT

  • Email: support@yahboom.com

BE A DISTRIBUTOR

  • Email: sales@yahboom.com
QR Code
QR Code

Copyright © 2017-2026 Yahboom. All Rights Reserved.

EN/中文