Article
Lego Robotics Invention System (2)
working with sensors
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.
Materials
Gerber file
CAM/CAD data for the PCB referred to in this article is available as a Gerber file. Elektor GREEN and GOLD members can exclusively download these files for free as part of their membership. Gerber files allow a PCB to be produced on an appropriate device available locally, or through an online PCB manufacturing service.
Elektor recommends the Elektor PCB Service service from its business partner Eurocircuits or AISLER as the best services for its own prototypes and volume production.
The use of our Gerber files is provided under a modified Creative Commons license. Creative Commons offers authors, scientists, educators and other creatives the freedom to handle their copyright in a more free way without losing their ownership.
PCB
Component list
Resistors:
R1 = 1k?, SMD
P1 = 1k? preset, SMD
Capacitors:
C1 = 22µF/16 V SMD or tantalum
Semiconductors:
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)
Miscellaneous:
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
R1 = 1k?, SMD
P1 = 1k? preset, SMD
Capacitors:
C1 = 22µF/16 V SMD or tantalum
Semiconductors:
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)
Miscellaneous:
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
Discussion (0 comments)