Electrical engineering
Voltage dividers
A voltage divider is two resistors in series across a supply. The voltage at the point between them is the supply voltage multiplied by the lower resistor divided by the total resistance. This simple circuit has many uses: it can scale a large voltage down to a range a microcontroller can safely read, and if one of the resistors is a sensor whose resistance changes, such as a light-dependent resistor or a force-sensitive resistor, the middle voltage changes with the quantity being measured. Whatever is connected to the midpoint draws current and can shift the result.
Why it mattersA battery-powered robot often uses a divider so its microcontroller can measure a battery voltage higher than its own pins can tolerate.