Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 86 - Robo_Genius_V1.0_flipbook_C4
P. 86

    Output

                         When        you     press          When        you      press          When you press both

                         button  A,  the  servo             button  B, the  servo               buttons  A  and  B,
                         motor will move 180                motor  will  move  90               the servo motor will
                         degrees.                           degrees.                            move 45 degrees.

                      Concept

                      A servo motor is a special type of motor that can move to a certain angle,
                      like 45 degrees, 90 degrees, or 180 degrees, based on the signal it receives.
                      By using a Micro:bit, we can control the movement of the servo motor using

                      simple buttons (Button A, Button B, and both A + B together). The Micro:bit
                      sends signals to the servo motor, telling it how far to move. This is useful in

                      many projects where precise movement is needed, such as robotic arms, toy
                      cars, or even doors that open and close.

                      Observations

                      After coding and connecting the servo motor to the Micro:bit, the following can

                      be observed:

                      1. Press Button A: The servo motor moves to 180 degrees.

                      2. Press Button B: The servo motor moves to 90 degrees.

                      3. Press both Buttons A and B together: The servo motor moves to 45 degrees.

                           84    RoboGenius (V1.0)-IV

| 81 82 83 84 85 86 87 88 89 90 91 |