CHAPTER 5Resistive Sensors

Resistive sensors are an example of an 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, and in the cable they're the black and white wires. It still doesn't matter ...

Get Extreme NXT: Extending the LEGO MINDSTORMS NXT to the Next Level now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.