Master Electronics From Atoms to Circuits
Understand the invisible forces that power our world. From Ohm's Law to transistors, op-amps to PCB design โ build real circuits with confidence.
๐ Course Overview
This course takes you from absolute beginner to confident electronics enthusiast. Each module builds upon the previous one, with hands-on calculators, interactive simulators, and video tutorials.
Electricity Basics
Voltage, current, resistance & power fundamentals
Ohm's Law
The foundation formula + interactive calculator
Resistors
Color codes, series/parallel & color band decoder
Capacitors
Charge/discharge, types & RC time constants
Inductors
Magnetic fields, RL circuits & transformers
Diodes
Rectifiers, Zener, LEDs & protection circuits
Transistors
BJT, MOSFET, amplifiers & switching
Op-Amps
Inverting, non-inverting, comparators
Logic Gates
AND, OR, NOT, NAND + truth table simulator
Power Supplies
Regulators, DC-DC converters, battery circuits
PCB Design
Schematic capture, layout & manufacturing
Circuit Lab
Ohm's Law, voltage divider & resistor calculators
Final Quiz
20 questions to test your knowledge
๐งฐ What You'll Need
Breadboard
Solderless breadboard for prototyping
Multimeter
Digital multimeter for measurements
LEDs & Resistors
Assorted LEDs, resistors, capacitors
Power Supply
5V/3.3V power source or battery pack
Jumper Wires
Male-male and male-female wires
Pliers & Cutter
Needle-nose pliers and wire stripper
Electricity Basics
Understand voltage, current, resistance and power โ the four pillars of every electronic circuit.
โก What is Electricity?
Electricity is the flow of electrons through a conductive material. Think of it like water flowing through a pipe โ the pressure drives the flow, and the pipe's resistance controls how much water passes through.
Every atom has electrons orbiting its nucleus. In conductive materials like copper, the outermost electrons are loosely held and can move freely. When we apply a force (voltage), these electrons flow in one direction, creating an electric current.
๐ Voltage (V) โ The Pressure
Voltage is the electrical "pressure" that pushes electrons through a circuit. It's measured in Volts (V) and is the difference in electrical potential between two points.
Voltage is like the water pressure in a pipe. A higher water tank (higher voltage) creates more pressure, pushing water (electrons) through the pipe (wire) faster.
| Source | Voltage | Type |
|---|---|---|
| AA Battery | 1.5V | DC |
| USB Port | 5V | DC |
| Car Battery | 12V | DC |
| Wall Outlet (EU) | 230V | AC |
| Wall Outlet (US) | 120V | AC |
| Power Lines | 11,000V+ | AC |
๐ Current (I) โ The Flow
Current is the rate at which electrons flow through a conductor. It's measured in Amperes (A), often shortened to "amps". One ampere equals approximately 6.24 ร 10ยนโธ electrons flowing past a point per second.
There are two types of current:
- DC (Direct Current) โ Flows in one direction (batteries, solar panels, USB)
- AC (Alternating Current) โ Changes direction periodically (wall outlets, power grid)
Current as low as 10 mA across the heart can be lethal. Always work with low voltages (under 50V DC) when learning. Never touch mains wiring. Use a circuit breaker and always turn off power before modifications.
๐ง Resistance (R) โ The Opposition
Resistance opposes the flow of current. It's measured in Ohms (ฮฉ). Every material has resistance โ conductors like copper have very low resistance, while insulators like rubber have extremely high resistance.
| Material | Resistivity | Classification |
|---|---|---|
| Copper | 1.68 ร 10โปโธ ฮฉยทm | Conductor |
| Aluminum | 2.65 ร 10โปโธ ฮฉยทm | Conductor |
| Silicon | 6.40 ร 10ยฒ ฮฉยทm | Semiconductor |
| Glass | 10ยนโฐ โ 10ยนโด ฮฉยทm | Insulator |
| Rubber | 10ยนยณ ฮฉยทm | Insulator |
๐ช Power (P) โ The Work Done
Power is the rate at which electrical energy is converted into another form (heat, light, motion). It's measured in Watts (W).
A 60W light bulb at 230V draws: I = P/V = 60/230 = 0.26A (260mA)
๐ฅ Video: Electricity Explained
Ohm's Law
The most important equation in electronics โ plus Kirchhoff's voltage and current laws.
๐ Ohm's Law
Georg Simon Ohm discovered that voltage, current, and resistance are related by a beautifully simple formula:

