9 Pin Serial Cable Wire Colors

Active6 years, 4 months ago
$begingroup$

B - 25-pin 2-row serial or parallel connector - also 44-pin high-density 3-row. C - 37-pin connector - sometimes found on multi-port serial or data acquisition boards. D - 50-pin connector - a little longer than C, but three rows using the same pins as the 2-row connectors. E - 9-pin 2-row serial - also 3-row VGA. So a DB9 is more properly a DE-9P. Pinouts for RJ45 jacks (Serial and 10Base-T). Swap pins 1 and 3 as well as pins 2 and 6, on one end of the cable. AT&T 258A wiring is comparable to T568B. Serial Pinout Applications. DB25-M: DTE: Terminal: DB25-F: DTE: IBM PC 25-pin: Modem: DE9-M: DCE: Mouse: IBM PC 9-pin: DE9-F: DTE: IBM PC 9-pin: Serial Pinout Details; RJ45 Pin Wire. Pin 2 on standard DB-9 and DB-25; TX (Transmit) - connected to RX on the other end. Pin 3 on standard DB-9 and DB-25; GND (Signal ground) - Pin 5 on standard DB-9 and pin 7 on standard DB-25 (Note that sometimes particular serial cables are wired in non-standard way, but this is very rare. Indeed, there is a number of possible serial connectors).

I have an old DB-9 connector (Male-to-Female). I cut it in half, to find 6 wires inside. 5 Had colored insulators and one was a strand of naked wires.

First question: isn't it supposed to have 9 wires instead of 6?
Second question: which pins do those wires corresponds to? Is there a universal color code for this?

I have the colors yellow, green, white, red and black.

Keelan
8,94011 gold badges57 silver badges123 bronze badges
ciphercipher

9 Pin Cable Connector

$endgroup$

2 Answers

$begingroup$

The original serial connectors were 25 pins, with some/many/most of the pins used. The DB-9 RS-232 connector just takes the nine most popular pins from the DB-25 connector. In either DB-25 or DB-9 connector, which pins are actually used depends on the hardware/software implementation of the serial protocol. At minimum, for two-way serial communication you need just three pins:

  • RX (Receive) - connected to TX on the other end. Pin 2 on standard DB-9 and DB-25
  • TX (Transmit) - connected to RX on the other end . Pin 3 on standard DB-9 and DB-25
  • GND (Signal ground) - Pin 5 on standard DB-9 and pin 7 on standard DB-25

(Note that sometimes particular serial cables are wired in non-standard way, but this is very rare. Indeed, there is a number of possible serial connectors). If your serial communication is one-way then you might only use two pins: TX/RX and GND.

The particular cable you have connects the six most popular lines. Cables that connect only some of the DB-9 serial lines are widely available, though do not assume that the same six pins are connected on all DB-9 cables. Depending on your needs, the six connected pins may or may not be sufficient. If you know which pins your hardware/software needs, then you would look for a cable that has those pins actually wired. For most modern needs (if 'modern' can be used to apply to serial port in 2013) six wires is sufficient.

Unfortunately, there is no standard for color coding serial lines. You might hope that signal ground is black/brown, though often it is green, or some other random color. TX/RX are often yellow and green, but again you cannot count on this. The only way to know which color is connect to what pin is to test with a multimeter.

angelatlargeangelatlarge
$endgroup$$begingroup$

Assuming your connector is for RS-232 (notice that a DB9 may be used for other interfaces too) there are pins that aren't used in some cases. For instance, a cable to connect two computers doesn't need the RI (ring indicator) pin; also one of the pairs RTS/CTS or DSR/DTR may not be connected, since either one or the other is used in most transmission modes. Take a look at http://pinouts.ru/SerialPorts/Serial9_pinout.shtml

fceconelfceconel
$endgroup$

Not the answer you're looking for? Browse other questions tagged connectorrs232 or ask your own question.

9 Pin Serial Cable Wiring Diagram

While you normally use a CAT5 cable for Ethernet communication, CAT5, CAT5e and CAT6 cables can also carry video communication. When you want to connect a device with a VGA output to a device that has component input, you can make a custom video cable from a CAT5 , CAT5e or CAT6 cable by attaching three component connectors to one end of the cable and connecting the proper wires to a 15-pin VGA connector on the other end of the cable. Component connections are done in the RCA format -- the phono plug with a single, stubby prong surrounded by a sturdy ground collar, commonly used in consumer A/V equipment.

25 Pin Serial Cable Pinout

Step 1

Select three of the four color-coded pairs of wires in the CAT5 cable to use for the Y, Pr and Pb connections of the component cable.

Pin

Step 2

Untwist the color-coded pairs you selected. Solder a component connector to each pair to create the component end of the cable.

Step 3

Examine the VGA connector and assign a number from one to 15 to each of the pin sockets. For example, the first pin socket in the top row should be number one, the first pin socket in the second row should be number six and the last pin socket in the last row should be number 15.

Step 4

Connect the wires in the CAT5 cable to the correct pin socket in the VGA connector. Connect the orange wire to pin socket one, the green wire to pin socket two and the blue wire to pin socket three. Connect the orange and white wire to pin socket six, the green and white wire to pin socket seven and the blue and white wire to pin socket eight. Connect the brown wire to pin socket 13 and the brown and white wire to pin socket 14.

9 Pin Serial Cable To Vga

Test each pin connection on the VGA connector with a multimeter to ensure it has a proper connection. Securely attach the VGA connector to the cable, connect both devices and ensure that the cable works properly.

Tip

  • Use a shielded twisted-pair cable if possible to ensure the cable is compatible with high-demand monitors.

Items you will need

  • CAT5, CAT5e or CAT6 cable, preferably shielded
  • 15-pin VGA Connector
  • Three component video connectors (Y, Pr, Pb)
  • Solder gun
  • Solder

Video of the Day

Brought to you by Techwalla

9 Pin Serial Cable Diagram

More Articles

Comments are closed.