Introduction: Alarm App (the Alarm Is Triggered by Clicking on the Spacebar and Stops With the Down Arrow)

About: I teach Information and Communication Technology (ICT). I am very fond about all the new technologies for teaching. I do research, write articles and participate in conferences. I perfected in computer science…

Creating an alarm with Scratch.

Coding Project.


Create scripts with Scratch so that when the lever is opened using the Spacebar the alarm will go off (for this connect MakeyMakey to a "red" chili pepper), instead, to stop everything just select the down arrow (green/yellow chili pepper ).

**************************************

Creare gli script con Scratch facendo in modo che quando la leva sarà aperta tramite la barra spaziatrice scatterà l'allarme (collegare per questo MakeyMakey a un peperoncino "rosso"), invece, per fermare tutto basterà selezionare la freccia in giù (peperoncino verde/giallo). 

Supplies

Design the background and the lever.

Two lever designs will be needed (on/off).

****************************************************

Saranno necessari due disegni di leva (on/off)

Step 1: Scripts

Create scripts in Scratch.

Add MakeyMakey Extension.

*********************************

Crea script in Scratch.

Aggiungi l'estensione MakeyMakey.

Step 2: Test Operation

Click on start to launch the App (green flag).

With the lever in the "open" position the alarm will sound (Spacebar), pressing the down arrow will close the lever and stop the sound.

You can then change the controls as you wish.

*****************************************************

Fare clic su start per avviare l'app (bandiera verde).

Con la leva in posizione "aperta" suonerà l'allarme (tasto spazio), premendo la freccia verso il basso si chiuderà la leva e si interromperà il suono.

Potrai quindi modificare i controlli come desideri.