Wiring standards
Standardising how wires are supposed to be connected is an effective method of increasing the maintainability and safety of systems.
1. AC power (Europe) 🔗
- Brown: live
- Blue: neutral
- Green + yellow: ground
A good way to remember is that the brown lead shares colour with your underwear if you touch it. Blue can be likened to cold, analoguous to the negative in a balanced signal. Ground is not found in all installations. Of course, it is possible to swap live and neutral by just turning a plug around, so they should be treated with equal care.
2. DC power 🔗
- Red: positive
- Black: negative (ground)
3. RJ45 (ethernet) 🔗
RJ45 has two standards. Common for them is that they alternate striped and solid wires, starting with striped wires. The blue pair wires are always in the center, and enveloped by another colour. Brown is always the last colour. This leaves the green and yellow pairs as the only difference.
For a lone cable, the same standard should be used in both ends. It doesn't really matter which standard is used. However, for wiring inside a building where connectors may be replaced in the future, it is important to make sure to consistently use the same standard to avoid creating crossover cables where not intended. T568-B is preferred if the A variant is not already in use.
3.1. T568-A 🔗
- Striped green + white
- Solid green
- Striped yellow + white
- Solid blue
- Striped blue + white
- Solid yellow
- Striped brown + white
- Solid brown
3.2. T568-B 🔗
- Striped yellow + white
- Solid yellow
- Striped green + white
- Solid blue
- Striped blue + white
- Solid green
- Striped brown + white
- Solid brown
4. Balanced audio 🔗
Balanced audio uses a positive signal, its negative opposite, and a ground. The colours used for positive and negative are usually red and blue, respectively. You can think of them as hot and cold. The ground is usually the bare copper sleeve.
Phantom power may be transmitted over the negative, usually as +48V DC.
4.1. TRS (tele jacks) 🔗
- Tip: positive
- Ring: negative
- Sleeve: ground
4.2. XLR 🔗
- Ground
- Positive
- Negative