Chapter 3. Making a Connection

Before you can start homebrewing sensors and extending the outputs, you need to understand how to physically connect them to the NXT. In this chapter, we'll describe the unusual connector used on the NXT and describe the electrical signals found on the ports. We'll even show you some simple ways to make connections.

NXT Ports

The four sensor input ports are on the bottom of the NXT, and they're numbered from 1 to 4. The three motor output ports are on the top of the NXT, and they're labeled A, B, and C. If you look through the clear plug on the end of an NXT cable, you can see the six pins and wires that make up the interface. The wires are color coded: white, black, red, green, yellow, and blue. The function of each ...

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.