diff --git a/05-photoresistors/README.md b/05-photoresistors/README.md new file mode 100644 index 0000000..e1bf596 --- /dev/null +++ b/05-photoresistors/README.md @@ -0,0 +1,26 @@ +# Photoresistors + +This is another analog to digital converter project using a photoresistor like I used a potentiometer in the last project. + +# Lessons Learned + +- Resistors in a circuit don't work the way I thought they did + +# Resistors + +I always thought resistors worked much like a hose reducer. Say you have a 2" hose with a 1 gallon per minute of water flowing through it. Now you reduce that hose to 1" with a 2" to 1" adapter. The orifice is physically 50% smaller so now you can only fit 50% as much matter through it in a given period of time. Electronics tutorials often use streams of water as an analogy for electrical current, and this makes easy sense. + +So when I looked at the circuit diagram, I wondered, "why are we measuring the voltage on te circuit UPSTREAM from the photoresistor?" Wouldn't it stand to reason that you would witness the impact of the resistor *downstream* of the resistor? For example it doesn't make sense to measure the impact of a `2" -> 1"` hose reducer on the `2"` side, right? + +The answer is because, as it turns out, if you take the measurement downstream of the photoresistor in this particular example, you will always read 0v. You will never see a change in the output voltage from the photoresistor. In order to see the impact of the photoresistor in the circuit, you need to measure upstream of the photoresistor. + +
