Loading simulator…
The goal is to draw a controlled current from a DC voltage source using a resistor. Ohm's law gives the relationship between voltage, resistance, and current. Since the required current is 5 mA at 5 V, we can calculate the resistance needed and complete the current path.
Calculate the required resistance.
Using Ohm's law:
A 1 kΩ resistor allows 5 mA to flow when 5 V is applied across it.
Complete the circuit.
The starter circuit already contains VIN and the ammeter I_OUT. The solution adds resistor R1 = 1 kΩ after the ammeter and connects its other terminal to GND.
This completes the current path. Since I_OUT and R1 are in series, the ammeter measures the current flowing through the resistor.
Understand how voltage affects current.
With resistance fixed at 1 kΩ, current changes proportionally with the applied voltage:
Doubling the voltage would double the current, provided the resistance remains constant.
In EWsim, set VIN = 5 V and check that I_OUT reads approximately 5 mA. Then change VIN to 4 V and 6 V; the current should change to approximately 4 mA and 6 mA, respectively.
Try changing R1 to 2 kΩ. At 5 V, the current should decrease to approximately 2.5 mA. This demonstrates how increasing resistance reduces current.