O'Reilly logo

Extreme NXT: Extending the LEGO MINDSTORMS NXT to the Next Level by Isabelle Hurbain, Philippe Philo Hurbain, Michael Gasperi

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required