Project ROBBO Kit flashlight control

From scratchduino
Revision as of 12:15, 3 June 2018 by Николай (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Contents


Link to author's page

Link to author page (Evgeny Egorov)

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.

Video of the finished project

Download links

Active link to download the file in sb format

Personal tools
Namespaces

Variants
Actions
Navigation
Tools
Print/export