Page 84 - Ai Robogenius
P. 84

2.  Tilt Right to Move the Robot Right

                       Task: Similarly, program the robot to move right when the Micro:bit is tilted to the right
                     using the Tilt Right block.

                       Skills Practiced: Using the Tilt Right block for rightward movement. Integrating tilt
                     control to make the robot move in different directions.


                     Outcome: The robot moves right when the Micro:bit is tilted to the right.


                  Session 3: Adding Directional Feedback Using the Compass Sensor
                  Activities:

                  1.  Using the Compass Sensor to Detect Directions

                       Task: Program the compass sensor to display the direction the robot is facing. Based
                     on the direction (North, South, East, West), display an arrow on the Micro:bit’s LED
                     screen.

                       Skills Practiced: Using the compass sensor to detect the orientation of the Micro:bit.
                     Displaying directions (N, S, E, W) on the LED screen

                       Outcome: The Micro:bit shows an arrow indicating the direction the robot is facing
                     (North, South, East, West).

                  2.  Combine Movement and Direction
                       Task: Combine the Tilt Left, Tilt Right, and compass sensor to show both movement

                     and direction. For example, if the Micro:bit is tilted left or right, the corresponding arrow
                     will also show the direction it’s facing.
                       Skills  Practiced: Combining  multiple  sensor inputs  (tilt  and  compass)  to  control
                     movement and display. Programming interactive feedback based on movement and

                     direction.
                       Outcome: The robot moves left or right based on tilt, and the direction is displayed (N,
                     S, E, W) on the screen.


                  Final Deliverables

                  Tick () the box if submitted:

                      A program demonstrating the robot’s movement and direction


                      A report introducing the robot’s movement system and its interactive controls.


                      A custom design or logo for the robot.






                                 AI RoboGenius - IV
                 82
   79   80   81   82   83   84   85   86