2.1.7. Exercise: Resistor Voltage Divider

2.1.7.1. Objective

Measure voltages and compute current flow in a voltage divider formed by two fixed resistors. Practice using a breadboard and DMM.

Many sensor circuits we use will be built around an arrangement of series resistances called a voltage divider. This is a fundamental construction which will appear again and again.

Two resistors in series form a single current pathway, so a voltage \(V_{in}\) applied across the pair will cause the same current \(i\) to flow through each of them. However, the voltage drop across each resistor resulting from that current is proportional to the resistance (\(V_1 = i * R1\), \(V_2 = i * R2\)), so the voltage at the intermediate node depends on the relative resistances. In the simplest case, if both resistances are the same, the voltage in the middle will be the average of the voltage at each end.

We will use the voltage divider structure to allow a variable resistance (e.g. sensor or switch) to control the voltage at the intermediate point. This is useful for us because the analog-to-digital converter on the Arduino senses applied voltage.

../../../_images/voltage-divider.png

2.1.7.2. Steps and observations

  1. Choose two resistors of nominally equal value. Any value between 100 and 4700 ohms is fine.
  2. Measure the exact resistance of each resistor.
  3. Set up the divider on a breadboard; a suggested layout is shown below.
  4. Carefully measure the voltage \(V_{in}\) applied across the series pair of resistors. This should be your supply voltage (\(V_{in} = V_1 + V_2\)).
  5. Compute the expected voltage \(V_2\) across the grounded resistor: \(V_2 = V_{in} * (R_2 / (R_1+R_2))\) where \(R_1\) is the ‘upper’ resistor connected to the positive supply and \(R_2\) is the ‘lower’ resistor connected to ground.
  6. Vary the input voltage and repeat; you should be able to convince yourself that the intermediate voltage scales proportionately.
  7. Open the circuit and measure the actual current through the divider. Compare against the predicted value: \(i = V_{in} / (R_1 + R_2)\).

2.1.7.3. Comments

Also see Wikipedia: Voltage divider.

../../../_images/voltage-divider_bb.png

2.1.7.4. Other Files

  1. Fritzing file: voltage-divider.fzz
  2. EAGLE file: voltage-divider.sch