user13592: I'm new to the arduino and to EE in general. I've built the basic examples and a, now trying to get a deeper understanding of what the physics is doing. As such, I'd like some help in understanding the diagram here:
https://www.arduino.cc/en/Tutorial/Blink
Question 1:
Specifically,it seems that the flow is going from Pin 13 to Ground. Is the diagram using the conventional flow or the electron flow approach. 
Specifically, is it the electrons flowing from Pin 13 to ground or does the diagram show protons flowing? It seems that its showing the electron flow as the diagram has the anode attached to the resistor so the electrons flow from the pin to the resistor to the positive end (anode) of the LED.
Question 2:
This is about bread boards, like one shown here:
https://www.google.com/search?q=arduino+breadboard&biw=1696&bih=988&tbm=isch&tbo=u&source=univ&sa=X&ved=0CFEQsARqFQoTCIjsw5WhkMgCFdWYiAodttcKIw#tbm=isch&q=breadboard&imgrc=KwnTrtjnYJdB1M%3A
1) Would I connect Pin 13 (or say the 5V pin) to the + (the red line). Then I would connect the blue line (the -) to the ground on the arduino? Do I need to connect the blue line? 
2) Also, is it again the electron flow notation so that from Pin 13, the electrons flow to the + (red), then to one of the lettered columns and then to whatever component I have?
Thank you for your help! I realize these are basic questions but I want to go a little beyond building the examples and start trying things out myself. As such I want to make sure I'm getting the theory behind it right!

user10794: Protons don't flow. They are part of the atom nucleus. If they flowed the copper wire would be flowing. Electrons are what flow, particularly if there are some free ones hanging around, like teenagers hanging around a mall.
You don't need to worry about that however. Most people think of current as flowing from positive to negative (ie. pin 13 to ground) even if in fact the electrons are flowing from ground to pin 13.
See Conventional Versus Electron Flow. I quote:

When Benjamin Franklin made his conjecture regarding the direction of charge flow (from the smooth wax to the rough wool), he set a precedent for electrical notation that exists to this day, despite the fact that we know electrons are the constituent units of charge, and that they are displaced from the wool to the wax—not from the wax to the wool—when those two substances are rubbed together. This is why electrons are said to have a negative charge: because Franklin assumed electric charge moved in the opposite direction that it actually does, and so objects he called “negative” (representing a deficiency of charge) actually have a surplus of electrons.
By the time the true direction of electron flow was discovered, the nomenclature of “positive” and “negative” had already been so well established in the scientific community that no effort was made to change it, although calling electrons “positive” would make more sense in referring to “excess” charge. You see, the terms “positive” and “negative” are human inventions, and as such have no absolute meaning beyond our own conventions of language and scientific description. Franklin could have just as easily referred to a surplus of charge as “black” and a deficiency as “white,” in which case scientists would speak of electrons having a “white” charge (assuming the same incorrect conjecture of charge position between wax and wool).

Quote courtesy of Design Science under this license.


Would I connect Pin 13 (or say the 5V pin) to the + (the red line). Then I would connect the blue line (the -) to the ground on the arduino? Do I need to connect the blue line?

When using a breadboard I connect the 5V pin to the red line, the Gnd pin to the blue line, and other things (signals) to the internal (numbered) holes. The internal ones are connected cross-ways, so that is useful, for example, to put a series resistor for the LED there.
I trust you are using a resistor for the LED, if not you might damage both the LED and the Arduino. See The care and feeding of LEDs.

user368: It doesn't matter whether you use conventional current or electron current to describe a circuit; in the end they give the same results.
Protons are not a charge carrier in 99.99999% of circuits; positive charge carriers are the quasiparticles known as holes, but they only flow in semiconductors.
The power rails on a breadboard should be used for power only, never signals. It is possible to use them for other things, and it is possible to not use them at all, but when they are used they should only be used for supply in order to cause the least confusion.

