Page 110 - Robo_Genius_V1.0_flipbook_C5
P. 110

receives from the micro:bit. This hands-on activity provides them with a real-
                  world example of how motors are controlled in everyday applications, such as

                  in household appliances, electric cars, or robots.

                  Application


                  In a remote-controlled car, the servo motor helps steer
                  the wheels. When you turn the controller, it sends a

                  signal to the servo motor, which adjusts the angle of
                  the wheels, allowing the car to turn smoothly.





                  Combining Sensors and Motors


                  Let's learn how to combine sensors and motors to build a simple robot that
                  reacts to light, using a light sensor.


                  Light Sensor

                  Light sensor is an input device. It is used to detect changes in light levels and
                  can be programmed to use this environmental information as an input to carry-
                  out further instructions in computer systems. For example, you can code the

                  micro:bit  to  make  a  sun  light  that  shines
                  brightly  when  the  light  sensor  senses  it  is
                  bright; when the light levels are very low.


                  The  micro:bit  uses  the  LED display  as  the
                  light sensor. The LED display performs two
                  functions on  the  micro:bit, to  light  up and

                  glow  brightly  and  to  also  detect,  measure
                  and respond to the level of light wherever it
                  is placed.


                  Servo Motor

                  A servo motor is a type of motor that can move to a specific angle when given a
                  signal. Unlike regular motors, which spin continuously, a servo motor is precise,
                  allowing for controlled movements.


                  When you combine the light sensor and the servo motor using the micro:bit,
                  you can create automated systems that react to changes in light. For example,



                      108    RoboGenius (V1.0)-V
   105   106   107   108   109   110   111   112   113   114   115