Page 43 - RoboGenius Pro C5
P. 43

Make a Simple Digital Thermometer


                 In this activity, you will learn how to create a simple digital thermometer using
                 the Micro:bit’s built-in temperature sensor. The Micro:bit can measure the
                 surrounding temperature and show it on its LED display. This helps you understand

                 how sensors collect information from the environment and display it in a simple,
                 readable form.

                   STEP - 1   Visit the link: https://makecode.microbit.org/ and scan the

                               QR code.

                   STEP - 2   Click on the New Project option.





















                  STEP - 3   Type the project name Digital Thermometer in the Create a Project
                               window and click on the Create button.









                                                Digital Thermometer









                  STEP - 4   Remove on start and forever block from the workplace.


                  STEP - 5   Drag the on button A pressed block from the Input category into the
                               workspace.



                                                         on  button   A  pressed






                                                                          Micro:Bit and the World Around Us
                                                                                                                    41
   38   39   40   41   42   43   44   45   46   47   48