user4143: The thing to remember about electrons is they are a negative charge.  That means that the direction of current flow (positive charge) is opposite to the direction of flow of the actual electrons (negative charge). Picture it like those "compression jams" you get on the motorway (freeway) where cars that are travelling too close together have to slam their breaks on to avoid running into each other.  The one at the front slams its breaks on briefly then carries on. The one behind has to do the same, and so on and so forth.  You then get a wave effect travelling in the opposite direction to the direction of travel of cars as they slam their breaks on in turn.  The cars are moving forwards, but the compression jam is moving backwards.  Similar in a circuit - the electrons are moving forward, but the charge is moving backwards. 
Another way to visualize it is as a bubble in a pipe of stationary water.  The bubble moves in one direction, but in order for it to do that the water has to flow past the bubble in the opposite direction.*
So the current flows out of pin 13 through the LED and to ground, but the electrons themselves are actually flowing from ground through the LED and in to pin 13 (where they eventually return back to ground through the power supply).
For how the IO pin works it's best to picture it as a pair of switches - one connected to Vcc and one connected to GND.  For instance, this is the LED wired up with the IO pin set to HIGH:

You can see that S1, being on, forms a circuit between the battery and the LED to allow the current to flow.
When the IO pin is set to LOW the circuit looks a bit like this:

You see that S1 is now turned off, and S2 is turned on.  the connection from that battery is now broken, and current can't flow.
But, you ask, what is the point of S2 here? It doesn't actually do anything.  No, not in that circuit it doesn't. But consider if you re-arrange the circuit to be like this:

Now it's S2 that is controlling the connection to the battery.  S1 is now the redundant switch.
This leads to some terminology.
When S1 is closed the IO pin is said to source current since it is pretty much connected directly to the positive power source.
When S2 is closed instead the IO pin is said to sink current since it is connected to ground, so current can "sink" down to ground through it.
As far as breadboards are concerned - they are just collections of metal strips that are used to join wires and component leads together in whatever way you need to.  There is no one part of it that is any different to any other, and there is nothing that says you must use this bit in a certain way, or that bit in another way.
Your typical breadboard has sprung metal clips that are arranged in this pattern:

You can use any collection of holes for any purpose you choose.
That said, normally the blue (or black) marked line of holes down each side is used for ground, and the red line of holes is used for power.  As both sides of the board are separate it is possible to use different voltages on each side, or the same voltage on both sides, etc.  That can be especially useful when you're working on a circuit that has, say, +3.3V and +5V in it.  Another common split usage is for a positive voltage on one side and a negative voltage on the other - common when working with op-amps.  Just remember which is which.

* This is a complete lie, but it's as close as you need to know at this point in your education. https://en.wikipedia.org/wiki/Lie-to-children

13592: <p>I'm new to the arduino and to EE in general. I've built the basic examples and a, now trying to get a deeper understanding of what the physics is doing. As such, I'd like some help in understanding the diagram here:</p>

<p><a href="https://www.arduino.cc/en/Tutorial/Blink" rel="nofollow">https://www.arduino.cc/en/Tutorial/Blink</a></p>

<p><strong>Question 1:</strong></p>

<p>Specifically,it seems that the flow is going from Pin 13 to Ground. Is the diagram using the conventional flow or the electron flow approach. </p>

<p>Specifically, is it the <em>electrons</em> flowing from Pin 13 to ground or does the diagram show protons flowing? It seems that its showing the electron flow as the diagram has the anode attached to the resistor so the electrons flow from the pin to the resistor to the positive end (anode) of the LED.</p>

<p><strong>Question 2:</strong>
This is about bread boards, like one shown here:</p>

