MyRoboPath
electronics12 min readUpdated 2026-03-12Beginner

What is Electricity? Voltage, Current, Resistance & Ohm's Law Explained

Understand fundamental electricity from the atomic level: electron flow, voltage (potential difference), current (Amperes), resistance (Ohms), and the core Ohm’s Law relationship.

MyRoboPath Engineering Lab
Peer-Reviewed Open-Source Hardware & Firmware Guide

Key Engineering Takeaways

  • Electricity is the flow of negatively charged subatomic particles called electrons through a conductive material (copper, aluminum).
  • Voltage (V in Volts) is the electrical pressure or potential difference pushing charges between two points.
  • Current (I in Amperes) is the rate of electron flow (1 Ampere = 1 Coulomb of charge per second = 6.242 × 10¹⁸ electrons/sec).
  • Resistance (R in Ohms Ω) is the opposition a material offers to the passage of electric current.
  • Ohm's Law (V = I · R) and Power (P = V · I = I² · R) form the bedrock foundation of all electronic design.
Prerequisites
  • Basic arithmetic (multiplication and division)
Required Hardware / Tools
  • Digital Multimeter
  • 9V or 5V DC Power Source
  • Breadboard
  • Assorted Resistors (330Ω, 1kΩ, 10kΩ)
  • LEDs

What is Electricity? Atoms & Free Electrons

At the most fundamental level, all physical matter is constructed of **atoms**. Each atom contains a dense central nucleus composed of positively charged **protons** and neutral **neutrons**, surrounded by orbiting shells of negatively charged **electrons**. In electrical **conductors** (such as copper wire, silver, and aluminum), the electrons in the outermost orbital shell (valence electrons) are loosely bound to their parent nuclei. When an external energy force is applied, these valence electrons detach and drift freely from atom to atom. This directional, synchronized movement of free charge carriers through a conductive medium is what we define as **electric current**.
Electron flow in conductive wire diagram
Figure 1.1: Free electron flow through a conductive copper wire driven by an electrical potential difference.Visual Guide

Voltage, Current & Resistance: The Water Pipe Analogy

To visualize electricity intuitively without seeing individual electrons, electrical engineers use the classic **Hydraulic (Water Tank & Pipe) Analogy**: 1. **Voltage ($V$, measured in Volts)**: Represents the **water pressure** created by water stored in an elevated tank. The higher the tank or larger the pump, the greater the pressure pushing water down the pipe. Voltage is the electrical *push* (potential difference) between two points. 2. **Current ($I$, measured in Amperes / Amps)**: Represents the **volume flow rate** of water moving through the pipe per second (e.g., liters per second). In circuits, $1\,\text{Ampere} = 1\,\text{Coulomb/second} = 6.242 \times 10^{18}\text{ electrons/second}$. 3. **Resistance ($R$, measured in Ohms $\Omega$)**: Represents a **narrow constriction, valve, or filter** in the pipe that restricts the rate at which water can pass. A narrower pipe resists water flow; a higher resistance value restricts electron flow.
Water analogy for voltage, current, and resistance
Figure 1.2: Water pipe analogy: Voltage is water pressure, Current is flow rate, and Resistance is pipe constriction.Visual Guide
Direct RelationIf you double the Voltage (pressure), Current doubles. If you double the Resistance (restriction), Current is cut in half.

Conventional Current vs Actual Electron Flow

A historical quirk every beginner encounters is the direction of current: - **Conventional Current Flow**: Benjamin Franklin assumed positive charges moved from the **Positive ($+$) terminal to the Negative ($-$) terminal**. All standard circuit schematics, diode arrows, and transistor symbols point in the direction of conventional current. - **Actual Electron Flow**: Physically, negatively charged electrons are repelled by the negative terminal and attracted toward the positive terminal (**Negative to Positive**). In circuit design and schematic analysis, engineers universally follow **Conventional Current (Positive to Negative)**.
Conventional current vs electron flow diagram
Figure 1.3: Conventional current (+ to -) vs actual physical electron flow (- to +).Visual Guide

Ohm's Law: Mathematical Relationships & Triangle

Formulated by German physicist Georg Simon Ohm in 1827, **Ohm's Law** states that the current flowing through a conductor between two points is directly proportional to the voltage across the two points and inversely proportional to the resistance: $$V = I \times R$$ $$I = \frac{V}{R}$$ $$R = \frac{V}{I}$$ ### Worked Example: If you connect a $12\,\text{V}$ battery across a $24\,\Omega$ resistor in an electronics prototype: $$I = \frac{12\,\text{V}}{24\,\Omega} = 0.5\,\text{Amperes} = 500\,\text{mA}$$
ohms_law_calculator.py
python
# Python script to calculate Voltage, Current, or Resistance
def ohms_law(v=None, i=None, r=None):
    if v is None and i is not None and r is not None:
        return i * r  # Voltage in Volts
    elif i is None and v is not None and r is not None:
        return v / r  # Current in Amperes
    elif r is None and v is not None and i is not None:
        return v / i  # Resistance in Ohms
    else:
        raise ValueError("Provide exactly two variables to solve for the third.")

# Example: 5V supply across 220 Ohm resistor
current_amps = ohms_law(v=5.0, r=220.0)
print(f"Current flowing: {current_amps * 1000:.2f} mA")

Electrical Power: Calculating Watts (P = V · I)

**Electrical Power ($P$)**, measured in **Watts ($W$)**, represents the rate at which electrical energy is consumed or converted into other forms of energy (light, heat, mechanical motion). $$P = V \times I$$ $$P = I^2 \times R = \frac{V^2}{R}$$ If a circuit draws $2\,\text{A}$ at $5\,\text{V}$, it dissipates: $$P = 5\,\text{V} \times 2\,\text{A} = 10\,\text{Watts}$$ Always verify that your resistors, motor drivers, and transistors are rated for the dissipated wattage, or they will overheat and burn out.
Resistor Wattage RatingStandard through-hole resistors are rated for 1/4 Watt (0.25W). Never dissipate more power in a resistor than its rated limit.

Frequently Asked Questions

What is the difference between Voltage and Current?

Voltage is the electrical pressure (potential energy difference) between two points, while Current is the actual rate of physical charge moving through the wire. You can have voltage without current (like an unplugged battery), but you cannot have current without voltage pushing it.

What causes electrical resistance?

As electrons move through a material, they collide with atoms and crystal lattice impurities in the conductor. These collisions convert kinetic electrical energy into thermal heat energy, resisting current flow.

Tags:#Basic Electronics#Electricity#Voltage#Current#Resistance#Ohm's Law#Power