Ohm's Law Explained โ Interactive Guide for Electronics Beginners in Pakistan
Electricity is everywhere โ in the lights above you, the phone in your pocket, the solar inverter on your roof, and the circuits you will build in your first electronics project. But before you can design, build, or repair any of it, you need to understand one fundamental law that governs all of electricity: Ohm's Law.
Discovered by German physicist Georg Simon Ohm in 1827, this single equation is the foundation of all electronics. Every engineer, every electrician, every Arduino hobbyist in Pakistan uses it โ whether they know it by name or not.
This guide explains Ohm's Law from scratch, with a live interactive simulation, real-world Pakistani examples, practice problems, and everything you need to start applying it today.
What is Ohm's Law? (Simple Definition)
Ohm's Law states that the voltage across a conductor is directly proportional to the current flowing through it, provided temperature remains constant.
In plain English: if you increase the voltage, more current flows. If you increase the resistance, less current flows. These three quantities โ voltage, current, and resistance โ are always connected by one simple formula.
Where:
- V = Voltage in Volts (V) โ the electrical "pressure" or force pushing electrons
- I = Current in Amperes (A) โ the rate of electron flow
- R = Resistance in Ohms (ฮฉ) โ the opposition to electron flow
Understanding Voltage, Current, and Resistance
Voltage โ The Electrical Pressure
Voltage is the difference in electrical potential between two points. Think of it as the pressure that pushes electrons through a wire. A 9V battery has more "push" than a 1.5V AA battery. Common voltages in Pakistan:
- AA/AAA battery: 1.5V
- Mobile phone battery: 3.7V
- Arduino power supply: 5V or 9V
- Car battery: 12V
- Pakistan household electricity: 220V AC
- UPS output: 12V DC (battery) โ 220V AC (output)
Current โ The Flow of Electrons
Current is how many electrons are flowing past a point every second. It is measured in Amperes (Amps). A mobile phone charger typically draws 1โ2A. An LED needs only 0.02A (20 milliamps). A hair dryer uses 5โ10A. Too much current through a component destroys it โ this is why fuses and resistors exist.
Resistance โ The Opposition to Flow
Resistance is how much a material opposes electron flow. Copper wire has very low resistance (good conductor). Rubber has very high resistance (good insulator). Resistors are components specifically designed to have a known, stable resistance value โ and they are the most common component in all electronics. A pack of 100 assorted resistors costs about PKR 150โ300 at any electronics market in Lahore, Karachi, or Islamabad.
The Water Pipe Analogy โ Understanding With Intuition
If electricity feels abstract, the water pipe analogy makes it instantly clear:
| Electricity | Water System |
|---|---|
| Voltage (V) | Water pressure from a pump |
| Current (I) | Flow rate (liters per second) |
| Resistance (R) | Pipe width (narrow = more resistance) |
| Battery | Water pump |
| Short circuit | Burst pipe โ maximum uncontrolled flow |
More pump pressure โ more water flow. Narrower pipe โ less flow despite same pressure. This is Ohm's Law in physical form.
Try It Yourself โ Interactive Ohm's Law Simulation
The fastest way to understand Ohm's Law is to experiment. In the simulation below, you can change the voltage and resistance values and watch the current change instantly. Try these experiments:
- Set voltage to 12V and resistance to 100ฮฉ โ what is the current?
- Double the resistance to 200ฮฉ โ what happens to current?
- Now halve the voltage to 6V with 100ฮฉ โ how does current compare?
๐ฎ Adjust voltage and resistance sliders to see current change in real time
The Three Ohm's Law Formulas
One equation gives you three tools. Rearrange V = I ร R depending on what you know:
| What to Find | Formula | When to Use |
|---|---|---|
| Voltage (V) | V = I ร R | You know current and resistance, need voltage |
| Current (I) | I = V รท R | You know voltage and resistance, need current |
| Resistance (R) | R = V รท I | You know voltage and current, need resistance |
Ohm's Law and Power โ The Fourth Formula
Ohm's Law combines with the power formula (P = V ร I) to give you a complete toolkit. Power is measured in Watts and tells you how much energy a component uses per second.
Power Formula: P = V ร I
Combining with Ohm's Law: P = Iยฒ ร R | P = Vยฒ รท R
Pakistan example: Your home UPS runs on a 12V, 100Ah battery. If your load draws 5A of current:
- Power consumed: P = 12V ร 5A = 60 Watts
- Battery life: 100Ah รท 5A = 20 hours
- This is exactly how electricians size UPS systems in Pakistan
Practical Examples with Pakistani Context
Example 1 โ Choosing a Resistor for an LED (Most Common Beginner Task)
You have a 9V battery and a standard red LED. LEDs need about 2V forward voltage and 20mA (0.02A) current.
- Voltage across resistor = 9V โ 2V = 7V
- R = V รท I = 7 รท 0.02 = 350ฮฉ
- Nearest standard value: use a 330ฮฉ or 390ฮฉ resistor (costs about PKR 2โ5 each)
Without this resistor, the LED draws unlimited current and burns out in milliseconds.
Example 2 โ Arduino Pin Current Limit
Arduino digital pins output 5V and can safely handle maximum 40mA (0.04A). To protect a pin:
- R = V รท I = 5 รท 0.04 = 125ฮฉ minimum
- Always use at least a 220ฮฉ resistor between Arduino pin and LED
- This is why every Arduino starter kit in Pakistan includes a bag of 220ฮฉ resistors
Example 3 โ Solar Panel Wire Sizing
A 100W solar panel in Pakistan produces about 5.5A at 18V. The wire carrying this current needs to handle the load safely. Using Ohm's Law and resistance tables, electricians calculate that 4mmยฒ copper wire is needed for runs over 5 meters to avoid dangerous voltage drop.
Example 4 โ Mobile Charger Diagnosis
A phone charger outputs 5V. Your phone charges at 1A normally but is now only drawing 0.2A. Using R = V รท I: R = 5 รท 0.2 = 25ฮฉ. Normal charging resistance would be 5ฮฉ. The 5ร higher resistance tells you there is likely a damaged cable, dirty port, or failing charger IC โ exactly how mobile repair technicians in Lahore diagnose charger faults.
Ohm's Law Practice Problems
Test yourself with these problems โ answers below:
- A 12V battery connects to a 60ฮฉ resistor. What is the current?
- A circuit draws 2A from a 9V source. What is the resistance?
- A 470ฮฉ resistor has 0.01A flowing through it. What is the voltage across it?
- An LED needs 20mA and you have a 5V Arduino. The LED drops 2V. What resistor do you need?
Answers:
- I = 12 รท 60 = 0.2A (200mA)
- R = 9 รท 2 = 4.5ฮฉ
- V = 0.01 ร 470 = 4.7V
- V across resistor = 5 โ 2 = 3V โ R = 3 รท 0.02 = 150ฮฉ (use 150ฮฉ or 180ฮฉ)
Common Mistakes and How to Avoid Them
- โ Using milliamps instead of amps โ Always convert: 20mA = 0.02A before calculating
- โ No resistor on LED โ Never connect an LED directly to a battery or Arduino pin
- โ Applying Ohm's Law to capacitors or inductors โ It only applies to resistors and purely resistive circuits
- โ Ignoring temperature โ Resistance increases with temperature in most materials. Hot components have higher resistance than cold ones
- โ Forgetting internal resistance โ Real batteries have internal resistance. A car battery at 12V may only deliver 11.5V under heavy load
Frequently Asked Questions About Ohm's Law
What is Ohm's Law in simple words?
Ohm's Law states that voltage equals current multiplied by resistance (V = I ร R). It means that if you increase voltage, more current flows, and if you increase resistance, less current flows โ assuming one of the three values stays constant.
Who discovered Ohm's Law?
Ohm's Law was discovered by Georg Simon Ohm, a German physicist and mathematician, and published in 1827 in his work "Die galvanische Kette, mathematisch bearbeitet" (The Galvanic Circuit Investigated Mathematically).
Does Ohm's Law apply to AC circuits?
Ohm's Law in its basic form (V = IR) applies to DC circuits and purely resistive AC circuits. For AC circuits with capacitors and inductors, an extended version using impedance (Z) replaces resistance: V = I ร Z.
What are the units of Ohm's Law?
Voltage is measured in Volts (V), current in Amperes (A), and resistance in Ohms (ฮฉ). The unit Ohm is named after Georg Ohm himself โ 1 Ohm equals 1 Volt per Ampere.
What happens if resistance is zero in Ohm's Law?
If resistance is zero, theoretically current becomes infinite โ this is a short circuit. In practice, the current is limited only by the internal resistance of the power source, which can cause wires to heat up, batteries to explode, and fuses to blow. This is why short circuits are dangerous.
Is Ohm's Law used in Arduino projects?
Yes โ every time you connect an LED, sensor, or motor to an Arduino, you use Ohm's Law to calculate the correct resistor value to protect components and Arduino pins from excessive current.
What to Learn After Ohm's Law
Once you are comfortable with V = I ร R, the next concepts build naturally on top:
- Series Circuits โ Resistors add together. Current is the same everywhere. Total R = R1 + R2 + R3...
- Parallel Circuits โ Voltage is the same across all branches. Current splits. 1/R_total = 1/R1 + 1/R2...
- Kirchhoff's Voltage Law (KVL) โ The sum of all voltages around a loop equals zero
- Kirchhoff's Current Law (KCL) โ The sum of currents entering a node equals the sum leaving
- Thevenin's Theorem โ Simplify any complex circuit into one voltage source and one resistor
All of these are covered with interactive simulations in our Electronics Fundamentals course on the Watni Digital LMS โ 114 lessons, 7 interactive simulations, completely free to start.
Ready to build real circuits?
Our Electronics Fundamentals course has 48 interactive simulations โ series circuits, parallel circuits, LED design, Arduino, sensors and more. Free to start, no credit card needed.
Start Learning Free โComments
No comments yet. Be the first to share your thoughts!
