New game
Download
Get Academic Plan
Share game
Integrate it into your platform

You can integrate the game into an LMS compatible with LTI 1.1 or LTI 1.3 such as Canvas, Moodle, or Blackboard. This way, the scores will be automatically saved into the platform’s gradebook.
Download
You have exceeded the maximum number of games you can integrate into Google Classroom with your current Plan.

To integrate as many games as you want in Google Classroom, you need an Academic Plan or a Commercial Plan.

You have exceeded the maximum number of games you can integrate into Microsoft Teams with your current Plan.

To integrate as many games as you want in Microsoft Teams, you need an Academic Plan or a Commercial Plan.

Downloading games is an exclusive feature for users with an Academic Plan or a Commercial Plan.

Get your Academic Plan or your Commercial Plan now and start integrating your games into your LMS, website or blog.

If you wish, you can download a demo game here and test its integration:

Cookbook Ρομποτικής #4: Μουσικό Κουτί

Quiz

Played 1

About this activity

Δοκίμασε τις γνώσεις σου στο τέταρτο project του Cookbook Ρομποτικής! Ένα κουίζ για να ελέγξεις τι έμαθες για τη δημιουργία ήχου με το Arduino, τη χρήση της εντολής tone(), και την οργάνωση μιας μελωδίας χρησιμοποιώντας πίνακες (arrays).

Created by

Greece
This game is a version of

Download the paper version to play

Make your own free game from our game creator
Compete against your friends to see who gets the best score in this game

Top Games

%
Anonymous
Anonymous
%
%
%
You have exceeded the maximum number of games you can print with your current Plan.

To print as many games as you want, you need an Academic Plan or a Commercial Plan.

Print your game
Cookbook Ρομποτικής #4: Μουσικό Κουτί
 

Cookbook Ρομποτικής #4: Μουσικό ΚουτίOnline version

Δοκίμασε τις γνώσεις σου στο τέταρτο project του Cookbook Ρομποτικής! Ένα κουίζ για να ελέγξεις τι έμαθες για τη δημιουργία ήχου με το Arduino, τη χρήση της εντολής tone(), και την οργάνωση μιας μελωδίας χρησιμοποιώντας πίνακες (arrays).

by Dimitrios Lytsios
1

Τι κάνει η εντολή tone(8, 440, 500);

2

Τι είναι ο πίνακας (array) int melody[];

3

Γιατί χρειαζόμαστε την noTone() μετά κάθε νότα;

Εξήγηση

Η εντολή tone() χρειάζεται τρεις πληροφορίες (παραμέτρους) για να λειτουργήσει: πρώτα το pin του buzzer (8), μετά τη συχνότητα του ήχου (440Hz που αντιστοιχεί στη νότα Λα) και τέλος τη διάρκεια της νότας σε χιλιοστά του δευτερολέπτου (500ms).

Ένας πίνακας (array) λειτουργεί σαν μια "θήκη" οργάνωσης όπου αποθηκεύουμε πολλές τιμές στη σειρά. Έτσι, αντί να φτιάχνουμε μια ξεχωριστή μεταβλητή για κάθε νότα, τις γράφουμε όλες μαζί μέσα στον πίνακα, με τη σειρά που θέλουμε να ακουστούν στη μελωδία μας!

Αν παίζουμε τη μία νότα ακριβώς μετά την άλλη, ο ήχος θα βγαίνει συνεχόμενος και οι νότες δεν θα ξεχωρίζουν. Η εντολή noTone() σταματάει τον ήχο του buzzer στιγμιαία, δημιουργώντας μια μικρή παύση (άρθρωση) ώστε η κάθε νότα να ακούγεται καθαρά.

Are you sure you want to leave the page?

If you leave the page, you will lose your game progress.