This can be rearranged to find any unknown:
- V = I ร R โ Find voltage (if you know current and resistance)
- I = V / R โ Find current (if you know voltage and resistance)
- R = V / I โ Find resistance (if you know voltage and current)
๐งฎ Interactive Ohm's Law Calculator
Enter any two values and click Calculate to find the third.
โ๏ธ Kirchhoff's Voltage Law (KVL)
The sum of all voltages around any closed loop in a circuit equals zero. In simple terms: the voltage supplied by the source is completely consumed by the components in the loop.
If you have a 9V battery and two resistors in series, the voltage drops across both resistors must add up to 9V. If R1 drops 3V, then R2 must drop 6V.
๐ Kirchhoff's Current Law (KCL)
The total current entering a node (junction) equals the total current leaving that node. Current is neither created nor destroyed โ it is conserved.
If 5A flows into a junction and splits into two paths, one carrying 3A, the other must carry 2A (3A + 2A = 5A).
๐ฅ Video: Ohm's Law
Resistors & Color Codes
Learn to read resistor values, understand series/parallel combinations, and use the interactive color code decoder.
๐ฉ What is a Resistor?
A resistor is a passive electronic component that limits the flow of current. It's the most common component in any circuit and is essential for protecting other components, dividing voltages, and setting bias points.
Resistors come in many types: carbon film, metal film, wire-wound, surface mount (SMD), and more. Through-hole resistors use a standard color band system to indicate their value.
๐ Resistor Color Code
| Color | Digit | Multiplier | Tolerance |
|---|---|---|---|
| Black | 0 | ร1 | โ |
| Brown | 1 | ร10 | ยฑ1% |
| Red | 2 | ร100 | ยฑ2% |
| Orange | 3 | ร1k | โ |
| Yellow | 4 | ร10k | โ |
| Green | 5 | ร100k | ยฑ0.5% |
| Blue | 6 | ร1M | ยฑ0.25% |
| Violet | 7 | ร10M | ยฑ0.1% |
| Grey | 8 | โ | โ |
| White | 9 | โ | โ |
| Gold | โ | ร0.1 | ยฑ5% |
| Silver | โ | ร0.01 | ยฑ10% |
Bad Beer Rots Our Young Guts But Vodka Goes Well โ Black, Brown, Red, Orange, Yellow, Green, Blue, Violet, Grey, White
๐จ Interactive Color Code Decoder
๐ Series & Parallel Resistors
Series: Resistors in series add up directly.

Parallel: The reciprocal of the total equals the sum of reciprocals.
For two resistors in parallel: R_total = (R1 ร R2) / (R1 + R2). Two identical resistors in parallel give half the value.
๐ฅ Video: Resistors Explained
Capacitors & Energy Storage
Learn how capacitors store and release energy, their types, and RC time constants.
๐ What is a Capacitor?
A capacitor stores electrical energy in an electric field between two conductive plates separated by an insulating material (dielectric). When voltage is applied, charge builds up on the plates. When disconnected, the capacitor retains the charge.
Capacitance is measured in Farads (F). Most capacitors are in the microfarad (ยตF), nanofarad (nF), or picofarad (pF) range.
๐ฆ Types of Capacitors

| Type | Capacitance Range | Polarized? | Common Use |
|---|---|---|---|
| Ceramic | 1pF โ 10ยตF | No | Decoupling, filtering |
| Electrolytic | 0.1ยตF โ 10,000ยตF | Yes โ ๏ธ | Power supply filtering |
| Tantalum | 0.1ยตF โ 1,000ยตF | Yes โ ๏ธ | Precision circuits |
| Film | 100pF โ 10ยตF | No | Audio, timing |
| Supercapacitor | 0.1F โ 3000F | Yes | Energy backup |
Electrolytic and tantalum capacitors are polarized. Connecting them backwards can cause them to explode. Always check the positive (+) and negative (โ) markings!
โฑ๏ธ RC Time Constant
When a capacitor charges through a resistor, it takes time. The time constant (ฯ) defines how quickly:
After 1ฯ: 63.2% charged. After 5ฯ: 99.3% charged (effectively full).
๐ Capacitor Charge Simulator
๐ฅ Video: Capacitors Explained

Inductors & Magnetic Fields
Discover how inductors store energy in magnetic fields and their role in filters, transformers, and power supplies.
๐งฒ What is an Inductor?
An inductor is a coil of wire that stores energy in a magnetic field when current flows through it. It resists changes in current โ if current tries to increase, the inductor pushes back; if current tries to decrease, the inductor tries to maintain it.
Inductance is measured in Henrys (H), with practical values typically in millihenrys (mH) or microhenrys (ยตH).
โก RL Time Constant
Similar to RC circuits, RL circuits have a time constant:
After 5ฯ, the current reaches ~99.3% of its final value.
๐ Transformers
A transformer uses two coupled inductors to transfer energy via magnetic induction. The voltage ratio equals the turns ratio:
Step-up transformers increase voltage (more secondary turns). Step-down transformers decrease voltage (fewer secondary turns). Transformers only work with AC!
๐ฅ Video: Inductors Explained

