Pages: [1]   Go Down
Author Topic: Standard Color Scheme for Wiring  (Read 622 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Newbie
*
Karma: 0
Posts: 20
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I'm getting ready to solder some wires up to a connector for a GPS (EM-406A) and wasn't sure if there is a standard color I should use. I know for power and ground, I should use red and black, respectively. I'm only really looking to connect Tx and Rx on the GPS to my Arduino and wanted to know if there is some sort of standard convention to follow so I can stay consistent with whatever is out there. I borrowed a GPS from a friend and they just soldered haphazardly so ground is red, power is purple, Tx is green, Rx is brown, and so it's a mess and I have to think really hard to make sure I don't burn out the GPS. If there is a standard, it would be great to know.
Thanks.
Logged

Massachusetts, USA
Offline Offline
Tesla Member
***
Karma: 201
Posts: 8669
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Aside from red for +V and black for Ground I don't know of any conventions that are generally followed.  I think Twisted Pair cables (like Ethernet) have their color codes and USB cables have Green and White for the data pins.  For serial connections you might try the convention used by the FTDI USB-to-Serial cables.
Logged

Send Bitcoin tips to: 1L3CTDoTgrXNA5WyF77uWqt4gUdye9mezN
Send Litecoin tips to : LVtpaq6JgJAZwvnVq3ftVeHafWkcpmuR1e

nr Bundaberg, Australia
Offline Offline
Tesla Member
***
Karma: 126
Posts: 8471
Scattered showers my arse -- Noah, 2348BC.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I like to use white or yellow for "signals", but AFAIK there are no general standards.

______
Rob
Logged

Rob Gray aka the GRAYnomad www.robgray.com

Left Coast, CA (USA)
Offline Offline
Brattain Member
*****
Karma: 361
Posts: 17259
Measurement changes behavior
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I like to use white or yellow for "signals", but AFAIK there are no general standards.

______
Rob


I agree that there is no 'official' standard for DC circuits. At the refinery I worked at for decades they used 50 twisted pair black and white cables for most all their instrumentation junction box wiring runs, to and from the field/control house runs. Their standard? Black was positive and white was negative on all the 24vdc pairs. Why black for + ? because they wanted to follow the electricians standard for 120vac runs where black is the 'hot' wire and white the neutral wire. Go figure.  smiley-grin

Lefty
Logged

Denver
Offline Offline
God Member
*****
Karma: 20
Posts: 778
Inactive - PM
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

For jumper wires I try to use YEL for clock, BLU for receive / data and GRN for transmit. This helps me with breadboards - particularly I2C and serial.
For hard wired boards I usually use CAT5 wires - orange = VCC, brown = gnd and others similar to the jumpers just mentioned.
Again no standard that I know of, but trying to be consistent might make troubleshooting easier. Whatever works best for you - usually a scheme that you can remember.
« Last Edit: March 06, 2011, 11:12:26 pm by BroHogan » Logged

"Data is not information, information is not knowledge, knowledge is not understanding, understanding is not wisdom."
~ Clifford Stoll

0
Offline Offline
Newbie
*
Karma: 0
Posts: 20
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thanks for the responses everyone. I'll come up with my own convention and go from there.
Logged

Pages: [1]   Go Up
Jump to: