Skip to content
Semillero
ARES

Electronics

Voltage divider

By David Toro

A voltage divider adjusts the voltage level of a signal. It is only used in very low-power circuits (0 to 25 V) and lets you connect resistive sensors such as:

  1. Photoresistors (LDR): their resistance changes with light.

    Figure 1. LDR photoresistor

  2. Thermistors (NTC): their resistance changes with temperature.

    Figure 2. NTC thermistor

  3. Force sensing resistors (FSR): their resistance changes with applied force.

    Figure 3. FSR force sensor

Figure 4 shows the voltage divider circuit.

Figure 4. Voltage divider

The output voltage and the resistance R1R_1 are calculated as:

vout=vin⋅R2R1+R2R1=R2⋅vin−voutvoutv_{out} = v_{in} \cdot \frac{R_2}{R_1 + R_2} \qquad R_1 = R_2 \cdot \frac{v_{in} - v_{out}}{v_{out}}

Example 1: divider with an LDR

An LDR has a resistance of 5000 Ω under certain lighting. It is connected in a voltage divider with a 10,000 Ω resistor at the bottom and a 5 V supply. What is the output voltage?

Figure 5. LDR resistance versus illuminance

Figure 6. Voltage divider with an LDR

Using the divider formula:

vout=5 V⋅10 000 Ω5000 Ω+10 000 Ω≈3.33 Vv_{out} = 5\,\mathrm{V} \cdot \frac{10\,000\,\Omega}{5000\,\Omega + 10\,000\,\Omega} \approx 3.33\,\mathrm{V}

Example 2: adapting a 12 V signal

A communication system produces a 12 V digital signal (0 V or 12 V). For a computer to read it without damage, it must be brought down to 5 V. Design a voltage divider.

Figure 7. Voltage divider for example 2

Choose a standard value for the second resistor, R2=1000 ΩR_2 = 1000\,\Omega, and solve for R1R_1:

R1=R2⋅vin−voutvout=1000 Ω⋅12 V−5 V5 V=1400 ΩR_1 = R_2 \cdot \frac{v_{in} - v_{out}}{v_{out}} = 1000\,\Omega \cdot \frac{12\,\mathrm{V} - 5\,\mathrm{V}}{5\,\mathrm{V}} = 1400\,\Omega

Translated from Spanish.