Lego Robotics Invention System (2)
working with sensors
Published in issue 288, May 2000
In the first part of this series of articles, we looked at the philosophy behind the Lego Robotics Invention System, the features of the system and the power of the RCX block. In this second part, we give our attention to the manner in which the RCX block works with sensors, which are the eyes and ears of a robot. In addition, we reveal how you can build your own sensors.The RCX block, which is the key component of the Robotics Invention System, contains a complete microcontroller system. Up to three sensors can be connected to this block. These sensors enable the robot, to perceive ‘sensations’ from its environment. There are several types of ready-made sensors, including switches, reflective sensors, temperature pickups, rotation pickups and so on. Although the range of available sensors is fairly complete, Elektor readers will surely see the RCX interface as a challenge to develop their own, new sensors. As you will see, this is also possible. In addition, you will see that it is possible to connect more than one sensor to a single input.
R1 = 1kΩ, SMD
P1 = 1kΩ preset, SMD
C1 = 22µF/16 V SMD or tantalum
D1-D6 = 1N4148 SMD = PMLL4148 (or BAT82)
D7 = IR-LED, 3 mm (wavelength 950 nm), e.g., TSIP4400 (Farnell #178-545) or SFH409 (Conrad Electronics # 183776-33)
IC1 = IS471F (Sharp, Conrad Electronics #185094-33)
Lego-block, type 2x4
Connecting wire + blocks:
Lego-cable, length 26.6 cm (order # 5311)
Lego-cable, length 9 cm (order # 5041)
PCB, order code 000040-1
Click below to download a PDF copy of this article from Elektor magazine.
Please note. In view of the complexity of international markets, Elektor cannot guarantee the availability of components for this project.