Diodes & Rectifiers
Understand the one-way valve of electronics โ from signal rectification to LED lighting and voltage regulation.
โก๏ธ What is a Diode?
A diode is a semiconductor device that allows current to flow in only one direction โ from the anode (+) to the cathode (โ). It acts as a one-way valve for electricity.
A silicon diode has a forward voltage drop of approximately 0.7V. Below this threshold, no current flows.
๐ฆ Types of Diodes
| Type | V_forward | Key Use |
|---|---|---|
| Silicon (1N4007) | 0.7V | Rectification, protection |
| Schottky | 0.2โ0.4V | Fast switching, power supplies |
| Zener | Varies | Voltage regulation (reverse bias) |
| LED | 1.8โ3.3V | Light emission |
| Photodiode | โ | Light detection |
๐ Rectifier Circuits

Diodes convert AC to DC through rectification:
- Half-wave rectifier โ Uses 1 diode, passes only positive half-cycles. Simple but inefficient.
- Full-wave bridge rectifier โ Uses 4 diodes, converts both half-cycles. Much more efficient and smooth.
Adding a filter capacitor after the rectifier smooths the pulsating DC into a more stable voltage.
๐ก LEDs (Light Emitting Diodes)
LEDs emit light when current flows through them. They require a current-limiting resistor to prevent burnout.
Example: 5V supply, red LED (2V, 20mA): R = (5 โ 2) / 0.02 = 150ฮฉ (use 220ฮฉ for safety).
๐ฅ Video: Diodes Explained

Transistors โ The Building Block
The most important invention in electronics history. Learn BJT and MOSFET transistors for amplification and switching.
๐งฑ What is a Transistor?
A transistor is a semiconductor device that can amplify signals or act as an electronic switch. A small current or voltage at one terminal controls a much larger current between the other two terminals.
The transistor is arguably the most important invention of the 20th century โ every computer chip contains billions of transistors.

๐ฒ BJT (Bipolar Junction Transistor)
BJTs are current-controlled devices with three terminals:
- Base (B) โ Control terminal (small current)
- Collector (C) โ Main current input
- Emitter (E) โ Main current output
Two types: NPN (most common, current into base turns it on) and PNP (current out of base turns it on).
A tiny base current (e.g., 0.1mA) can control a large collector current (e.g., 30mA) โ that's amplification!
โก MOSFET (Metal-Oxide-Semiconductor FET)
MOSFETs are voltage-controlled devices โ they're even more important in modern electronics:
- Gate (G) โ Control terminal (voltage, no current!)
- Drain (D) โ Main current input
- Source (S) โ Main current output
MOSFETs switch with almost zero power loss at the gate, making them ideal for motor control, power supplies, and digital logic.
| Feature | BJT | MOSFET |
|---|---|---|
| Control | Current (I_B) | Voltage (V_GS) |
| Input impedance | Low (~kฮฉ) | Very high (~Mฮฉ) |
| Speed | Fast | Very Fast |
| Best for | Linear amplification | Switching, power |
๐ฅ Video: Transistors Explained

Operational Amplifiers
Master the op-amp โ a versatile integrated circuit used in amplifiers, filters, comparators, and more.
๐บ What is an Op-Amp?
An operational amplifier (op-amp) is a high-gain voltage amplifier IC with two inputs and one output. The most famous op-amp is the LM741, but modern designs like the LM358 and TL072 are common.
An ideal op-amp has: infinite gain, infinite input impedance, zero output impedance, and infinite bandwidth. Real op-amps approximate these ideal properties.

โ Inverting Amplifier
The output is the inverted (negative) and amplified version of the input.
Example: R_f = 10kฮฉ, R_in = 1kฮฉ โ Gain = โ10. A 0.1V input produces โ1V output (inverted and amplified 10ร).
โ Non-Inverting Amplifier
The output is a positive (non-inverted) amplified version of the input.
Example: R_f = 9kฮฉ, R_in = 1kฮฉ โ Gain = 10. A 0.1V input produces +1V output.
โ๏ธ Comparator
An op-amp without feedback acts as a comparator. If V+ > Vโ, output goes HIGH. If V+ < Vโ, output goes LOW. Used in threshold detection, analog-to-digital conversion, and zero-crossing detectors.
๐ฅ Video: Op-Amps Explained

Digital Logic Gates
The foundation of all digital electronics โ from simple gates to complex processors.
๐ข Binary & Digital Logic
Digital electronics works with two states: HIGH (1) and LOW (0). Logic gates process these binary inputs to produce an output based on Boolean algebra rules.

