EasyManua.ls Logo

TTS Pro-Bot - Using Sensors; Touch Sensors

TTS Pro-Bot
24 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Using Sensors
The most exciting thing about learning to program with the Pro-Bot is the four
built-in sensors that can be used to control your program. Before you can use
sensors in your program, you must enable them by selecting sensors from the Menu
system and checking that they say “On”.
You don’t need to call the procedures for the sensors; they will be run automatically
whenever the relevant sensor is activated. In fact, you would be very unlikely to ever
use the command “Proc 33” in a program, although it is not forbidden.
Touch Sensors
When the front touch sensor hits an obstacle, procedure 33 FRONT will run. Similarly
when you activate the rear touch sensor, procedure 34 REAR will be run. You can get
Pro-Bot to do whatever you like when these are activated.
TIP: Why not beep the horn, reverse and turn slightly to avoid an obstacle? Put the
following commands into procedure 33 FRONT:
Sound 3 (remember to press and hold to access the special commands)
Bd 10
Rt 45
Then watch what happens when your main program causes it to run into an
obstacle.
16

Other manuals for TTS Pro-Bot

Related product manuals