What is a Voltage Divider?
A voltage divider is a simple passive linear circuit that produces an output voltage (Vout) that is a fraction of its input voltage (Vin). It is constructed using two resistors (or other impedances) connected in series.
This circuit is fundamental to electronics. Whether you are biasing a transistor, reading a sensor with an Arduino, or setting a reference level for an Op-Amp, you are likely using the voltage divider rule. It allows engineers to step down a high voltage to a lower, usable level using just two components.
How to Calculate Voltage Drop (The Formula)
The voltage divider formula is derived directly from Ohm's Law (V=IR). In a series circuit, the current is constant, so the voltage is dropped across each resistor proportional to its resistance.
Unloaded Voltage Divider Formula
When no external load is connected to the output, the calculation is straightforward:
Vout = Vin × [ R2 / (R1 + R2) ]
Where:
- Vin: Source Voltage
- R1: Upper Resistor (connected to Vin)
- R2: Lower Resistor (connected to Ground)
Loaded Voltage Divider
When you connect a load (RL) across R2 (e.g., plugging in a sensor), it acts in parallel with R2. This lowers the effective resistance of the bottom half, causing the output voltage to drop. This is a common pitfall called the "loading effect."
Req = (R2 × RL) / (R2 + RL)
Vout(loaded) = Vin × [ Req / (R1 + Req) ]
Practical Applications
Voltage dividers are used everywhere in analog and digital electronics:
- Sensor Reading: Resistive sensors like LDRs (Light Dependent Resistors) or Thermistors change resistance with the environment. By placing them in a voltage divider, a microcontroller can read the changing voltage to measure light or temperature.
- Level Shifting: Interfacing a 5V sensor with a 3.3V logic microcontroller (like an ESP32 or Raspberry Pi) requires stepping down the signal voltage to avoid damaging the pin.
- Potentiometers: A volume knob is essentially a variable voltage divider that adjusts the signal level fed into an amplifier.
FAQ
How to calculate voltage drop?
To calculate the voltage drop across a specific resistor in a series circuit, use the formula: Vdrop = Vtotal × (R / Rtotal). Alternatively, if you know the current, subtract V_out from V_in to find the drop across the first resistor (R1).
Does the load affect Vout?
Yes, significantly. Any load connected to the output is electrically in parallel with the bottom resistor (R2). This reduces the total resistance between the output node and ground, pulling the voltage down. To minimize this, the load resistance should be at least 10x larger than R2.
Can I use a voltage divider as a power supply?
No. Voltage dividers are very inefficient for power delivery. The resistors dissipate power as heat (I²R losses), and the output voltage will sag heavily if the load draws varying amounts of current. Use a linear regulator (like an LM317) or a buck converter for power supplies.