Loading simulator…
A 0–12 V sensor cannot be fed directly into an ADC expecting a lower voltage. A resistor divider scales the sensor voltage while keeping its current draw under control.
SENSOR_OUT = 12 V, ADC_IN must be 5 V, so:I_SENSOR = 500 µA at 12 V, the total resistance must be:R1 = 14 kΩ in series with R2 = 10 kΩ. The existing I_SENSOR ammeter measures total divider current; ADC_IN connects to the midpoint. The total is 24 kΩ and the lower fraction is .ADC_IN = 1.25 V and I_SENSOR = 125 µA; at 9 V, they become 3.75 V and 375 µA. This scaling is linear.Sweep SENSOR_OUT through 0 V, 3 V, 9 V, and 12 V. Check both ADC_IN and I_SENSOR against the task examples. Experiment with an additional load at the ADC node to see why ADC input impedance matters.