The LED-and-resistor setup from lesson 2: power supply, wire that fits inside power supply plug, alligator clip cables, 1kΩ resistor, LED
1kΩ resistor (part of the lesson 2 setup)
10kΩ resistor
A multimeter that can measure currents
TODO: picture
How to think about two-leg components
Note from Akuli:
As explained at the end of the previous lesson, whenever some current enters through one leg of a two-leg component, the same current exits out through the other leg. Therefore we talk about just one current when discussing two-leg components.
Akuli so, here's how to think about all 2-leg components in electronics: you connect some voltage to it, it consumes some current
Akuli voltage is like an input, current is what it does when it receives that input
adder OK.
Akuli how exactly the current is determined depends on the component
Akuli but all 2-leg components can be more or less described like this
adder OK.
Akuli as we learn about various 2-leg components, we will learn different possible relationships between voltage and current
Akuli basically, different ways how the components decide how much current to consume
adder OK.
What is resistance?
Akuli the simplest possible is a resistor
Akuli current is just a multiplication by a constant
Akuli current = voltage * constant
Akuli more voltage, more current linearly
Akuli push 2 times harder --> electrons move 2 times faster through it
adder OK.
Akuli this seems very straight-forward, and exactly what you'd expect
Akuli and indeed, it's very easy to make a resistor
Akuli just take a chunk of any material whatsoever and hook up wires to it, most likely you made a resistor
adder :)
Akuli the resistance may be unusably big or unusably small :)
Akuli but it is a resistor
Akuli ok?
adder OK.
Akuli so, what exactly is resistance?
Akuli it's actually the inverse of that constant
Akuli current = voltage / resistance
Akuli ok?
adder Wait...
adder V=IR
Akuli yeah
adder => I = V/R
Akuli :)
adder OK.
Akuli so, more resistance means you get less current
Akuli the naming should make sense
adder OK.
Akuli it is "resisting current flow"
Changing the resistor
Note from Akuli:
At this point, adder had the LED-and-resistor setup from lesson 2.
If I understood correctly, adder used a red LED in lesson 2, green LED in lesson 3, and both in this lesson.
Akuli let's see this in action
Akuli swap out the 1kΩ resistor for some other resistor with a bigger resistance
Akuli try 10kΩ for example
adder Getting around 0.6mA on a 10kOhm, but I took a different LED (red, previously green).
adder Makes sense.
Akuli try with the same LED too
Akuli it should be more dim now
adder Yeah, sure, but around the same value.
Akuli yeah
Akuli current is about the same
adder Yes.
Akuli let's measure some voltages to see what's going on
Akuli get rid of the current measuring for now (that is, revert back to how it was)
adder Revert circuit?
Akuli yes
Akuli it's often much easier to measure voltages than currents, so that's what we usually do in electronics
Akuli your measurements from last time were:
Akuli Measured voltage Value
Akuli Between the alligator clips 7.7V
Akuli Between LED legs 1.85V
Akuli Between resistor legs 5.85V
Akuli i'm curious to see how that changes with 10k instead of 1k
adder Doesn;t change.
Akuli yes!
Akuli it should actually change a tiny bit
Akuli voltage across LED legs should be slightly smaller with 10k than with 1k
adder I measured 1.9V across LED.
Akuli is this the green led?
adder Yep.
Akuli alright, so that's green with 1k?
Akuli or 10k?
adder 10k
Akuli and with 1k?
adder Well we measured it last time.
Akuli the color affects this too, unfortunately :D
Akuli different color LEDs consume a different voltage
Akuli but anyway, it is always around 2 volts
Akuli i think that's all we really care about
Akuli ok?
adder 2.077V
Akuli there we go :D
LED
Resistor
Measured current
LED voltage
Resistor voltage (calculated for 7.7V power supply)
red
1kΩ
?
1.85V
5.85V
red
10kΩ
0.6mA
?
?
green
1kΩ
5.6mA
2.1V (meter: 2.077V)
5.6V
green
10kΩ
0.6mA
1.9V
5.8V
Akuli so that tiny 0.1V change causes the LED to eat 10 times more current
Akuli went from 0.6mA to 6mA or something like that
Akuli ok?
adder OK.
Akuli (well, it's closer to 0.2V than 0.1V, but you get the idea)
adder So it eats up more current with a smaller resistor?
adder Obviously.
Akuli yes
LED behavior for a given input voltage
Akuli and the voltage consumed by LED raises, but by a surprisingly small amount
Akuli it's not like with resistors, 10 times more current through LED doesn't mean 10 times bigger voltage over LED
Akuli ok?
adder OK.
Akuli one way to look at this is that LEDs are very sensitive to the input voltage
Akuli give LED a tiny bit more input voltage, current changes by crazy amount
Akuli ok?
adder OK.
adder Diodes gonna diode.
Akuli yeah :)
Akuli the resistor basically smooths it all out
Akuli it's linear, so it's easy to reason about
Akuli ok?
Chained resistors = sum(resistance)?
adder Chained resistors = sum(resistance)?
Akuli yes, but we'll get there later (also depends on how you chain them)