Page 68 - Robo_Genius_V1.0_flipbook_C3
P. 68

that show order numbers. These displays help
                  customers know when their food is ready. When

                  an order is placed, the restaurant staff updates
                  the number on the display. Once the order is

                  prepared,  the  number  flashes  on  the  screen,
                  notifying the customer. This application makes
                  the process efficient, ensuring customers are

                  served in the correct order without confusion.



                  How Sound Sensors Work?

                  The  micro:bit  with  sound  has  a  built-in
                  microphone sensor. It can react to loud and

                  quiet  sounds,  and  also  measure  how  loud
                  your environment is.

                  It  can  be used  to  respond  to  sound. The

                  microphone  input  sensor  is located  on  the
                  front  of  the  board  alongside  a  microphone
                  activity LED, which is lit when the microphone is in use.

                     • When the microphone detects a loud sound, like a clap, it shows a large

                     heart on the LED display.
                     • If it detects a quiet sound, for example after your clap has finished, it shows

                     a small heart.
                     • The effect of this is to create a simple heart animation

                     that responds to claps or strong beats in music.
                                                                                                START
                  Algorithm Used                                                                On Loud sound
                                                                                                  Show icon
                  The algorithm used for the activity is:                                       On Quiet sound
                                                                                                  Show icon

                                                                                                END



                                                                                                21 st
                    Activity       Programming a Clap Heart                                   Century   #Technology Literacy
                                                                                                    #Information Literacy
                                                                                                Skills
                                   with Micro:bit

                  Step 1       Go to Microsoft make code https://makecode.microbit.org/



                      66     RoboGenius (V1.0)-III
   63   64   65   66   67   68   69   70   71   72   73