Project ROBBO Kit flashlight control
(Created page with " __TOC__ ==Link to author's page== [http://wiki.robbo.ru/wiki/%D0%A3%D1%87%D0%B0%D1%81%D1%82%D0%BD%D0%B8%D0%BA:%D0%95%D0%B3%D0%BE%D1%80%D0%BE%D0%B2 Link to author page (Evge...") |
|||
Line 22: | Line 22: | ||
==Download links== | ==Download links== | ||
− | [ | + | [http://wiki.robbo.ru/wiki/images/1/15/DangerousWay1.sb2 Active link to download the file in sb format] |
[[Category:Projects]] | [[Category:Projects]] | ||
[[Category:Projects_ROBBOKit]] | [[Category:Projects_ROBBOKit]] |
Latest revision as of 12:15, 3 June 2018
Contents |
[edit] Link to author's page
Link to author page (Evgeny Egorov)
[edit] Description of the project
Students need to program the Robot Platform with a light sensor in the ScratchDuino program so that the robot can start the movement and stop at the flashlight signal: a short beep is to go. Long - to stand. After this, a competition is held who will quickly pass the track with stops in designated places. (the stopping accuracy is also estimated).
When programming, you need to pay attention to the following:
First, you need to read the light sensor in the background light - this signal level will mean no commands.
You need to make sure that the robot does not start moving, if the flashlight shone for a long time, and then turned off. That is, it is necessary to take into account not only the moment of signal decay, but also the moment of its appearance.
For these purposes, the first condition in the program is to make the absence of a signal, and not its presence.
Students can also experiment with the duration of the "short" signal so that it is convenient for them to control the robot.