R
O B O
GB+USA
The First
Simple Robot
M
S
O B I L E
E T
■ After Interface test and Garage Door Control System we finally want to put our first robot into
operation. We will assemble the model "Simple Robot" with the two drive motors according to the
construction manual. This will be pretty quick and easy since this model deliberately only holds what is
absolutely necessary for a robot to drive. The motors we'll connect to the output terminals M1 and M2.
We will open the ROBO Pro software and set up a new program (FILE – NEW). ROBO Pro offers different
levels of difficulty to work in. They can be set in the ROBO Pro menu item LEVEL. For now Level 1 is
enough for us.
An empty work sheet will appear and on the left side the element window. There you can
select the different program elements and place them on the work area using the left mouse
button. The right mouse button will let you change the properties.
A s s i g n m e n t 1 ( L e v e l 1 ) :
Our "simple robot" is should drive straight ahead for 5 seconds, then spin in
circles for 2 seconds and after that come to a stop.
Ti p p s :
Together we will program the first robot step by step:
• We will start with the little green GO man. It represents the start of the program.
• Then we get the motor symbol from the element window and put it below the Start element causing
an automatic connection line to be drawn. In the property window we'll set the motor output terminal
to "M1" and the rotational direction to "ccw" and confirm with OK.
• By following the same steps to place another motor symbol below the first one we switch on motor 2.
• To wait a certain amount of time we use the Time Delay element placing it below the second motor
symbol and set the time to 5 seconds.
• After that we set motor M2 to rotate in the other direction (cw) then wait 2 seconds and finally switch
both motors off. Our program concludes with the End symbol, the little red STOP man. The illustration
shows the finished program flow chart.
If you are not sure you did everything correctly, you can compare your program with the supplied sample
program. To do this you first save your own program and then load the file Simple Robot 1.rpp from the
samples directory of ROBO Pro (default setting C:\Program Files\ROBO Pro\Sample Programs\ROBO
Mobile Set).
If everything is ok the program can be downloaded into the Interface. After clicking the Download button
a pop-up window will appear. There we select the for program to be loaded into FLASH memory 1 and
that it should be started as soon as it is downloaded.
Immediately after the download the model will start driving straight ahead, turn for a short time and
then stop. If you would like to start the program again press the Prog button on the Interface for a short
time. The LED Prog1 will start blinking again for as long as the program is running. After that it will
remain on. By the way, the program will remain in the FLASH memory of the Interface even if the power
3 3
6 6
3 3
6 6
A
B
C T I V I T Y
O O K L E T