Page 86 - Robo_Genius_V1.0_flipbook_C5
P. 86
determine the direction of motion. Motion is not just from side to side or up
and down. Rotating the micro:bit is also considered as motion.
A great example of an application of accelerometers are airbags in modern
vehicles, where an accelerometer is used to detect the rapid deceleration of a
vehicle. If rapid deceleration were to occur, the airbags are deployed.
Accelerometers can also be used to detect when an object is in free fall, which
is when only the force gravity is acting upon an object. If you were to throw
a ball directly into the air, free fall would begin as soon as the ball begins its
decent after the acceleration from your throw has subsided.
Algorithm Used
START
An algorithm is a step-by-step procedure that defines a FOREVER
set of instructions that must be carried out in a specific On Shake
order to produce the desired result. Show number
END
21 st #Technology Literacy
Century
Activity Programming a Shaking Dice Skills
Using Micro:bit
Step 1 Go to Microsoft make code https://makecode.microbit.org/
Step 2 Click on new projects.
Click on new
project
Step 3 Create a project.
84 RoboGenius (V1.0)-V

