Lego Spybotics

Lego Spybotics ( official spelling: LEGO Spybotics ) is the name of a product series of the Lego Company, the models with the names Gigamesh G60 ( Lego-Nr. 3806 ), Snaptrax S45 ( 3807 ), Shadow Strike S70 ( 3808 ) and Technojaw T55 ( 3809 ) has produced. The kits each contain a programmable Lego brick with two electric motors, one touch and light sensor, and Lego Technic elements ( gears, axles, hole rods, etc.) to construct one of the four Spybotics robot. Through the built-in motors and sensors as well as the software supplied demarcates the Spybotics series of RCX brick from the product series Lego Mindstorms, up to three motors and three sensors can be connected externally to the.

The programmable Lego brick which Spybotics can be just like the RCX brick can be programmed in different programming languages. Therefore the program is written on the PC, compiled and then loaded using a VLL interface ( connection with visible light ) on the Spybotics. Then the Spybotics can act completely autonomously and react to external and internal events, according to the programming instructions. With the help of an infrared remote control, you can always take control of the motors or trigger another event. Furthermore, up to three Spybotics communicate with each other via the infrared interface to together to perform a mission.

The Spybotics models and their properties, which can be derived from the various drive systems:

Programming languages ​​for Lego Spybotics

Basically, the Spybotics can be programmed just like the RCX. For more information about programming languages ​​can be read there. With the BricxCC software and the contents of the internal EEPROM of the Spybotic can be read and modified.

A simple program for the Spybotic in the programming language NQC might look like this:

Task main () {   OnFwd ( OUT_A OUT_B ); / / Unlock the motors ( Output A Output B ) a   Wait ( 400); / / Wait 4 sec   Off ( OUT_A OUT_B ); / / Unlock the motors ( Output A Output B ) from } Every program should start with this programming task main. OnFwd ( OUT_A OUT_B ) means rotate the two built-in motors ( motor A and B) in the forward direction. A statement is terminated with a semicolon. A Wait statement simply means that the program specified time - a multiple of 10 ms - waiting and then continues with the next command. In this example, both motors rotate for 4 seconds and then stopped with the command off.

504990
de