The formula used to calculate the resistance needed to limit current through a component is:
R = V / I
Where:
1. If you have a 12V battery and you want to limit the current to 0.1A, the required resistance is:
R = 12V / 0.1A = 120Ω
2. For a 5V circuit with a desired current of 0.2A, the resistance should be:
R = 5V / 0.2A = 25Ω
3. In a 24V system with a target current of 0.5A, the resistance is:
R = 24V / 0.5A = 48Ω