Robotics & Arduino
Lesson 2 · Refinement

A potentiometer.

Let’s look at the voltage divider.

In the previous circuit, we used an LDR and a fixed resistor.

A light-adjusted resistance on one side.
A static resistance on the other.

A0 connected directly to 5V reads about 5V.
A0 connected directly to GND reads about 0V.
We always measure in the MIDDLE of the circuit.

What if instead of one divider,
we create 5 or 10 dividers.
10 sets of same-value resistors?

What do we get?

Move the measuring point.

Five voltage dividers with test points labeled TP1: 4.95V, TP2: 4.55V, TP3: 2.50V, TP4: 0.45V, and TP5: 0.05V.
TP1 — 4.95 V