But How Does It Really Work? (2 Part Series)
Modern electronics work by controlling the flow of electrons (hence electron-ics) through different bits of metallic and semiconducting materials. Electrons are small, negatively-charged particles which move around the dense, positively-charged nucleus of an atom. Some electrons, called valence electrons, are less "tightly held" by atoms because they orbit "further away"* from the nucleus, so the positive charge of the nucleus has a "weaker pull" on the negatively-charged valence electrons.
* This is a pretty drastic oversimplification, see this Khan Academy course if you're interested in learning more.
What makes a metallic material metallic is the fact that these valence electrons are so weakly bound to a particular atom that they end up being shared across the entire material. These shared electrons are known as conduction electrons. This is a particular form of atomic bonding called metallic bonding and it means that these conduction electrons are free to flow throughout the material.
We can make a nice analogy here between electricity and gravity. Suppose you have a smooth wooden table covered in marbles. If the table is level, then the marbles won't roll in any direction -- they'll stay put. But if we lift the table just a bit on one end, the marbles will slowly roll toward the other end of the table. If we lift the table higher on one end, the marbles will roll more quickly toward the other end.
If we replace the table's surface with a rougher material (maybe a lego-top table), the marbles will roll more slowly, bouncing off the rough parts of the table and making noise.
Now, instead of a table with marbles, suppose we have a piece of metal full of electrons. And instead of gravity, we'll be using electric potential (voltage). If the voltages at both ends of the piece of metal are equal, the electrons will not -- on average -- move in any particular direction. But if we apply a small negative voltage* to one end of the metal, the electrons will move toward the other end (because electrons are negatively charged and like charges repel). If we apply a greater negative voltage, the electrons will move more quickly toward the other end of the metal.
* "Applying a negative voltage" essentially means "adding more negatively-charged electrons". When we "apply a negative voltage" to one end of a metal, we cram more electrons into that space, which means they repel each other more, which means -- on average -- they move toward the other end of the metal.
There is also something to be learned about electrons flowing through metal from our rough, lego-top table covered in marbles. When our marbles encountered more resistance in trying to move from one end of the table to the other, it took longer for them to reach the other end. They spent more of their energy bouncing around and creating noise, rather than increasing their speed across the table. Electrons flowing through metal encounter a similar resistance -- they "collide" with the ions in the material (the atoms and their clouds of electrons). The energy that they're no longer spending moving forward is instead turned into heat and light. This is why electronics get hot and lightbulb filaments glow.
Resistance is affected by a lot of things. For wires in particular, longer wires have a higher resistance, because there's more material that an electron must travel through. Thinner wires have higher resistance, as well, because there are simply fewer electrons to carry the energy introduced by the voltage difference across the metal. Every material also has an inherent resistivity, which describes how much it resists the flow of electrons. Rubber and glass have very high resistivities -- they don't make good conductors. On the other end of the spectrum, metals like silver, copper, and aluminum have very low resistivities.
The temperature of a material also affects its resistivity. Why this is the case is difficult to explain without invoking quantum mechanics, but the result of this is a dangerous feedback loop which can lead to overheating. Metals offer some resistance to the movement of electrons, they heat up because of that resistance, which increases their resistivity, which causes them to heat up more, and so on. This is why modern electronics have fail-safe temperature triggers -- if your device gets too hot, it will refuse to work...
...it's also why we cool our devices with fans and heatsinks, and, in extreme conditions, with liquid coolants.
Thanks for reading!
You're one click away
Level up every day