Arduino Uno R3
Arduino · AVR
- MHz
- 16
- GPIO
- 20
- Flash
- 32 KB
- RAM
- 2 KB
Calculator
Fill in any two of voltage, current, resistance or power — get the rest.
Ohm's law links three quantities in every circuit: voltage (V), current (I) and resistance (R). Power (P) follows from them. Enter any two values below and the other two are calculated.
Use milliamps for current and milliwatts for power here — they are the units you will meet most in microcontroller work. Leave the two fields you want to calculate blank.
V = I × RP = V × I = I² × R = V² / RWorked example. 5 V across 220 Ω gives I = 5 / 220 = 22.7 mA and P = 5 × 0.0227 = 113.6 mW — fine for a 1/4 W resistor.
Current through a resistor is proportional to the voltage across it: I = V / R.
Not directly. An LED has a nearly fixed forward voltage, so the resistor in series does the limiting — see the LED resistor calculator.
Calculate P = I² × R and choose a resistor rated at least twice that. Common ratings are 1/8 W, 1/4 W, 1/2 W and 1 W.
Real sources have internal resistance and real parts have tolerance. A 9 V battery sags under load, and a 5% resistor can be 5% off, so expect results within roughly ±10%.
Free download
Logic levels, pins to avoid, I2C / SPI / UART basics and a quick-pick table of the best boards — on one printable PDF. Enter your email and it's yours.
Only used to send the sheet and the odd databit.me update. See the privacy policy.