-
Wire Color Codes
Posted by
jsi
on 11 Mar, 2016 23:31
-
I've done a fair bit of household wiring (USA building codes if that matters) and I was taught to never use the black wire for anything but power. (except for the exceptions
) Now my new hobby in low voltage electronics is making me a bit crazy because black seems to be the standard for ground. Is there a standard for wire colors in low voltage stuff the same way there is for the mains?
(I'll get over it, but everytime I connect a black wire to ground I have to think really hard, this is OK, this is OK.)
-
#1 Reply
Posted by
dom0
on 11 Mar, 2016 23:33
-
No
-
#2 Reply
Posted by
liquibyte
on 11 Mar, 2016 23:56
-
I always use red for positive and black for negative and green for ground with exceptions. If I want to wire an off board transistor for instance, I use black for the collector, red for the emitter, and green for the base. There is no standard that I'm aware of so it boils down to preference or even what you have on hand for that matter.
-
-
No
+1
Where possible, you could twist live and neutral together. This would aid identification and reduce EM fields generated by the mains current. Otherwise, keep a clear head and double and triple check your wiring!
-
#4 Reply
Posted by
Brumby
on 12 Mar, 2016 00:46
-
I always use red for positive and black for negative and green for ground ...
I tend to follow this basic approach - with using yellow as a higher supply voltage (blame my exposure to computer PSUs).
Mains wiring in Australia used to be Red (active) Black (Neutral) and Green (earth), but now we use the Brown/Blue/Green with Yellow stripe.
The only other practice I like to follow is when using flat rainbow cable, to follow some logical mapping of the colours to the numeric values associated with the resistor colour code. eg Data line 0, 1, 2, 3 ..... etc to black, brown, red, orange ....
But that's just one of my personal quirks.
-
#5 Reply
Posted by
Dinsdale
on 12 Mar, 2016 04:26
-
PCs are "low voltage". Most power supplies in that application have settled on a standard. I try to follow that.
I'm trying to locate the "Bomber's Color Code". You know, "Cut the red wire... No, No, the yellow wire,
the yellow wire!"
-
-
The North American standard for power where white = neutral and "hot" is black (or red or blue or orange, etc.) isn't all that intuitive. But, honestly, why the Europeans chose blue for "neutral" and brown for "hot" is even more bizarre and arbitrary, IME. Even as I write this I wouldn't bet my life that is correct because it just seems so completely random.
For DC power wiring inside gear, my standard is black for common, and red for the primary positive rail. While violet is the primary negative rail.
Other positive voltages can be yellow, orange, etc, while other negative power rails can be blue, gray, etc.
Green is reserved for chassis ground, mains safety ground, etc.
-
#7 Reply
Posted by
bills
on 12 Mar, 2016 04:45
-
I use white, black ,green for AC.
red for + dc biack for - dc .
HV Same as AC.
hope this makes sense.
-
-
Look at a PC PSU - I believe it uses some sort of standard...
[2c]
-
#9 Reply
Posted by
Simon
on 12 Mar, 2016 07:14
-
No there is no standard although black seems to be fairly standard for negative which we tend to call ground in our circuits although it's not the same ground as earth ground. If you want real complication you can ask the Germans who decided to make brown negative and black positive which is really mad. I think a lot of people would probably follow power supply coding from computers and use red for positive and if there is more than one positive probably read for 5 V and yellow for 12 V or any other major high-voltage but that's just what I would do if I had a choice and had to make a decision. There is no code.
-
-
I have used yellow with a red stripe to indicate pos, and regular yellow for neg. I have also used White for everything, normally it just boils down to how much of what wire i found in a dumpster, and how much do i need for said project.
My homemade PSU, would drive anyone mad, cause i have colors cris crossing each other. if i was not the one who made it, i would not make head or tails of what was going on with it..
but for alot of low volts i have seen this. RED pos, Black Neg, Yellow or Green as Ground.. but for my PSU, the power brick, the 12v is yellow, and the 5v is red, black is ground, and blue is what i have to short red to, to get it to stay on, or use it as my switch.
-
#11 Reply
Posted by
miceuz
on 12 Mar, 2016 08:45
-
There is no standard, but It's a good practice to design your own and stick to it
For me it's like this:
red, orange - vcc
black - gnd
yellow - sck
blue - data coming from slave
green - data coming from master
etc
Makes debugging much easier
-
#12 Reply
Posted by
German_EE
on 12 Mar, 2016 08:52
-
My standard color scheme is:
Red +12V
Orange + Anything above 12V
Yellow + Anything below 12V
Green Audio
Blue -12V
Violet Power switch
Black Used for internal wiring
White Used for internal wiring
Brown Low voltage AC
Copper colored coax RF circuits
Black colored coax Audio circuits
Mains wires follow the standard European color code of blue/brown/green & yellow but are wrapped in either transparent heatshrink or plastic spiral wrap to differentiate them from standard voltages.
-
#13 Reply
Posted by
android
on 12 Mar, 2016 09:11
-
I always use orange for SCK ... easy way to remember: Clockwork Orange
-
-
no objective standard, typically red for hot, black for neutral, green for ground.
I use the standard:
reds (pink, red, orange) - power
blacks (black, dark green, dark blue, other dark?) - neutral
greens (green, yellow, beige) - ground
everything else (light blue, purple, white, others) is either data or to make it easier to debug - if it's ambiguous I mark it.
My wiring must be hard to read for colorblind people, I use all the colors I can get my hands on
-
#15 Reply
Posted by
dom0
on 12 Mar, 2016 12:44
-
The North American standard for power where white = neutral and "hot" is black (or red or blue or orange, etc.) isn't all that intuitive. But, honestly, why the Europeans chose blue for "neutral" and brown for "hot" is even more bizarre and arbitrary, IME. Even as I write this I wouldn't bet my life that is correct because it just seems so completely random.
Blue is neutral. Phases are brown, black and grey (in that order L1... L3). Doesn't matter for normal appliances, though, because you generally can't know which one is hot and which one is neutral.
I don't think there is any way to make these colours not arbitrary. Okay, "red" for "hot", maybe, but other than that...
-
#16 Reply
Posted by
Jeroen3
on 12 Mar, 2016 12:57
-
Most of the time I encounter this:
Ground - Green/Yellow. Not allowed to carry current.
Neutral - Blue.
Phase 1- Brown.
Phase 2- Black.
Phase 3- Grey.
If three phase, they come in pairs. Should be easy to recognize.
Switched phase - black.
Often you'll find just Blue and Black for 3 phase. The standards are not very strictly enforced. Could just be what cables are in discount that month.
Apart from ground, everyone uses the same for ground, green/yellow wire. Which is good.
But I've recently seen an installation using Blue, Brown-Grey-White for 3 Phase, removing the ambiguity of black. DC 24V was red/black. Other colors were sensing and signalling.
The first page of the schematic often tells you what color "standard" they used.
-
#17 Reply
Posted by
tooki
on 12 Mar, 2016 13:19
-
The North American standard for power where white = neutral and "hot" is black (or red or blue or orange, etc.) isn't all that intuitive. But, honestly, why the Europeans chose blue for "neutral" and brown for "hot" is even more bizarre and arbitrary, IME. Even as I write this I wouldn't bet my life that is correct because it just seems so completely random.
Blue is neutral. Phases are brown, black and grey (in that order L1... L3). Doesn't matter for normal appliances, though, because you generally can't know which one is hot and which one is neutral.
I don't think there is any way to make these colours not arbitrary.
I thought I read somewhere that those colors (blue/brown/black/gray plus striped green-yellow for ground) were chosen because they can be distinguished by people who are color-blind.
(That's also the reason the default color scheme in early versions of OS/2 was so hideous. It wasn't chosen for aesthetics.)
-
#18 Reply
Posted by
Zero999
on 12 Mar, 2016 15:06
-
-
#19 Reply
Posted by
Neilm
on 12 Mar, 2016 15:36
-
There is no standard for the colour of wiring inside appliances, whether it be AC or DC, regardless of the voltage.
Not quite true - IEC61010 specifies that earth is only on Green / Yellow wire, and the wire should not be used for anything that is not earth.
-
#20 Reply
Posted by
vk6zgo
on 13 Mar, 2016 01:24
-
There used to be one:-
http://wikibin.org/index2.php?option=com_content&do_pdf=1&id=8689I tend to use a modified version of this,with the highest DC +ve voltage ----Red,
The next highest --Orange
The one below that--Pink
All are "sort of" versions of Red
I can't ever remember us using Grey for Mains in Oz---usually it was whatever the power cable used to the power switch,then whatever the transformer primary was,after that.
PMG/Telecom Aust used Red & Black for their 24v supplies.
One place I worked decided it would be a wonderful idea to use Blue for +24v----go figure!
-
-
The plate pictured below is not one of mine and I only grabbed it for the rotary switch and sometimes you just have to deal with what the fellow that went before you did, in our industry we deal with a wide variety of multicore cables and there are some adopted practices but we never take it for granted that someone else does the same.
It might be the black wire ?.......
-
#22 Reply
Posted by
cs.dk
on 13 Mar, 2016 07:29
-
Yes,
It's always the black wire, when somethings wrong
From a day at work - 1x80 core + 1x25 core all black;
(Before dressing it up, and make it look nice)
-
#23 Reply
Posted by
PTR_1275
on 13 Mar, 2016 11:47
-
I work on caravans a lot here in Western Australia, we always use red is positive, black is negative. There are standard "other colours" for trailer plugs and wiring, but nothing further than that.
Some of the big van manufacturers are pains in the ass because they have adopted the American 110v wiring code for their 12 volt systems, therefore black is positive and white is negative. Because of this I never trust anything I work on, whether it be on the bench or in a van. I always check the polarity of anything I've not done myself within the last day.
-
#24 Reply
Posted by
cs.dk
on 13 Mar, 2016 15:08
-
I work on caravans a lot here in Western Australia, we always use red is positive, black is negative. There are standard "other colours" for trailer plugs and wiring, but nothing further than that.
Some of the big van manufacturers are pains in the ass because they have adopted the American 110v wiring code for their 12 volt systems, therefore black is positive and white is negative. Because of this I never trust anything I work on, whether it be on the bench or in a van. I always check the polarity of anything I've not done myself within the last day.
I agree.. Volvo trucks also uses white as negative. Every manufacturer does it their ways. Sad there isn't a standard.
In general on trucks or cars I use red as B+ (Kl.30), black or purple as Ign+ (Kl.15), brown for ground/chsssis, yellow (Kl.58) light, blue reverse-signal, green handbrake-signal.
On mains i have to follow the code; Blue for neutral, brown/grey/black for fases, and yellow/green for PE.. In some older Danish installations, red are PE