Chapter 5. Resistive Sensors

Resistive sensors are an example of a NXT passive-type sensor. The term passive sensor sounds like it could be an oxymoron. After all, how could anything that senses also be passive? The term is a carryover from the old RCX days when there were only two types of sensors: those that required a power supply and those that didn't. You probably figured out that passive sensors were the type that didn't. The contact sensors you learned about in Chapter 4 were also passive sensors.

Connecting a resistive sensor to the NXT is just like the contact sensor. You use only two of the six sensor input connections. On the NXT plug, they're pins 1 and 2; in the cable, they're the black and white wires. It still doesn't matter which ...

Get Extreme NXT: Extending the LEGO MINDSTORMS NXT to the Next Level, Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.