Page 58 - Robo_Genius_V1.0_flipbook_C8
P. 58

Loops

                                                                    This  block  is  used  to  execute  the  code  when
                                                                    attached to true block.




                   Math

                                                                    To set the value.


                   Time

                                                                    This block is used to introduce a pause or a wait
                                                                    in the code.




                  Control Systems using Tinker Orbits Kit


                  LED Module

                  An LED, or Light Emitting Diode, is a small and colorful light that can glow and brighten
                  things. LED lights come in many colors, and they are used in things like flashlights,
                  traffic signals, and even on some toys. They are cool because they last a long time and
                  use less energy than regular light bulbs.


                  Switch Module

                  A switch is a device that is designed to make or break a circuit. Mainly, a switch can
                  perform two functions: on or off. So, when you press the switch, it will turn on the
                  device, and when you release it, the device becomes off.





                                                                                                    21 st   #Critical Thinking
                                                                                                  Century
                    Activity      Programming a Light to Turn On Using a Switch                    Skills  #Creativity


                  Overview

                  Students, have you ever thought about how we turn on and off lights with just a flip of a switch?

                  Today, we will explore that exact concept by building a simple circuit. We will use a switch and some
                  code to control an LED, just like how a light in your room turns on when you flip the switch. This
                  activity will show you how basic electronics and programming can work together to control things
                  we use every day.





                       56    RoboGenius (V1.0)-VIII
   53   54   55   56   57   58   59   60   61   62   63