AI Tutor
Imagine an environmental sensor whose resistance plummets from 50Β kΞ©50\text{ k}\Omega in the dark down to 2Β kΞ©2\text{ k}\Omega in bright sunlight. How do you turn that resistance change into the largest possible voltage difference for an analog-to-digital converter to measure?
A microcontroller cannot read raw resistance directly β€” it measures voltage. To bridge that gap, we place the transducer inside a voltage divider network.

The Voltage Divider Foundation

A potential divider is a series circuit of two resistances that splits a supply voltage (VSV_S) proportionally across each component. The voltage across the lower component (R2R_2) is given by the ratio of R2R_2 to the total circuit resistance: Vout=VSβ‹…R2R1+R2V_{out} = V_S \cdot \frac{R_2}{R_1 + R_2}
When one of those resistors is a sensor, its resistance changes with temperature or light, causing VoutV_{out} to shift up and down. But what fixed resistor value will produce the widest possible gap between the minimum and maximum output voltages?

Maximizing the Voltage Swing

The voltage swing (denoted Ξ”Vout\Delta V_{out}) is the absolute difference between the output voltage at the sensor's minimum resistance (RminR_{min}) and maximum resistance (RmaxR_{max}). In the 1840s, British physicist Charles Wheatstone popularized balanced resistive networks to maximize measurement sensitivity, establishing the mathematical principle behind this optimization.
To achieve the maximum possible voltage swing Ξ”Vout\Delta V_{out}, the fixed series resistor RR must equal the geometric mean of the sensor's boundary resistances: R=Rminβ‹…RmaxR = \sqrt{R_{min} \cdot R_{max}}
Why does the geometric mean work? Differentiating the voltage swing equation with respect to RR and setting the derivative to zero yields R2=Rminβ‹…RmaxR^2 = R_{min} \cdot R_{max}, proving that matching the geometric center produces symmetrical loading.
How do we apply this formula to design an actual light-sensing circuit from scratch?

Step-by-Step Worked Design