10

Does the color of jumper cables in a circuit matter?

I'm starting out with Arduino and can't get it to work at all with a breadboard! I'm thinking it's something simple like this!

I know Black is Negative and Red is positive, but what about green, blue, orange and white etc? Is it just to make the circuit clearer or does each color have a meaning?

Null
  • 7,448
  • 17
  • 36
  • 48
KidCode
  • 203
  • 1
  • 2
  • 6

5 Answers5

12

No, the colours don't matter. Using red for positive and black for negative is just a convention. It helps everybody understand the way the circuit is wired, but the current will flow just the same whatever colour the insulation is.

Now, you may find it helpful to devise your own colour-coding scheme. Maybe inputs to the Arduino are blue, and outputs are orange, something like that. Anything that helps you keep the wiring clear and organised will help.

Non-working Arduino breadboard circuits are usually caused by a wiring error. Be sure that you understand where the breadboard holes are connected, and where they're not. If you can, get someone else to check your wiring, because it's very common to miss something if you check it yourself.

John Honniball
  • 2,799
  • 11
  • 10
2

The color does not matter. It is only colored for organization like you said. Remember that the holes on the outside of the breadboard are connected vertically, and that the ones in the middle are connected horizontally. Good luck!

Sergei_Grishin
  • 366
  • 1
  • 6
1

The wire colour is just an aid to help you keep track of what is connected to which, and will have no effect on the operation of the circuit. You can even use red for ground and black for positive if you wish.

In North American house wiring black is hot, white is neutral and green is safety ground.

Peter Bennett
  • 57,014
  • 1
  • 48
  • 127
1

It doesn't matter to the electrons. It does matter to you. Adopting a convention for the various colors can help you determine circuit functionality at a glance and aid diagnosis of problems if/when they come up.

Ignacio Vazquez-Abrams
  • 48,282
  • 4
  • 73
  • 102
1

For a simple circuit the color of the jumper cables may not be that crucial. But when you deal with big complicated circuit you may have problem in tracing out your errors. It is always a good practice to connect the cables or jumpers according to color code. Thus if your project is handed over to another person, he/she may know how to trace out the connection.