<p><a href="https://www.google.com/search?q=arduino+breadboard&amp;biw=1696&amp;bih=988&amp;tbm=isch&amp;tbo=u&amp;source=univ&amp;sa=X&amp;ved=0CFEQsARqFQoTCIjsw5WhkMgCFdWYiAodttcKIw#tbm=isch&amp;q=breadboard&amp;imgrc=KwnTrtjnYJdB1M%3A" rel="nofollow">https://www.google.com/search?q=arduino+breadboard&amp;biw=1696&amp;bih=988&amp;tbm=isch&amp;tbo=u&amp;source=univ&amp;sa=X&amp;ved=0CFEQsARqFQoTCIjsw5WhkMgCFdWYiAodttcKIw#tbm=isch&amp;q=breadboard&amp;imgrc=KwnTrtjnYJdB1M%3A</a></p>

<p>1) Would I connect Pin 13 (or say the 5V pin) to the + (the red line). Then I would connect the blue line (the -) to the ground on the arduino? Do I need to connect the blue line? </p>

<p>2) Also, is it again the electron flow notation so that from Pin 13, the electrons flow to the + (red), then to one of the lettered columns and then to whatever component I have?</p>

<p>Thank you for your help! I realize these are basic questions but I want to go a little beyond building the examples and start trying things out myself. As such I want to make sure I'm getting the theory behind it right!</p>
 10794: <p>Protons don't flow. They are part of the atom nucleus. If they flowed the copper wire would be flowing. Electrons are what flow, particularly if there are some free ones hanging around, like teenagers hanging around a mall.</p>
<p>You don't need to worry about that however. Most people think of current as flowing from positive to negative (ie. pin 13 to ground) even if in fact the electrons are flowing from ground to pin 13.</p>
<p>See <a href="http://www.allaboutcircuits.com/textbook/direct-current/chpt-1/conventional-versus-electron-flow/" rel="nofollow noreferrer">Conventional Versus Electron Flow</a>. I quote:</p>
<blockquote>
<p>When Benjamin Franklin made his conjecture regarding the direction of charge flow (from the smooth wax to the rough wool), he set a precedent for electrical notation that exists to this day, despite the fact that we know electrons are the constituent units of charge, and that they are displaced from the wool to the wax—not from the wax to the wool—when those two substances are rubbed together. This is why electrons are said to have a negative charge: because Franklin assumed electric charge moved in the opposite direction that it actually does, and so objects he called “negative” (representing a deficiency of charge) actually have a surplus of electrons.</p>
<p>By the time the true direction of electron flow was discovered, the nomenclature of “positive” and “negative” had already been so well established in the scientific community that no effort was made to change it, although calling electrons “positive” would make more sense in referring to “excess” charge. You see, the terms “positive” and “negative” are human inventions, and as such have no absolute meaning beyond our own conventions of language and scientific description. Franklin could have just as easily referred to a surplus of charge as “black” and a deficiency as “white,” in which case scientists would speak of electrons having a “white” charge (assuming the same incorrect conjecture of charge position between wax and wool).</p>
</blockquote>
<p>Quote courtesy of Design Science under <a href="https://www.gnu.org/licenses/dsl.html" rel="nofollow noreferrer">this license</a>.</p>
<hr />
<blockquote>
<p>Would I connect Pin 13 (or say the 5V pin) to the + (the red line). Then I would connect the blue line (the -) to the ground on the arduino? Do I need to connect the blue line?</p>
</blockquote>
<p>When using a breadboard I connect the 5V pin to the red line, the Gnd pin to the blue line, and other things (signals) to the internal (numbered) holes. The internal ones are connected cross-ways, so that is useful, for example, to put a series resistor for the LED there.</p>
<p>I trust you are using a resistor for the LED, if not you might damage both the LED and the Arduino. See <a href="http://www.thebox.myzen.co.uk/Tutorial/LEDs.html" rel="nofollow noreferrer">The care and feeding of LEDs</a>.</p>
 368: <p>It doesn't matter whether you use conventional current or electron current to describe a circuit; in the end they give the same results.</p>

<p>Protons are not a charge carrier in 99.99999% of circuits; positive charge carriers are the quasiparticles known as <a href="https://en.wikipedia.org/wiki/Electron_hole" rel="nofollow"><strong>holes</strong></a>, but they only flow in semiconductors.</p>

