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 Ρομποτικής #2: Νυχτερινό Φως (Smart Night Light)

Quiz

Played 0

About this activity

Δοκίμασε τις γνώσεις σου στο project "Νυχτερινό Φως" από το Cookbook Ρομποτικής! Ένα σύντομο κουίζ για να ελέγξεις τι έμαθες γύρω από τον αισθητήρα φωτός (LDR), τις δομές αποφάσεων στον κώδικα (if/else) και τη ρύθμιση της ευαισθησίας (κατώφλι) στο Arduino.

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 Ρομποτικής #2: Νυχτερινό Φως (Smart Night Light)
 

Cookbook Ρομποτικής #2: Νυχτερινό Φως (Smart Night Light)Online version

Δοκίμασε τις γνώσεις σου στο project "Νυχτερινό Φως" από το Cookbook Ρομποτικής! Ένα σύντομο κουίζ για να ελέγξεις τι έμαθες γύρω από τον αισθητήρα φωτός (LDR), τις δομές αποφάσεων στον κώδικα (if/else) και τη ρύθμιση της ευαισθησίας (κατώφλι) στο Arduino.

by Dimitrios Lytsios
1

Τι τιμή επιστρέφει ο LDR όταν το δωμάτιο είναι πολύ σκοτεινό;

2

Τι κάνει η εντολή else στον κώδικά μας;

3

Αν αλλάξουμε το κατώφλι από 300 σε 600, τι θα αλλάξει στη συμπεριφορά του φωτός;

Εξήγηση

Στη συνδεσμολογία που χρησιμοποιήσαμε, όσο πιο σκοτεινά είναι στο δωμάτιο, τόσο η αναλογική τιμή που διαβάζει το Arduino πέφτει και πλησιάζει στο 0. Αντίθετα, όταν πέφτει έντονο φως στον αισθητήρα, η τιμή ανεβαίνει.

Η δομή if...else (αν...αλλιώς) μας βοηθάει να παίρνουμε αποφάσεις. Αν η συνθήκη του if είναι ψευδής (π.χ. ΔΕΝ έχει σκοτάδι), το πρόγραμμα αγνοεί το if και εκτελεί αμέσως τις εντολές που βρίσκονται μέσα στο else (π.χ. κλείσε το LED).

Το "κατώφλι" είναι το όριο που καθορίζει πότε το Arduino θα θεωρήσει ότι σκοτείνιασε. Ανεβάζοντας αυτόν τον αριθμό (από 300 σε 600), κάνουμε το σύστημά μας να ανάβει το LED πιο εύκολα, ακόμα και αν υπάρχει μέτριος φωτισμός στο δωμάτιο.

Are you sure you want to leave the page?

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