I am making a straight cable db25 to db9 connection using CAT 5 wiring. What I am wondering is what is the standard for the color code for serial communications?
No standard that I have ever seen. There are standards for the pins in a D connector but no standard on colors used there. And no standards on the RJ45 with regards to RS232 transmission.
Ed Fair
Give the wrong symptoms, get the wrong solutions.
That is why in the old days we called it "the RS232 NON-standard"! Now they call it EIA232C or is it D, but it is still NON-standard or what ever you can get away with!
The color code on the RJ-45 to DB-X adaptors are:
1 Blue
2 Orange
3Black
4 Red
5 Green
6 Yellow
7 Brown
8 White
When cabling up a DB9 connector, I ususlly put Black to pin 2, Yellow to pin 3, and Red to pin 5. I don't usually use the other wires as I typically either edon't use handshaking or I short RTS (DB9 pin 7) and CTS (DB9 pin 8)together.
For DB9
Black to pin 2
Yellow to pin 3
Red to pin 5
The rest do not matter unless you are using handshaking. If using RTS & CTS, use Blue to pin 7 & Green to pin 8.
For DB25
Yellow to pin 2
Black to pin 3
Red to pin 7
If you need RTS & CTS
Blue to pin 4
Green to pin 5
they have a RS232 connections that work document it helped me see the forest through the trees, it helped determine if what I had was DCE or DTE equipment once you know that for sure the rest is easy
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.