<p>The power rails on a breadboard should be used for power only, never signals. It is possible to use them for other things, and it is possible to not use them at all, but when they are used they should only be used for supply in order to cause the least confusion.</p>
 4143: <p>The thing to remember about electrons is they are a negative charge.  That means that the direction of current flow (positive charge) is opposite to the direction of flow of the actual electrons (negative charge). Picture it like those "compression jams" you get on the motorway (freeway) where cars that are travelling too close together have to slam their breaks on to avoid running into each other.  The one at the front slams its breaks on briefly then carries on. The one behind has to do the same, and so on and so forth.  You then get a wave effect travelling in the opposite direction to the direction of travel of cars as they slam their breaks on in turn.  The cars are moving forwards, but the compression jam is moving backwards.  Similar in a circuit - the electrons are moving forward, but the charge is moving backwards. </p>

<p>Another way to visualize it is as a bubble in a pipe of stationary water.  The bubble moves in one direction, but in order for it to do that the water has to flow past the bubble in the opposite direction.<sup>*</sup></p>

<p>So the current flows out of pin 13 through the LED and to ground, but the electrons themselves are actually flowing from ground through the LED and in to pin 13 (where they eventually return back to ground through the power supply).</p>

<p>For how the IO pin works it's best to picture it as a pair of switches - one connected to Vcc and one connected to GND.  For instance, this is the LED wired up with the IO pin set to HIGH:</p>

<p><a href="https://i.stack.imgur.com/gWOUn.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/gWOUn.png" alt="enter image description here"></a></p>

<p>You can see that S1, being on, forms a circuit between the battery and the LED to allow the current to flow.</p>

<p>When the IO pin is set to LOW the circuit looks a bit like this:</p>

<p><a href="https://i.stack.imgur.com/Atfxx.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Atfxx.png" alt="enter image description here"></a></p>

<p>You see that S1 is now turned off, and S2 is turned on.  the connection from that battery is now broken, and current can't flow.</p>

<p>But, you ask, what is the point of S2 here? It doesn't actually do anything.  No, not in that circuit it doesn't. But consider if you re-arrange the circuit to be like this:</p>

<p><a href="https://i.stack.imgur.com/uaV1O.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/uaV1O.png" alt="enter image description here"></a></p>

<p>Now it's S2 that is controlling the connection to the battery.  S1 is now the redundant switch.</p>

<p>This leads to some terminology.</p>

<p>When S1 is closed the IO pin is said to <em>source</em> current since it is pretty much connected directly to the positive power source.</p>

<p>When S2 is closed instead the IO pin is said to <em>sink</em> current since it is connected to ground, so current can "sink" down to ground through it.</p>

<p>As far as breadboards are concerned - they are just collections of metal strips that are used to join wires and component leads together in whatever way you need to.  There is no one part of it that is any different to any other, and there is nothing that says you must use this bit in a certain way, or that bit in another way.</p>

<p>Your typical breadboard has sprung metal clips that are arranged in this pattern:</p>

<p><a href="https://i.stack.imgur.com/u220p.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/u220p.png" alt="enter image description here"></a></p>

<p>You can use any collection of holes for any purpose you choose.</p>

<p>That said, normally the blue (or black) marked line of holes down each side is used for ground, and the red line of holes is used for power.  As both sides of the board are separate it is possible to use different voltages on each side, or the same voltage on both sides, etc.  That can be especially useful when you're working on a circuit that has, say, +3.3V and +5V in it.  Another common split usage is for a positive voltage on one side and a negative voltage on the other - common when working with op-amps.  Just remember which is which.</p>

<hr>

<p><sup>*</sup> This is a complete lie, but it's as close as you need to know at this point in your education. <a href="https://en.wikipedia.org/wiki/Lie-to-children" rel="nofollow noreferrer">https://en.wikipedia.org/wiki/Lie-to-children</a></p>
