Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 67 - Robo_Genius_V1.0_flipbook_C4
P. 67

    Observations

                     In the Simple Counter activity, students will see:

                        Each time they press the A button on the micro:bit, the number will increase
                        by 1.

                        The micro:bit will show the updated number on its screen.

                       Students will learn how to create a simple
                     counting system using coding.

                     Application

                     Pedometer:  It  counts  the  number  of  steps

                     you take each day. Each time you take a step,
                     the counter adds one to the total. By the end
                     of the day, you can see how many steps you

                     have walked.

                     Building a Direction Blinking Arrow

                     The Micro:bit has a variety of sensors. One of
                     these sensors includes an accelerometer. The

                     accelerometer is behind the B- button. A label
                     on  the  micro:bit  behind  the  button’s  points

                     to  the  motion  sensor.  The  accelerometer
                     measures  motion.  The  motion  comes  from
                     lifting or rotating the Micro:bit.

                     The accelerometer measures motion in three

                     different directions. It measures motion when
                     the Micro:bit is moved side to side or up and
                     down.

                     The micro:bit measures movement along three axes:

                     X - Tilting from left to right.

                     Y -  Tilting forwards and backwards.

                     Z - Moving up and down.

                                                                        Introduction to Micro:bit and Programming  65

| 62 63 64 65 66 67 68 69 70 71 72 |