![fischertechnik ROBOTICS ADVANCED Manual Download Page 22](http://html.mh-extra.com/html/fischertechnik/robotics-advanced/robotics-advanced_manual_2294334022.webp)
TXT
Discovery Set
ROBOTICS
22
Swiveling Camera
Next you can build a surveillance camera for your
room. First, build the model as described in the
assembly instructions.
Task: (Level 3)
This camera is driven by an
encoder motor
to repeatedly turn
it slightly before checking if anything moves in the room. If so,
it should trigger an alarm on the TXT Controller loudspeaker; if
nothing moves, it should continue to turn slightly before checking
again.
After reaching the end of the swivel range, it should return to its
initial position in small increments.
Programming Tips:
The camera should first move to its initial position (until pushbutton I1 is
depressed).
Then it should repeatedly move a certain number of pulses in the other
direction. You can easily check how many pulses are practical per
rotation with the aid of the
interface tests
.
Use the camera "Motion" sensor element to check whether anything
changes in the image. If so, trigger an alarm on the TXT Controller
loudspeaker, see (
ROBO Pro Help
).
Repeat this operation until the camera reaches the end of its swivel
range, then move back in the other direction to limit switch I1.
Here is our solution for this task:
This model can be operated independently of the PC in the download
mode.
It is the perfect surveillance camera to keep trespassers out of your
room.
Swiveling_camera.rpp
Summary of Contents for ROBOTICS ADVANCED
Page 1: ......