Page 151 - KEC Khaitan C5 Flipbook
P. 151

C5
                 MAKER WITH MICRO:BIT                                                                     CHAPTER

















                    learning outcomes


                       understand the basics of using Micro:bit sensors for step tracking.
                       apply block-based programming concepts in MakeCode.
                       utilise the accelerometer to detect motion and count steps.
                       create a step tracking project using MakeCode.
                       implement variables and event handling for interactive applications.





                           INTRODUCTION TO STEP TRACKING AND MICRO:BIT SENSORS


                 In this chapter, you will explore how to create a step-tracking system using the Microsoft
                 MakeCode Micro:bit. The Micro:bit is equipped with an accelerometer sensor that helps
                 detect movement, making it an ideal tool for building a simple pedometer. By using event
                 handling, variables, and data display techniques, we can design an effective step-tracking
                 system.


                 HOW TO CREATE ACCOUNT IN MAKECODE MICRO:BIT?
                 To create an account, follow the steps given below:

                 Step  1   Open the web browser and type https://makecode.microbit.org/ in the search box.

                 Step  2   Click the Sign in option located at the top-right corner, if you already have an
                         account or click on Sign up option, to create new account.






















                                                                                              Maker with Micro:bit  149
   146   147   148   149   150   151   152   153   154   155   156