R
O B O
Check carefully if the edge detectors respond correctly:
• when the model reaches the edge of the table and the pushbutton is pressed precisely again
• when the wheel is on the table again.
If necessary, one or the other pushbutton sensors might have to be adjusted up or down a bit.
A s s i g n m e n t 1 ( L e v e l 3 ) :
● First consider how the robot should react when reaching a precipice.
● Upon closer examination you will realize that there are many possible
combinations of sensors located over the precipice.
● One of the 4 detectors could be activated, or 2 or 3 different ones at the same time,
or even all four sensors.
● How should the robot react to each of these possibilities?
Ti p s :
You will find the solution in the following table. Those sensors located over a precipice (pushbutton
sensor=0) are marked with an ●. Each combination receives a number. In the program that will be
created later each option is assigned the corresponding number. The robot will react to the current
situation on the basis of that number. But more about this later. First, only think about how the robot
must stand for a certain combination to occur and if it reacts correctly.
Front
Front Back Back
No. Right
Left
Right
(I3)
(I4)
(I5)
0
●
●
●
1
●
●
●
2
●
●
3
●
●
4
●
●
5
●
●
6
●
●
7
●
8
●
●
9
●
10
●
11
●
12
●
13
●
14
15
M
S
O B I L E
E T
Left
Reaction
(I6)
Straight ahead (no sensor over the precipice)
●
Stop (all 4 sensors over the precipice)
Turn a bit to the right
●
Turn a bit to the left
●
Turn a bit to the left
●
Turn a bit to the right
First back up, then turn to the right
Turn a bit to the left
●
Turn a bit to the left
Turn a bit to the right
●
Turn a bit to the right
●
Drive forward a bit
First back up, then turn to left right
First back up, then turn to the right
Drive forward a bit
●
Drive forward a bit
A
B
C T I V I T Y
O O K L E T
GB+USA
4 4
9 9
4 4
9 9