In our previous lessons, we established the fundamental laws governing DC circuits: Ohm's Law, Kirchhoff's Voltage Law (KVL), and Kirchhoff's Current Law (KCL). These laws are the bedrock of circuit analysis. Now, we will shift from abstract laws to one of the most common and useful circuit patterns built upon them: the voltage divider.
This simple arrangement of two resistors is ubiquitous in electronics, especially in the robotics and IoT systems you're interested in. It's the primary method for scaling down a voltage to create a reference, reading the state of a variable sensor, or making signals from different components compatible. Understanding it is a key step from basic theory to practical design.
Today, you will learn how to design and analyze a voltage divider circuit, including deriving its governing equation and, crucially, understanding its practical limitations.
What is a Voltage Divider?
At its heart, a voltage divider does exactly what its name implies: it takes an input voltage and produces a lower output voltage. The circuit consists of two resistors, and , connected in series across an input voltage source, . The output voltage, , is taken from the point between the two resistors.
This article from SparkFun provides a clear introduction to the concept and the basic circuit layout.
Please read the short Introduction and then the section titled "Ideal Voltage Divider," focusing on The Circuit part. Pay attention to the various ways the same circuit can be drawn in schematics.
The key insight is that because the resistors are in series, the same current flows through both. Based on Ohm's law, this current creates a voltage drop across each resistor. Since KVL tells us the sum of these voltage drops must equal the input voltage, the resistors effectively "divide" the total voltage between them.
The Voltage Divider Equation
To analyze or design a voltage divider, we use a simple formula that relates the output voltage to the input voltage and the resistor values. Given your interest in foundational principles, let's derive this equation from the laws you already know.
The derivation combines Ohm's Law with the formula for resistors in series:
- The two resistors are in series, so their total resistance is .
- Using Ohm's Law, the total current flowing through the series circuit is .
- The output voltage is the voltage drop across resistor . Applying Ohm's Law to just , we get .
- Finally, we substitute the expression for from step 2 into step 3:
Rearranging this gives us the standard voltage divider equation:
This equation shows that is a fraction of , determined by the ratio of the "bottom" resistor () to the total resistance.
The "Extra Credit: Proof" section in the SparkFun article walks through this same derivation with helpful diagrams.
To solidify your understanding, please read the section "Extra Credit: Proof". Following this logical derivation will reinforce how the fundamental laws combine to produce this practical formula.
Analyzing a Voltage Divider
With the formula in hand, analyzing a voltage divider is a matter of substitution.

The following video provides a concise walkthrough of a similar calculation.
Voltage Divider Circuit Explained!
This video from The Organic Chemistry Tutor begins with a basic analysis of a voltage divider circuit.
Watch the first segment, the calculation, where the presenter first finds the voltage using Ohm's Law and then confirms it with the voltage divider formula. This reinforces that the formula is just a convenient shortcut derived from the basic laws.
Practical Applications for Robotics and IoT
Voltage dividers are not just a textbook exercise; they are essential for making different electronic parts work together. Here are two key applications you will encounter constantly when building robotics or IoT devices.
- Reading Resistive Sensors: Many sensors, such as photocells (Light Dependent Resistors - LDRs), thermistors (temperature-sensitive resistors), and flex sensors, work by changing their resistance in response to the environment. A microcontroller cannot directly measure resistance, but it can easily measure voltage using its Analog-to-Digital Converter (ADC). By placing a resistive sensor as in a voltage divider with a fixed , the sensor's change in resistance is converted into a change in voltage at , which the microcontroller can then read.

- Logic Level Shifting: It is common to interface components that operate at different voltages. For example, you might have a 5V Arduino microcontroller trying to communicate with a sensor that is only tolerant of 3.3V. Sending a 5V signal directly to the sensor could damage it. A simple voltage divider can be used to scale the 5V signal down to a safe 3.3V.
The "Applications" section of the SparkFun article details these use cases and more.
Please read the entire "Applications" section. Pay special attention to the examples on "Reading Resistive Sensors" and "Level Shifting," as these are directly relevant to your goals.
A Critical Limitation: The Loading Effect
The voltage divider equation we derived works perfectly for an unloaded divider—that is, when nothing is connected to . However, as soon as you connect a component (a "load") to the output, the behavior of the circuit changes. This is one of the most important practical concepts in introductory electronics.
Any component you connect will have its own internal resistance, which we can call . When connected to , this load resistance appears in parallel with . The parallel combination results in a new, lower equivalent resistance for the bottom leg of the divider. This change in the resistance ratio causes the output voltage to drop.
The new output voltage can be found by first calculating the equivalent resistance of and in parallel:
And then using this in place of in the voltage divider formula:
Because of this "loading effect," a voltage divider should not be used as a power supply for components that draw significant current (like motors or high-power LEDs). It is only suitable for providing a reference voltage to a high-impedance input, like a microcontroller's ADC pin or an op-amp input, which draw negligible current.
A good rule of thumb is that the load resistance should be at least 100 times greater than to keep the output voltage stable.
Voltage Divider Circuit Explained!
This segment of the video provides an excellent, detailed explanation of the loading effect with clear, step-by-step calculations.
Please watch these crucial segments: The effect of a load. This part demonstrates how connecting a device with a 1 kΩ resistance significantly drops the output voltage and walks through the calculation. The importance of load resistance. Here, the presenter shows that if the load resistance is much higher (10 kΩ), the voltage drop is much smaller, leading to a rule of thumb for designing stable dividers.
Designing a Voltage Divider
Now, let's reverse the process. Designing a voltage divider involves choosing resistor values to achieve a desired output voltage.
Suppose you need to create a 3.3V signal from a 5V source for level shifting.
-
Set the Ratio:
This simplifies to .
-
Choose Resistor Magnitudes: We have one equation and two unknowns, giving us a degree of freedom. We can choose a value for one resistor and calculate the other. The choice of magnitude is a trade-off:
- Too Low (e.g., in the 10s of ohms): The resistors will draw a large current from the source (), wasting power and potentially overheating.
- Too High (e.g., in the mega-ohms): The current will be very small. This makes the divider very susceptible to the loading effect, as even the tiny input current of a microcontroller pin might be enough to alter the voltage.
A good practice for signal-level dividers is to keep the total resistance in the range of 1 kΩ to 100 kΩ.
-
Select Standard Values: Resistors are only manufactured in standard values (e.g., 1k, 2.2k, 4.7k). You must choose the closest available values that approximate your desired ratio.
For our example (), let's pick a standard value for , say 10 kΩ.
Then . The closest standard value is 5.1 kΩ.Let's check the output with these standard values:
This is very close to our target and perfectly acceptable for level shifting.
Conclusion
You have now analyzed one of the most fundamental building blocks in electronics. It's a simple circuit, but one with important nuances that are critical for practical success.
Key Takeaways:
- A voltage divider uses two series resistors to produce an output voltage () that is a fraction of the input voltage ().
- The governing equation is .
- Common applications include reading resistive sensors and performing logic level shifting, both essential tasks in robotics and IoT.
- The loading effect causes the output voltage to drop when a load is connected. Therefore, voltage dividers should only be used to provide a signal to high-impedance inputs, not to power components.
- When designing, choose resistor values that are high enough to limit power waste but low enough to be insensitive to small load currents. A range of 1 kΩ to 100 kΩ is a good starting point.
In our next lesson, we will formalize the analysis of the loading effect by introducing Thévenin's Theorem. This powerful theorem allows you to simplify any complex linear circuit—like our loaded voltage divider—into an equivalent simple circuit, making it much easier to predict how it will behave when connected to other components.