Lego machine that screw caps and then labels the bottles.
Using a mindstorm NXT to controll the claw and the "rail",
a RCX 2.0 to do the labeling and opening/closing of the tool.
For the arm at the end i use a infrared link sensor connected to the NXT that controlls the Power function motor connected to the infrared receiver.
The communication between the NXT and RCX is done with a power function LED and the RCX optic sensor so it knows wene to close/open the tool.