
Reading Sensors • Chapter 4 77
sensor applies to this case, too:Try and insulate the light sensor from external
light sources as much as possible.
There are two LEGO electric devices that, though not being actual sensors,
can be successfully employed to emulate a rotation sensor. None of them is
included in the MINDSTORMS kit, but they’re not hard to find.
The first is the polarity switch we introduced in Chapter 3. Connect it as
shown in Figure 4.13, and configure it as a touch sensor.With every turn, it
closes the circuit twice.
www.syngress.com
Figure 4.12 Emulating a Rotation Sensor with a Light Sensor
Figure 4.13 Emulating a Rotation Sensor with a P ...