(I’m attempting to follow Vilros Ultimate Starter Kit Guide, Circuit #1)
Maybe I’m missing something but the guide book doesn’t really seem to be teaching me anything about what I just connected. I’m having some trouble finding the right info online as well. I’m sure these are super basic questions, but I really don’t know why things work the way they are (and to stress, I DO have it working). I’ll summarize what I’ve done in case people here aren’t familiar with the guidebook:
After uploading a program to the Arduino Uno to flash pin 13, I’ve wired pin 13 to breadboard e2, inserted a light at c2, c3, then have a 330 ohm resistor at a3, negative column, then a wire from negative column to GND on the Arduino. In addition to this, I’ve a wire from the 5v pin on the Arduino to the positive column on the breadboard. This gives me a flashing light and the example is concluded.
What I want to know is:
-
My understanding is that electricity flows in a circuit (which is a loop) from the negative terminal (pin 13?) to the positive terminal (5v pin?). However, the 5v pin is only connected to the positive column on the breadboard, and that isn’t connected to anything at all. In fact, I can remove the 5v to breadboard+ wire altogether and everything keeps working (which sort of makes sense since nothing was connected after that anyway). The guide’s schematic doesn’t even show a loop. It shows pin 13 → LED → Resistor → GND. No loop, so something isn’t making sense to me. Why don’t I need a loop to make this work, and why did they have me put in a pointless (to me anyway) wire?
-
I don’t think I fully understand the ground concept either. It’s kind of just a big endpoint for electricity to travel to, but in the case of a flashlight, where power flows from battery -, to light, to battery +, is the battery it’s own ground? Is the + terminal the same thing as ground? That can’t be right because if I connect 5v to the negative column, things turn off. (I imagine bad things would be happening if I were messing with something of higher voltage lol)
-
Finally, the resistor. Do they slow the entire circuit down simply by being present at any point in the circuit, or is there an order of operations kind of thing? In my mind, The flow would have hit the LED first, then the resistor, at which point the flow would be lessened. But I guess the chokepoint it creates would have the whole thing slowed down behind it just like rush hour? Maybe I just answered my own question, but I still wonder why the resistor came AFTER the LED. The purpose was to keep the light from burning out from too much energy, but wouldn’t you want to put the resistor before the LED, even if “traffic” were to buildup quickly after it hit the resistor later on? Maybe it’s a negligible thing, but am I at least thinking along the right lines?