๐ช Basic Logic Gates
| Gate | Symbol | Function | Equation |
|---|---|---|---|
| AND | A ยท B | Output 1 only if ALL inputs are 1 | Y = A AND B |
| OR | A + B | Output 1 if ANY input is 1 | Y = A OR B |
| NOT | ฤ | Inverts the input | Y = NOT A |
| NAND | (AยทB)ฬ | NOT of AND (universal gate) | Y = NOT(A AND B) |
| NOR | (A+B)ฬ | NOT of OR (universal gate) | Y = NOT(A OR B) |
| XOR | A โ B | Output 1 if inputs differ | Y = A XOR B |
๐ฎ Interactive Logic Gate Simulator
๐ฅ Video: Logic Gates

Power Supplies
Design reliable power sources โ from linear regulators to switch-mode power supplies and battery management.
๐ Power Supply Basics
Every electronic circuit needs a stable power supply. A typical power supply converts AC mains voltage to clean, regulated DC voltage through these stages:
Transformer
Steps down the AC mains voltage (230V/120V) to a lower AC voltage (e.g., 12V AC).
Rectification
Converts AC to pulsating DC using a bridge rectifier (4 diodes).
Filtering
Large electrolytic capacitor smooths the pulsating DC into a more stable voltage.
Regulation
Voltage regulator (e.g., LM7805) ensures a constant output voltage regardless of load changes.
๐ Linear Regulators
The 78xx series (e.g., 7805, 7812, 7833) are simple drop-out regulators. The last two digits indicate the output voltage.
| Part | Output | Max Current | Dropout |
|---|---|---|---|
| 7805 | 5V | 1.5A | ~2V |
| 7812 | 12V | 1.5A | ~2V |
| 7833 | 3.3V | 1.5A | ~2V |
| LM1117-3.3 | 3.3V | 0.8A | ~1.2V |
Linear regulators waste excess voltage as heat. P = (V_in โ V_out) ร I. A 12Vโ5V conversion at 1A wastes 7W as heat! Use a heatsink or consider a switching regulator for high-current applications.
๐ฅ Video: Power Supply Design

PCB Design
Turn your breadboard prototype into a professional printed circuit board โ from schematic capture to manufacturing.
๐ PCB Design Workflow
Schematic Capture
Draw the circuit diagram using an EDA tool like KiCad, EasyEDA, or Altium. Define all components and their connections.
Component Footprints
Assign physical footprints (packages) to each schematic symbol โ through-hole (THT) or surface-mount (SMD).
Board Layout
Place components on the PCB and route copper traces between them. Follow design rules for trace width, clearance, and via sizes.
Design Rule Check (DRC)
Verify the layout meets manufacturing constraints: minimum trace width, drill sizes, and clearances.
Generate Gerber Files
Export Gerber files โ the industry-standard format that PCB manufacturers use to fabricate your board.
Manufacturing & Assembly
Send Gerber files to a PCB fab house (JLCPCB, PCBWay, OSHPark). Receive boards in 5-14 days and solder components.
๐ฅ๏ธ Recommended EDA Tools
| Tool | Price | Best For |
|---|---|---|
| KiCad | Free & Open Source | Professional-grade, unlimited layers |
| EasyEDA | Free (cloud) | Beginners, integrated with LCSC/JLCPCB |
| Altium Designer | $$$ | Industry standard, enterprise |
| Eagle | Free (limited) | Hobbyist, great community |
๐ PCB Design Rules
| Parameter | Standard | Fine Pitch |
|---|---|---|
| Trace Width | 0.254mm (10mil) | 0.127mm (5mil) |
| Trace Spacing | 0.254mm (10mil) | 0.127mm (5mil) |
| Via Drill | 0.3mm | 0.2mm |
| Via Pad | 0.6mm | 0.45mm |
| Board Thickness | 1.6mm | 0.8mm |
๐ฅ Video: KiCad PCB Design

Electronics Circuit Lab
Hands-on calculators and simulators for core electronics concepts โ experiment and learn by doing!
โก Voltage Divider Calculator

V_out = V_in ร R2 / (R1 + R2)
๐ก LED Resistor Calculator
Power dissipated: 60 mW โ Use at least a 1/8W resistor
๐ Parallel Resistor Calculator
Final Quiz
Test your knowledge with 20 questions covering everything you've learned. Score 80% or higher to earn your certificate!
๐ Your Certificate of Completion
Congratulations on completing the course! Download your official SGP certificate below.

This is to certify that
has successfully completed the Electronics Masterclass
A comprehensive course covering electricity fundamentals, Ohm's Law, passive/active components, semiconductor devices, operational amplifiers, digital logic, power supply design, and PCB layout