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 12Beyond NXT Motors

The NXT has three output ports with variable power and polarity control that you can use to activate a variety of devices above and beyond the NXT motors. The sophisticated pulse width modulation circuitry behind these ports was already described in Chapter 3. The NXT output power is on the same two wires that we used for passive sensors: the black and the white wires in the NXT cable, or pin 1 and pin 2 on the output port connector. The white wire will be positive and the black negative when the motor output is set to forward. For most of the projects that follow, we'll only show only 18 gauge (0.8mm2) speaker wires, and you can presume they are attached to these two NXT connections.

The Motor Block

Three NXT-G blocks ...

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