
Light an LED from a 9 V battery without burning it out.
What you need: 9 V battery + clip; Red LED (about 2 V, 20 mA max); 390 Ω resistor, 1/4 W; Breadboard + jumper wires.
Key formula: R = (V supply − V LED) / I → (9 − 2) / 0.018 ≈ 390 Ω
What you should see: About 7 V across the resistor and about 18 mA through the LED. Without the resistor the current is limited only by the battery and the LED fails.
Pro tip: Pick the next standard value above your result, then check its power: 7 V × 0.018 A ≈ 0.13 W, so 1/4 W is fine.
Practice: Open Try it live in this lecture's resources to run the circuit in your browser (free, no sign-up). Your circuit card for this lesson, with a table for your own readings, is in the Unit 1 circuit cards PDF.
Arabic subtitles are built into this video.
Watch the LED circuit from lesson 01 being built on a breadboard, one part at a time: the 9 V supply, the 390 Ω resistor and the red LED.
What to look for: Check that the resistor sets about 18 mA, and that the LED long leg (anode) faces the resistor.
Pause the video at any step and copy it on your own breadboard, or try the same circuit in the live simulator in the main lesson. Arabic subtitles are built into this video.
Turn light into a voltage with a voltage divider and an LDR.
What you need: 5 V supply; LDR (light-dependent resistor); 10 kΩ resistor; Multimeter.
Key formula: V out = V in × R bottom / (R top + R bottom)
What you should see: With the LDR on top and 10 kΩ at the bottom: bright light gives a high V out, darkness gives a low V out.
Pro tip: Choose the fixed resistor close to the LDR's resistance at the light level where you want the biggest change.
Practice: Open Try it live in this lecture's resources to run the circuit in your browser (free, no sign-up). Your circuit card for this lesson, with a table for your own readings, is in the Unit 1 circuit cards PDF.
Arabic subtitles are built into this video.
Watch a capacitor charge through a resistor and discharge through an LED.
What you need: 9 V battery; 10 kΩ resistor; 100 µF electrolytic capacitor; LED + 470 Ω resistor; Switch.
Key formula: τ = R × C = 10 kΩ × 100 µF = 1 s
What you should see: After 1 τ the capacitor reaches about 63 % (≈ 5.7 V); after 5 τ it is practically full. On discharge the LED fades out.
Pro tip: Electrolytic capacitors have polarity: the stripe is the negative leg. Large capacitors keep their charge after power is removed.
Practice: Open Try it live in this lecture's resources to run the circuit in your browser (free, no sign-up). Your circuit card for this lesson, with a table for your own readings, is in the Unit 1 circuit cards PDF.
Arabic subtitles are built into this video.
Use an NPN transistor as a switch to build a dark-activated night light.
What you need: 9 V battery; BC547 NPN transistor; LDR + 10 kΩ resistor (divider); 10 kΩ base resistor; LED + 470 Ω resistor.
Key formula: I C ≈ β × I B · I B = (V divider − 0.7) / R B
What you should see: In darkness the divider voltage rises, the transistor turns on and the LED lights. When on, V BE ≈ 0.7 V and V CE is only about 0.1–0.2 V.
Pro tip: Never connect the base straight to the supply: the base resistor protects the transistor.
Practice: Open Try it live in this lecture's resources to run the circuit in your browser (free, no sign-up). Your circuit card for this lesson, with a table for your own readings, is in the Unit 1 circuit cards PDF.
Arabic subtitles are built into this video.
Watch the dark-activated night light from lesson 04 built step by step: the LDR and 10 kΩ divider, the 10 kΩ base resistor, the BC547 and the LED.
What to look for: Cover the LDR and the LED switches on. Keep the BC547 flat side toward you so C, B and E land in the right rows.
Pause the video at any step and copy it on your own breadboard, or try the same circuit in the live simulator in the main lesson. Arabic subtitles are built into this video.
Compare two LEDs in series and in parallel, and check Kirchhoff's two laws.
What you need: 9 V battery; 2 × red LED; 330 Ω resistor (series); 2 × 390 Ω resistors (parallel, one per LED); Multimeter.
Key formula: Series: V = V1 + V2 + V R (KVL) · Parallel: I total = I1 + I2 (KCL)
What you should see: Series: the same current flows through both LEDs and the voltages add up to 9 V. Parallel: each LED sees the full voltage and the battery current is the sum of both branches.
Pro tip: Remove one LED: the series string goes dark, the parallel branch keeps working.
Practice: Open Try it live in this lecture's resources to run the circuit in your browser (free, no sign-up). Your circuit card for this lesson, with a table for your own readings, is in the Unit 1 circuit cards PDF.
Arabic subtitles are built into this video.
Use one potentiometer as a dimmer and as an adjustable voltage divider.
What you need: 9 V battery; 10 kΩ potentiometer; 470 Ω fixed resistor; LED; Multimeter.
Key formula: Dimmer: I = (V − V LED) / (R fixed + R pot) · Divider: V wiper = V in × position
What you should see: Turning the knob changes the LED brightness smoothly; as a divider the wiper voltage moves from 0 V to the full supply.
Pro tip: Keep the fixed resistor in series: at one end of the knob the pot is almost 0 Ω and the LED would take too much current.
Practice: Open Try it live in this lecture's resources to run the circuit in your browser (free, no sign-up). Your circuit card for this lesson, with a table for your own readings, is in the Unit 1 circuit cards PDF.
Arabic subtitles are built into this video.
See how a diode lets current flow one way only and use it for polarity protection.
What you need: 9 V battery; 1N4007 diode; LED + 470 Ω resistor; Multimeter (diode mode).
Key formula: Forward voltage ≈ 0.7 V (silicon) · reverse current ≈ 0
What you should see: Forward: the LED lights and the diode drops about 0.7 V. Reversed: nothing flows, so a battery connected backwards cannot damage the circuit.
Pro tip: The stripe on the body marks the cathode. A series protection diode costs you about 0.7 V of supply.
Practice: Open Try it live in this lecture's resources to run the circuit in your browser (free, no sign-up). Your circuit card for this lesson, with a table for your own readings, is in the Unit 1 circuit cards PDF.
Arabic subtitles are built into this video.
Read a resistor's value from its colour bands.
What you need: Assorted resistors (10 Ω, 220 Ω, 1 kΩ, 4.7 kΩ); Multimeter to confirm.
Key formula: Black 0 · Brown 1 · Red 2 · Orange 3 · Yellow 4 · Green 5 · Blue 6 · Violet 7 · Grey 8 · White 9 → value = (digit 1, digit 2) × 10^multiplier
What you should see: Brown-black-black = 10 Ω · Red-red-brown = 220 Ω · Brown-black-red = 1 kΩ · Yellow-violet-red = 4.7 kΩ. Gold = ±5 %, silver = ±10 %.
Pro tip: Start reading from the end away from the gold or silver band.
Practice: Open Try it live in this lecture's resources to run the circuit in your browser (free, no sign-up). Your circuit card for this lesson, with a table for your own readings, is in the Unit 2 circuit cards PDF.
Arabic subtitles are built into this video.
Measure resistance, voltage and current correctly with a multimeter.
What you need: Multimeter; 9 V battery; LED + 470 Ω resistor circuit.
Key formula: Voltage: meter in parallel · Current: meter in series · Resistance: power off
What you should see: The resistor shows its marked value (power off), the LED circuit shows about 7 V across the resistor and about 15 mA in series.
Pro tip: Never put the meter in current mode across a battery: it is a short circuit and blows the meter's fuse.
Practice: Open Try it live in this lecture's resources to run the circuit in your browser (free, no sign-up). Your circuit card for this lesson, with a table for your own readings, is in the Unit 2 circuit cards PDF.
Arabic subtitles are built into this video.
Understand why resistors heat up, and choose the right power rating.
What you need: 9 V supply; 100 Ω and 22 Ω resistors, 1/4 W (to see the problem); 1 W resistor (the fix).
Key formula: P = V × I = V² / R = I² × R
What you should see: 100 Ω across 9 V: 0.81 W, about 3 × the rating of a 1/4 W part, so it gets very hot. 22 Ω across 9 V: about 3.7 W, about 15 × the rating, so it burns.
Pro tip: Choose a rating at least twice the power you calculate. A short circuit puts the whole supply across almost zero resistance.
Practice: Open Try it live in this lecture's resources to run the circuit in your browser (free, no sign-up). Your circuit card for this lesson, with a table for your own readings, is in the Unit 2 circuit cards PDF.
Arabic subtitles are built into this video.
Give each LED colour its own resistor so all colours get the same current.
What you need: 9 V battery; Red, green and blue LEDs; 470 Ω (red), 430 Ω (green), 390 Ω (blue).
Key formula: R = (V supply − V F) / I with V F ≈ 2.0 V red, ≈ 2.2–3.0 V green, ≈ 3.0–3.2 V blue
What you should see: With one shared resistor the red LED takes most of the current and the blue barely lights. With one resistor per colour each LED gets about 15 mA.
Pro tip: The shorter the light's wavelength, the higher the forward voltage. Check the datasheet of your exact LED.
Practice: Your circuit card for this lesson, with a table for your own readings, is in the Unit 2 circuit cards PDF.
Arabic subtitles are built into this video.
Hold a steady 5.1 V with a Zener diode while the supply moves from 8 V to 12 V.
What you need: 8–12 V adjustable supply; 5.1 V Zener diode (e.g. BZX55C5V1); 220 Ω series resistor; 1 kΩ load.
Key formula: R = (V in min − V Z) / (I load + I Z min) · P Z = V Z × I Z
What you should see: The output stays close to 5.1 V across the whole 8–12 V range. The resistor drops the difference.
Pro tip: The Zener needs headroom: if the input falls too close to 5.1 V, the output drops with it.
Practice: Open Try it live in this lecture's resources to run the circuit in your browser (free, no sign-up). Your circuit card for this lesson, with a table for your own readings, is in the Unit 3 circuit cards PDF.
Arabic subtitles are built into this video.
Build a steady 5 V supply with the 7805 regulator.
What you need: 7–12 V input; 7805 regulator; 0.33 µF input capacitor; 0.1 µF output capacitor; Load (e.g. LED + 330 Ω).
Key formula: P heat = (V in − 5 V) × I load
What you should see: 5.0 V at the output for inputs from about 7 V to 12 V. Below about 7 V the output falls (dropout ≈ 2 V).
Pro tip: 12 V in and 0.5 A out means 3.5 W of heat: use a heatsink. 7809, 7812 and 7905 (negative) are the same family.
Practice: Open Try it live in this lecture's resources to run the circuit in your browser (free, no sign-up). Your circuit card for this lesson, with a table for your own readings, is in the Unit 3 circuit cards PDF.
Arabic subtitles are built into this video.
Switch an LED on with a finger using a Darlington pair.
What you need: 9 V battery; 2 × BC547; Two touch contacts; 1 kΩ base resistor; LED + 470 Ω resistor.
Key formula: β total ≈ β1 × β2 (for example 100 × 100 = 10 000)
What you should see: Bridging the contacts with a finger lights the LED. The pair needs about 1.4 V between the first base and the emitter.
Pro tip: Keep the base resistor: it protects the transistors if the contacts are shorted.
Practice: Open Try it live in this lecture's resources to run the circuit in your browser (free, no sign-up). Your circuit card for this lesson, with a table for your own readings, is in the Unit 4 circuit cards PDF.
Arabic subtitles are built into this video.
Blink an LED with the 555 timer in astable mode.
What you need: 9 V battery; NE555; R1 1 kΩ, R2 47 kΩ; C 10 µF + 10 nF on pin 5; LED + 470 Ω.
Key formula: f ≈ 1.44 / ((R1 + 2 × R2) × C) = 1.44 / (95 kΩ × 10 µF) ≈ 1.5 Hz
What you should see: The capacitor voltage ramps between 1/3 and 2/3 of the supply, and the LED blinks about 1.5 times a second.
Pro tip: Pins: 1 GND, 8 VCC, 4 reset tied to VCC, 2 and 6 to the capacitor, 7 discharge, 3 output. Bigger C or R2 = slower.
Practice: Open Try it live in this lecture's resources to run the circuit in your browser (free, no sign-up). Your circuit card for this lesson, with a table for your own readings, is in the Unit 4 circuit cards PDF.
Arabic subtitles are built into this video.
Watch the 555 LED blinker from lesson 15 built on a breadboard: the NE555 across the centre gap, R1 1 kΩ, R2 47 kΩ, the 10 µF capacitor and the LED.
What to look for: The LED blinks about 1.5 times a second. Pin 4 and pin 8 go to +9 V, pin 1 to ground, pins 2 and 6 together to the capacitor.
Pause the video at any step and copy it on your own breadboard, or try the same circuit in the live simulator in the main lesson. Arabic subtitles are built into this video.
Make one button press give one timed pulse with the 555 in monostable mode.
What you need: 9 V battery; NE555; 470 kΩ timing resistor; 10 µF timing capacitor; 10 kΩ pull-up + push button on pin 2; LED + 470 Ω.
Key formula: T = 1.1 × R × C = 1.1 × 470 kΩ × 10 µF ≈ 5 s
What you should see: One short press lights the LED for about 5 s, then it switches itself off.
Pro tip: The trigger is active-low: the pull-up keeps pin 2 high until the button pulls it to ground.
Practice: Open Try it live in this lecture's resources to run the circuit in your browser (free, no sign-up). Your circuit card for this lesson, with a table for your own readings, is in the Unit 4 circuit cards PDF.
Arabic subtitles are built into this video.
Build two LEDs that take turns with two transistors and two capacitors.
What you need: 9 V battery; 2 × BC547; 2 × 47 kΩ base resistors; 2 × 10 µF capacitors; 2 × LED + 470 Ω.
Key formula: t half ≈ 0.7 × R × C = 0.7 × 47 kΩ × 10 µF ≈ 0.33 s
What you should see: The LEDs alternate about 1.5 times a second. Unequal capacitors give a short flash and a long pause, like a beacon.
Pro tip: Mind the capacitor polarity: the positive leg goes to the collector side.
Practice: Open Try it live in this lecture's resources to run the circuit in your browser (free, no sign-up). Your circuit card for this lesson, with a table for your own readings, is in the Unit 4 circuit cards PDF.
Arabic subtitles are built into this video.
Switch a 300 mA motor with a logic-level MOSFET.
What you need: 9 V supply; IRLZ44N logic-level MOSFET; 10 kΩ gate pull-down; 220 Ω gate resistor; 1N4007 flyback diode; Small DC motor.
Key formula: P loss = I² × R DS(on) (tiny when the MOSFET is fully on)
What you should see: A gate voltage of 5 V turns the motor on with almost no gate current, and V DS is close to 0 V.
Pro tip: Place the diode across the motor, cathode to +, so the motor's kickback cannot destroy the MOSFET.
Practice: Open Try it live in this lecture's resources to run the circuit in your browser (free, no sign-up). Your circuit card for this lesson, with a table for your own readings, is in the Unit 4 circuit cards PDF.
Arabic subtitles are built into this video.
Build a light alarm that switches cleanly at a level you set.
What you need: 5 V supply; LM393 comparator; LDR + 10 kΩ divider; 10 kΩ potentiometer (threshold); LED + 330 Ω from +5 V to the output.
Key formula: Output switches when V + crosses V −
What you should see: Turning the knob moves the switching point; the LED changes state the moment the light level crosses it.
Pro tip: The LM393 output can only pull down (open collector), so the LED or a pull-up goes from + supply to the output.
Practice: Open Try it live in this lecture's resources to run the circuit in your browser (free, no sign-up). Your circuit card for this lesson, with a table for your own readings, is in the Unit 4 circuit cards PDF.
Arabic subtitles are built into this video.
Trigger a buzzer and a red LED when a thermistor passes 50 °C.
What you need: 5 V supply; 10 kΩ NTC thermistor (on top); 10 kΩ resistor (bottom); LM393 + potentiometer for the threshold; Active buzzer + red LED.
Key formula: NTC: resistance falls as temperature rises (about 3.6 kΩ at 50 °C for a B3950 part)
What you should see: At 50 °C the divider gives about 3.7 V; set the threshold there. The alarm stops by itself when the part cools.
Pro tip: Check your thermistor's B value in the datasheet to find its resistance at your alarm temperature.
Practice: Your circuit card for this lesson, with a table for your own readings, is in the Unit 4 circuit cards PDF.
Arabic subtitles are built into this video.
Build a non-inverting amplifier with an LM358 and set its gain with two resistors.
What you need: 9 V supply; LM358; Rf 20 kΩ, Rg 10 kΩ; 10 kΩ potentiometer as input; LED + 470 Ω on the output.
Key formula: Gain = 1 + Rf / Rg = 1 + 20 k / 10 k = 3
What you should see: 1 V in gives 3 V out. Turn the input up and the output clips about 1.5 V below the supply (saturation).
Pro tip: The output settles where the minus input equals the plus input: that is what the feedback does.
Practice: Open Try it live in this lecture's resources to run the circuit in your browser (free, no sign-up). Your circuit card for this lesson, with a table for your own readings, is in the Unit 4 circuit cards PDF.
Arabic subtitles are built into this video.
Build AND and OR logic with two push buttons and an LED.
What you need: 5 V supply; 2 × push buttons; LED + 330 Ω.
Key formula: AND: buttons in series (1 only if A = 1 and B = 1) · OR: buttons in parallel (1 if A = 1 or B = 1)
What you should see: Series: the LED lights only with both buttons pressed. Parallel: either button lights it.
Pro tip: Write the truth table first, then test every row.
Practice: Open Try it live in this lecture's resources to run the circuit in your browser (free, no sign-up). Your circuit card for this lesson, with a table for your own readings, is in the Unit 5 circuit cards PDF.
Arabic subtitles are built into this video.
Store one bit with a two-transistor flip-flop.
What you need: 9 V battery; 2 × BC547; 2 × 10 kΩ cross-coupling resistors; SET and RESET push buttons; 2 × LED + 470 Ω.
Key formula: Two stable states: one transistor on, the other off
What you should see: Press SET: one LED lights and stays lit after you let go. Press RESET: the other LED takes over.
Pro tip: This is one bit of memory: the same idea as every register inside a chip.
Practice: Open Try it live in this lecture's resources to run the circuit in your browser (free, no sign-up). Your circuit card for this lesson, with a table for your own readings, is in the Unit 5 circuit cards PDF.
Arabic subtitles are built into this video.
Walk a light across four LEDs with a 555 clock and a CD4017 counter.
What you need: 9 V battery; NE555 astable (lesson 15); CD4017; 4 × LED + 1 kΩ; Wire from Q4 (pin 10) to reset (pin 15).
Key formula: CD4017 pins: Q0 = 3, Q1 = 2, Q2 = 4, Q3 = 7, Q4 = 10 · clock 14 · enable 13 to GND · reset 15
What you should see: Only one output is high at a time. With Q4 tied to reset, the light runs over the four LEDs with no dark gap.
Pro tip: Without the reset wire the counter goes through all ten outputs, so the row stays dark for six counts.
Practice: Open Try it live in this lecture's resources to run the circuit in your browser (free, no sign-up). Your circuit card for this lesson, with a table for your own readings, is in the Unit 5 circuit cards PDF.
Arabic subtitles are built into this video.
Watch the LED chaser from lesson 24 built step by step: a 555 clock driving a CD4017 counter, four LEDs, and the Q4 to reset wire.
What to look for: The light walks across the four LEDs with no dark gap because Q4 (pin 10) is wired to reset (pin 15).
Pause the video at any step and copy it on your own breadboard, or try the same circuit in the live simulator in the main lesson. Arabic subtitles are built into this video.
Switch a large load safely with a relay driven by a transistor.
What you need: 5 V supply; 5 V relay (coil about 70 mA); BC547 + 1 kΩ base resistor; 1N4007 flyback diode across the coil; Low-voltage lamp as the load.
Key formula: I coil = V / R coil (5 V / 70 Ω ≈ 70 mA)
What you should see: A small base current pulls the relay in; the COM contact moves from NC to NO with a click.
Pro tip: Practise with low voltage. Mains wiring needs proper enclosures and qualified hands.
Practice: Open Try it live in this lecture's resources to run the circuit in your browser (free, no sign-up). Your circuit card for this lesson, with a table for your own readings, is in the Unit 6 circuit cards PDF.
Arabic subtitles are built into this video.
Drive a buzzer as an alarm output.
What you need: 9 V battery; Active buzzer; BC547 + 1 kΩ; Push button or sensor as trigger.
Key formula: Active buzzer: DC on = sound · passive buzzer: needs a square wave (e.g. 2 kHz from a 555)
What you should see: Triggering the transistor makes the active buzzer sound continuously.
Pro tip: If a buzzer only clicks on DC, it is a passive one: feed it a tone.
Practice: Open Try it live in this lecture's resources to run the circuit in your browser (free, no sign-up). Your circuit card for this lesson, with a table for your own readings, is in the Unit 6 circuit cards PDF.
Arabic subtitles are built into this video.
Show digits on a seven-segment display.
What you need: 5 V supply; Common-cathode 7-segment display; CD4511 BCD-to-7-segment decoder; 7 × 330 Ω (one per segment); 4 switches for the BCD input.
Key formula: BCD input (0000–1001) → segments a–g
What you should see: Each switch combination from 0000 to 1001 shows the digits 0 to 9.
Pro tip: One resistor per segment, not one shared resistor, or the digit 8 will look dimmer than the digit 1.
Practice: Open Try it live in this lecture's resources to run the circuit in your browser (free, no sign-up). Your circuit card for this lesson, with a table for your own readings, is in the Unit 6 circuit cards PDF.
Arabic subtitles are built into this video.
Remove switch bounce so one press gives one clean edge.
What you need: 5 V supply; Push button; 10 kΩ + 100 nF RC filter (τ = 1 ms); 74HC14 Schmitt-trigger inverter; LED + 330 Ω.
Key formula: τ = R × C = 10 kΩ × 100 nF = 1 ms (longer than the bounce)
What you should see: Without the filter a counter jumps several steps per press; with it, it moves exactly one step.
Pro tip: Mechanical contacts bounce for about 1–10 ms. The Schmitt trigger turns the slow RC edge into a sharp one.
Practice: Open Try it live in this lecture's resources to run the circuit in your browser (free, no sign-up). Your circuit card for this lesson, with a table for your own readings, is in the Unit 6 circuit cards PDF.
Arabic subtitles are built into this video.
Generate a precise clock with a crystal oscillator.
What you need: 5 V supply; Crystal (e.g. 32.768 kHz or 16 MHz); Inverter (74HC04) + 1–10 MΩ feedback resistor; 2 × load capacitors (e.g. 22 pF).
Key formula: C L = (C1 × C2) / (C1 + C2) + C stray
What you should see: A stable square wave at the crystal's frequency. 32.768 kHz = 2^15, so 15 halvings give exactly 1 Hz.
Pro tip: Use the load capacitance in the crystal's datasheet and keep the traces short.
Practice: Open Try it live in this lecture's resources to run the circuit in your browser (free, no sign-up). Your circuit card for this lesson, with a table for your own readings, is in the Unit 6 circuit cards PDF.
Arabic subtitles are built into this video.
Detect motion with a PIR module.
What you need: 5 V supply; HC-SR501 PIR module; BC547 + 1 kΩ; LED or buzzer + resistor.
Key formula: Output: about 3.3 V high for the set time after motion
What you should see: Walking in front of the sensor switches the output high; it returns low after the time set on the delay knob.
Pro tip: Allow about one minute to settle after power-up. The two knobs set sensitivity and on-time.
Practice: Your circuit card for this lesson, with a table for your own readings, is in the Unit 6 circuit cards PDF.
Arabic subtitles are built into this video.
Measure distance with an ultrasonic sensor.
What you need: 5 V supply; HC-SR04 module; Microcontroller or timer to read the echo pulse.
Key formula: Distance (cm) = echo time (µs) / 58 (sound at 343 m/s, there and back)
What you should see: A 10 µs trigger pulse starts a measurement; an object 20 cm away gives an echo pulse of about 1160 µs.
Pro tip: Range is about 2–400 cm. Soft or angled surfaces may not reflect enough sound.
Practice: Your circuit card for this lesson, with a table for your own readings, is in the Unit 6 circuit cards PDF.
Arabic subtitles are built into this video.
Charge a single lithium cell safely.
What you need: 5 V USB supply; TP4056 charger module with protection; 18650 cell (3.7 V nominal).
Key formula: Charge: constant current, then constant voltage at 4.2 V · R PROG 1.2 kΩ ≈ 1 A
What you should see: The red LED lights while charging; the green/blue LED shows when the cell reaches 4.2 V and the current tapers off.
Pro tip: Use a module with protection, never charge a damaged or frozen cell, and never leave a cell charging unattended.
Practice: Open Try it live in this lecture's resources to run the circuit in your browser (free, no sign-up). Your circuit card for this lesson, with a table for your own readings, is in the Unit 6 circuit cards PDF.
Arabic subtitles are built into this video.
Stop glitches with decoupling capacitors.
What you need: 5 V supply; Any IC circuit (e.g. 555 or counter); 100 nF ceramic capacitor per IC; 10–100 µF bulk capacitor at the power input.
Key formula: The capacitor supplies short current bursts locally, so the supply rail does not dip
What you should see: Without decoupling a counter may skip or reset at random; with 100 nF next to each VCC pin it runs cleanly.
Pro tip: Place the capacitor as close as possible to the IC's power and ground pins.
Practice: Open Try it live in this lecture's resources to run the circuit in your browser (free, no sign-up). Your circuit card for this lesson, with a table for your own readings, is in the Unit 6 circuit cards PDF.
Arabic subtitles are built into this video.
Control a motor's speed with PWM.
What you need: 9–12 V supply; NE555 PWM circuit with 2 steering diodes + 100 kΩ potentiometer; Logic-level MOSFET; 1N4007 flyback diode; DC motor.
Key formula: V average = duty cycle × V supply
What you should see: Turning the knob changes the duty cycle (and the motor speed) while the frequency stays roughly the same.
Pro tip: Above about 20 kHz the motor whine becomes inaudible; keep the flyback diode.
Practice: Open Try it live in this lecture's resources to run the circuit in your browser (free, no sign-up). Your circuit card for this lesson, with a table for your own readings, is in the Unit 6 circuit cards PDF.
Arabic subtitles are built into this video.
Switch a lamp on automatically at dusk.
What you need: 9–12 V supply; LDR + 220 kΩ divider; BC547 + 1 kΩ base resistor; Relay + flyback diode (or LED + 470 Ω).
Key formula: Divider voltage rises in darkness → transistor on
What you should see: Bright light: lamp off. Dark: lamp on. In the simulator, move the Light Level slider to see it.
Pro tip: If it flickers at dusk, add hysteresis (lesson 42).
Practice: Open Try it live in this lecture's resources to run the circuit in your browser (free, no sign-up). Your circuit card for this lesson, with a table for your own readings, is in the Unit 7 circuit cards PDF.
Arabic subtitles are built into this video.
Watch the automatic street light from lesson 35 built on a breadboard: the LDR and 220 kΩ divider, the BC547 and the lamp LED.
What to look for: Bright light keeps the lamp off; darkness raises the base voltage past 0.7 V and the lamp switches on.
Pause the video at any step and copy it on your own breadboard, or try the same circuit in the live simulator in the main lesson. Arabic subtitles are built into this video.
Run a red–yellow–green traffic light sequence.
What you need: 9 V supply; NE555 clock; CD4017 counter; Diodes (1N4148) to combine outputs; Red, yellow, green LEDs + 470 Ω.
Key formula: Each colour = OR of several counter outputs through diodes (longer red and green, short yellow)
What you should see: The lights step through red, green and yellow in a fixed repeating order.
Pro tip: Count how many clock steps each colour should last, then wire that many outputs to it.
Practice: Open Try it live in this lecture's resources to run the circuit in your browser (free, no sign-up). Your circuit card for this lesson, with a table for your own readings, is in the Unit 7 circuit cards PDF.
Arabic subtitles are built into this video.
Sound an alarm when a light beam is broken.
What you need: 9 V supply; LED or laser pointer as the beam; LDR divider; Comparator or transistor stage; Buzzer.
Key formula: Beam broken → LDR resistance rises → divider voltage changes → alarm
What you should see: The buzzer stays quiet while the beam reaches the LDR and sounds as soon as something blocks it.
Pro tip: Add a latch (a flip-flop, lesson 23) so the alarm keeps sounding after the beam returns.
Practice: Open Try it live in this lecture's resources to run the circuit in your browser (free, no sign-up). Your circuit card for this lesson, with a table for your own readings, is in the Unit 7 circuit cards PDF.
Arabic subtitles are built into this video.
Build NOT and NAND gates and see why NAND is universal.
What you need: 5 V supply; BC547 + 10 kΩ base, 1 kΩ collector (NOT); CD4011 quad NAND; 2 push buttons; LED + 330 Ω.
Key formula: NOT: out = not A · NAND: out = not (A and B)
What you should see: The NAND output is low only when both inputs are high. Tie both NAND inputs together and it becomes a NOT gate.
Pro tip: Any logic function can be built from NAND gates alone.
Practice: Open Try it live in this lecture's resources to run the circuit in your browser (free, no sign-up). Your circuit card for this lesson, with a table for your own readings, is in the Unit 7 circuit cards PDF.
Arabic subtitles are built into this video.
Measure an unknown resistance with a Wheatstone bridge.
What you need: 5 V supply; R1, R2, R3 (e.g. 1 kΩ each); Unknown Rx; Potentiometer to balance; Multimeter between the two midpoints.
Key formula: Balance when R1 / R2 = R3 / Rx → Rx = R3 × R2 / R1
What you should see: At balance the meter between the two midpoints reads 0 V; a small change in Rx gives a clear voltage.
Pro tip: This is how strain gauges and many sensors are read.
Practice: Open Try it live in this lecture's resources to run the circuit in your browser (free, no sign-up). Your circuit card for this lesson, with a table for your own readings, is in the Unit 7 circuit cards PDF.
Arabic subtitles are built into this video.
Light an LED when a 9 V battery runs low.
What you need: 9 V battery; 5.1 V Zener as reference; Resistor divider; LM393 comparator; LED + 470 Ω.
Key formula: Threshold V battery = V ref × (1 + R top / R bottom)
What you should see: Above the threshold (for example 7 V) the LED is off; below it the LED lights.
Pro tip: Choose the divider so the threshold matches the lowest voltage your device can use.
Practice: Open Try it live in this lecture's resources to run the circuit in your browser (free, no sign-up). Your circuit card for this lesson, with a table for your own readings, is in the Unit 7 circuit cards PDF.
Arabic subtitles are built into this video.
Keep a light on for a while after the switch opens.
What you need: 9 V battery; Switch; 470 µF capacitor; BC547 (or Darlington) + base resistor; LED + 470 Ω.
Key formula: Delay grows with R base × C
What you should see: Closing the switch charges the capacitor and lights the LED; after opening it the LED stays on, then fades out.
Pro tip: A Darlington pair draws less base current, so the same capacitor gives a longer delay.
Practice: Open Try it live in this lecture's resources to run the circuit in your browser (free, no sign-up). Your circuit card for this lesson, with a table for your own readings, is in the Unit 7 circuit cards PDF.
Arabic subtitles are built into this video.
Add hysteresis so a switch does not chatter near its threshold.
What you need: 5 V supply; LM393 or op-amp; Input divider; Positive feedback resistor Rf; LED + 330 Ω.
Key formula: Hysteresis ≈ output swing × R1 / (R1 + Rf)
What you should see: There are two thresholds: one for switching on and a lower one for switching off, so slow inputs give one clean change.
Pro tip: This fixes the street light that flickers at dusk.
Practice: Open Try it live in this lecture's resources to run the circuit in your browser (free, no sign-up). Your circuit card for this lesson, with a table for your own readings, is in the Unit 7 circuit cards PDF.
Arabic subtitles are built into this video.
Show the water level in a tank with LEDs.
What you need: 9 V supply; Stainless probes at each level + a common probe; BC547 + 100 kΩ base resistor per level; LED + 470 Ω per level.
Key formula: Water bridges the probe to the base, giving a small base current
What you should see: Each LED lights when the water reaches its probe.
Pro tip: Use stainless probes and keep the current small to reduce corrosion.
Practice: Open Try it live in this lecture's resources to run the circuit in your browser (free, no sign-up). Your circuit card for this lesson, with a table for your own readings, is in the Unit 7 circuit cards PDF.
Arabic subtitles are built into this video.
Turn AC into DC with a bridge rectifier and smooth it.
What you need: 12 V AC transformer secondary (never mains directly); 4 × 1N4007 or a bridge (e.g. DB107); 1000 µF smoothing capacitor; Load resistor.
Key formula: V peak out ≈ V peak in − 1.4 V · ripple ≈ I / (2 × f × C)
What you should see: Two diodes conduct on each half cycle; the capacitor fills in the gaps and leaves a small ripple.
Pro tip: 12 V AC is about 17 V peak, so use a capacitor rated 25 V or more.
Practice: Open Try it live in this lecture's resources to run the circuit in your browser (free, no sign-up). Your circuit card for this lesson, with a table for your own readings, is in the Unit 7 circuit cards PDF.
Arabic subtitles are built into this video.
Combine capacitors in parallel and in series.
What you need: 9 V supply; 2 × 100 µF capacitors; Resistor for charging; Multimeter.
Key formula: Parallel: C = C1 + C2 · Series: 1 / C = 1 / C1 + 1 / C2
What you should see: Two 100 µF in parallel act as 200 µF (slower charge); in series they act as 50 µF (faster charge) but share the voltage.
Pro tip: In series the voltage ratings add, but use balancing resistors if the voltage is near the limit.
Practice: Open Try it live in this lecture's resources to run the circuit in your browser (free, no sign-up). Your circuit card for this lesson, with a table for your own readings, is in the Bonus circuit cards PDF.
Arabic subtitles are built into this video.
Join two circuits with light through an optocoupler.
What you need: Two separate supplies; PC817 optocoupler; Input LED resistor (5–10 mA); Output pull-up (e.g. 4.7 kΩ).
Key formula: I LED = (V in − 1.2 V) / R · I out ≈ CTR × I LED
What you should see: When the input LED is on, the output transistor pulls the output low, with no electrical connection between the sides.
Pro tip: Keep the two grounds separate, otherwise you lose the isolation.
Practice: Your circuit card for this lesson, with a table for your own readings, is in the Bonus circuit cards PDF.
Arabic subtitles are built into this video.
Run a motor forward and in reverse with an H-bridge.
What you need: 9 V supply; 4 switches (or an L293D / L298N driver); DC motor.
Key formula: Close one diagonal pair → forward · other diagonal → reverse
What you should see: Swapping the diagonal reverses the motor. Opening all four lets it coast.
Pro tip: Never close both switches on the same side: that shorts the supply (shoot-through).
Practice: Open Try it live in this lecture's resources to run the circuit in your browser (free, no sign-up). Your circuit card for this lesson, with a table for your own readings, is in the Bonus circuit cards PDF.
Arabic subtitles are built into this video.
Control one light from two switches.
What you need: Low-voltage supply; 2 × SPDT switches; Lamp or LED + resistor.
Key formula: Light = A XOR B (or XNOR, depending on wiring)
What you should see: Flipping either switch changes the light, whatever the other switch is doing.
Pro tip: The two wires between the switches are called travellers.
Practice: Open Try it live in this lecture's resources to run the circuit in your browser (free, no sign-up). Your circuit card for this lesson, with a table for your own readings, is in the Bonus circuit cards PDF.
Arabic subtitles are built into this video.
Build a door alarm with a reed switch and a magnet.
What you need: 9 V battery; Reed switch + magnet; BC547 + resistors; Buzzer.
Key formula: Magnet near → reed closed · door opens → reed opens → alarm
What you should see: With the door closed the buzzer is silent; opening the door sounds it.
Pro tip: Check whether your reed switch is normally open or normally closed.
Practice: Open Try it live in this lecture's resources to run the circuit in your browser (free, no sign-up). Your circuit card for this lesson, with a table for your own readings, is in the Bonus circuit cards PDF.
Arabic subtitles are built into this video.
Watch the magnetic door alarm from lesson 49 built step by step: the reed switch, the 10 kΩ base resistor, the BC547 and the buzzer.
What to look for: With the magnet near, the reed holds the base at 0 V. Take the magnet away (open the door) and the buzzer sounds.
Pause the video at any step and copy it on your own breadboard, or try the same circuit in the live simulator in the main lesson. Arabic subtitles are built into this video.
Check if a point is high or low with a logic probe.
What you need: Supply from the circuit under test; Comparators or transistors; Red LED (high) + green LED (low).
Key formula: CMOS: high ≥ 0.7 × V DD, low ≤ 0.3 × V DD
What you should see: Red for a valid high, green for a valid low, neither for an undefined or floating point.
Pro tip: A floating input that reads neither is often the bug.
Practice: Your circuit card for this lesson, with a table for your own readings, is in the Bonus circuit cards PDF.
Arabic subtitles are built into this video.
Turn PWM into a steady voltage with an RC low-pass filter.
What you need: PWM source (555 or microcontroller); 10 kΩ resistor; 10 µF capacitor; Multimeter.
Key formula: f c = 1 / (2π × R × C) ≈ 1.6 Hz for 10 kΩ and 10 µF
What you should see: The output is a near-steady DC voltage equal to duty cycle × V high, with a small ripple.
Pro tip: Choose f c well below the PWM frequency: a larger RC means less ripple but a slower response.
Practice: Open Try it live in this lecture's resources to run the circuit in your browser (free, no sign-up). Your circuit card for this lesson, with a table for your own readings, is in the Bonus circuit cards PDF.
Arabic subtitles are built into this video.
Make a small signal bigger with a common-emitter amplifier.
What you need: 9 V supply; BC547; Bias divider (e.g. 47 kΩ / 10 kΩ); R C 4.7 kΩ, R E 1 kΩ; Input and output coupling capacitors (10 µF).
Key formula: Gain ≈ − R C / R E = − 4.7 (inverted)
What you should see: A small AC input appears at the collector about 4.7 times larger and upside down.
Pro tip: If the output clips, the bias point is off-centre or the input is too large.
Practice: Open Try it live in this lecture's resources to run the circuit in your browser (free, no sign-up). Your circuit card for this lesson, with a table for your own readings, is in the Bonus circuit cards PDF.
Arabic subtitles are built into this video.
Get about twice the input voltage with two diodes and two capacitors.
What you need: AC or square-wave source; 2 × 1N4148 / 1N4007; 2 × capacitors (e.g. 10 µF); Light load.
Key formula: V out ≈ 2 × V peak − 2 × V F
What you should see: With no load the output is close to twice the peak; it drops as the load current rises.
Pro tip: Voltage doublers suit light loads only.
Practice: Open Try it live in this lecture's resources to run the circuit in your browser (free, no sign-up). Your circuit card for this lesson, with a table for your own readings, is in the Bonus circuit cards PDF.
Arabic subtitles are built into this video.
Drive an LED with a constant current.
What you need: 9–12 V supply; LM317; 62 Ω resistor between OUT and ADJ; LED.
Key formula: I = 1.25 V / R = 1.25 / 62 ≈ 20 mA
What you should see: The LED current stays at about 20 mA even when the supply voltage changes.
Pro tip: Constant current is how LEDs are driven in real products: brightness does not depend on the battery.
Practice: Open Try it live in this lecture's resources to run the circuit in your browser (free, no sign-up). Your circuit card for this lesson, with a table for your own readings, is in the Bonus circuit cards PDF.
Arabic subtitles are built into this video.
Learn electronics by building real circuits. This hands-on course takes you from zero to a solid, practical understanding of electronics through 44 short, focused lessons. Every lesson explains one idea and then applies it immediately to a circuit that actually works, so you see what happens inside the circuit instead of memorising formulas.
Arabic subtitles built in: every video is taught in English with Arabic subtitles burned directly into the video, so no separate caption file is needed. الدورة باللغة الإنجليزية، وكل الفيديوهات مترجمة للعربية مباشرة داخل الفيديو.
What you will cover
Core components: why an LED needs a resistor, how a light sensor works, how a capacitor stores energy, the transistor as a switch, series and parallel circuits, the potentiometer and the diode
Measurement and safety: reading resistor colour codes, using a multimeter, why resistors heat up and burn, and why each LED colour needs its own resistor
Power supply: the Zener diode for a steady voltage and the 7805 regulator for a stable 5V supply
Working circuits: a touch switch, the 555 timer as a blinker and as a one-shot pulse, an alternating flasher, a MOSFET motor driver, an adjustable comparator alarm, a thermistor heat alarm and an op-amp amplifier
Digital logic: AND and OR gates with two buttons, the flip-flop that remembers, and an LED chaser driven by a counter
Control, sensing and signals: relays, buzzer alarms, seven-segment displays, switch debouncing, crystal oscillators, PIR motion and ultrasonic sensors, a lithium battery charger, decoupling capacitors and PWM motor speed control
Real-world applications: an automatic street light, a traffic light controller, a light beam alarm, NOT and NAND gates, the Wheatstone bridge, a low battery indicator, a delay-off light, hysteresis, a water level indicator and the bridge rectifier
More than videos: you practise every idea
Live circuit simulator in 48 lessons: the circuit opens in your browser already built, so you can change values and watch what happens (free, no sign-up).
Downloadable workbook: a one-page circuit card for every lesson with the parts, the key formula, the readings you should expect and a table for your own measurements, plus a master parts list for the whole course.
A quiz at the end of every unit to check that the idea really clicked.
AI role-play conversations: help a friend fix a circuit that does not work, just like a real troubleshooting job.
Hands-on labs in the first lessons and 10 bonus circuits after the main 44.
How the course is taught: each short video starts with a practical question, explains the principle with clear diagrams, then builds the circuit step by step and shows the result. No prior experience is needed.
Your instructor: Eng. Ayman Ibrahim Kaifi, founder of Tectronix, with more than 35 years of experience in industrial electronics and control, who has supervised many graduation and hands-on projects.
This course is ideal for students, innovators, idea owners and entrepreneurs who want a strong foundation before designing their first electronic device, or who want to understand what happens inside the products they develop.