Herunterladen Inhalt Inhalt Diese Seite drucken

Traffic Light - fischertechnik ROBO STARTER Begleitheft

8models
Inhaltsverzeichnis

Werbung

Verfügbare Sprachen
  • DE

Verfügbare Sprachen

  • DEUTSCH, seite 1
R O B O
GB+USA

Traffic Light

Part 1
2 2
2 2
S
T A R T E R
Ta s k 2 :
The school principal, who is always interested in saving energy, doesn't like it when
the handdryer continues to run for a time even if your hands are already dry. He asks
you to design the program so that the blower is shutoff as soon as your hands are
pulled back. That's not a problem for you, or?
P r o g r a m i n g Ti p s :
• As in the first program, you interrogate the phototransistor I1 with a branch. If the value is 0, then turn
the motor, M1, on and when the value is 1 then turn the motor, M1, off and so forth.
• For this task, there is also a complete program, Handdryer 2.rpp, in case it is
needed.
A traffic light was put up in front of your house. Since the installer from
the stop light company was under a lot of time pressure, you
offer to do the programing for the control of the
stop light for him. The man explains to you
how the control is supposed to work. But first,
build the model.
Ta s k 1 :
Normally, the traffic light is to be green.
If the button I1 is pressed by a pedestrian then the traffic light is to change to yellow
three seconds later and after an additional four seconds to red.
The red phase is to last 10 seconds followed by the red-yellow phase for three
seconds.
Then it is to go back to green.
P r o g r a m i n g Ti p s :
• The various indicator lights belong to the following interface outputs:
Red:
M1
Yellow: M2
Green: M3
• Turn the lights on and off one after the other so that the desired sequence is achieved.
• Sample Program: C:\Programs\RoboPro\SamplePrograms\ROBO Starter \Traffic light 1.rpp or
C:\Programs\RoboPro\SamplePrograms\Computing Starter \Traffic light 1.rpp
0 0
0 0
A
B
C T I V I T Y
O O K L E T

Quicklinks ausblenden:

Werbung

Inhaltsverzeichnis
loading

Inhaltsverzeichnis