TXT
Discovery Set
ROBOTICS
16
Hand dryer
In the bathroom at your school, new hand
dryers have been installed next to the
sinks. These are equipped with
light barriers
for
switching the fan on and off.
First, build the model as described in the assembly instructions.
Task 1: (Level 1)
Now it is necessary to program the hand dryer so that as soon as
the light barrier is interrupted the fan switches on and then
back off again after 5 seconds.
Programming Tips:
In the program sequence first switch on the light for the
light barrier
at
output M2
.
Then wait one second to allow the phototransistor time to react to the
light. The light barrier should then work properly.
Then check (interrogate) the
phototransistor
at
Input I1
. If the value
is "1" (light barrier not interrupted), the input should be interrogated
continuously in a loop.
As soon as the value changes to "0" (light barrier interrupted), switch
motor M1 on and then back off after 5 seconds.
Then return to the loop for interrogating the phototransistor.
Start the program with the
start button
and check whether it works the
way you want. If it does work right, you're on your way to becoming a
professional ROBO Pro programmer.
If it doesn't work, try to find out why.
The
interface test
allows you to check whether all inputs and outputs
work properly and if they are connected correctly.
While the program is running, you can follow the program sequence
with the red building blocks. This allows you to quickly see where an
error has crept in.
Summary of Contents for ROBOTICS ADVANCED
Page 1: ......