Uni-Sine
Computer ScienceCourses

Circuits: an interactive basic electronics course

Circuits is an interactive basic electronics course that builds from a single loop to digital logic. Its 28 short sections cover voltage, current and resistance, Ohm's law, series and parallel circuits, voltage dividers, capacitors and RC timing, LEDs and transistors, logic gates, truth tables, combining gates and Boolean expressions, with a practice question every couple of sections.

The first half is the analogue electronics behind every gadget; the second half is the digital logic inside every computer. Together they are the groundwork for Arduino and Raspberry Pi projects.

What the course covers

SectionsTopicWhat you do
1 to 4What a circuit is, and Ohm's lawSolve for voltage, current or resistance
5 to 8Resistors, series and parallel circuitsFind the total resistance of a network
9 to 10Voltage dividersCalculate the output voltage of a divider
11 to 13Capacitors, charging and dischargingWork out an RC time constant
14 to 15LEDs and transistorsSize the series resistor for an LED
16 to 21Logic gates and truth tablesPredict a gate's output, then complete a truth table
22 to 26Combining gates and Boolean expressionsTrace a two-gate circuit, then match expressions to circuits
27 to 28Putting it all togetherA review quiz from across the course

Analogue circuits

Ohm's law, V = IR, links voltage, current and resistance and runs through everything else. In series the same current flows through every part and resistances add; in parallel every branch gets the full voltage and the total resistance falls. Two resistors in series make a voltage divider, giving a fraction of the supply, which is how many sensors are read.

V=IR

Capacitors and timing

A capacitor stores energy and charges through a resistor along a curve, not a straight line. The time constant RC sets the pace: after one RC the capacitor reaches about 63% of the supply voltage.

y = 5\cdot\left(1-{ e}^{\left(- x\right)}\right)
0.511.522.533.544.55123453.16 V after 1 RC
Drag to pan, scroll to zoom. x from 0 to 5, y from -0.993 to 5.96.

Here x is time measured in time constants (RC) and y is the capacitor's voltage. It rises quickly at first, then levels off towards 5 V.

Digital logic

Logic gates take binary inputs and give one output: AND needs both inputs on, OR needs at least one, NOT flips its input, and NAND can build every other gate. Truth tables list every input combination, and Boolean expressions such as A · B + C describe whole circuits.

Try a question from the course

Rearrange V = IR for the unknown. A 9 V supply across a 450 Ω resistor gives a current of I = V ÷ R = 9 ÷ 450 = 0.02 A, or 20 mA.

Now solve a new Ohm's law problem, then press Mark to check your answer in the course.

Solve for the unknown V, I, or R using Ohm's law.

Press Mark to have your answer marked in the Circuits course.

Who this course is for

  • Beginners in electronics who want to understand the components in a starter kit.
  • GCSE and A-level students revising circuits in physics, or logic gates and Boolean expressions in computer science.
  • Makers heading for Arduino, ESP32 or Raspberry Pi projects.

What you need to know first

The course page suggests Electricity first, for charge, current and voltage. You also need to rearrange simple formulas and work with fractions for parallel resistors.

How long it takes

There are 28 sections and most take a few minutes. Learners without a plan can open two sections of a course a day, in order, so the whole course takes 14 days. A plan removes the daily limit and lets you go straight to any topic, such as logic gates. Our conditional and logical statements guide shows the same AND, OR and NOT logic in code.

Interactive calculatorLogic Gate SimulatorWire up gates, flip the inputs and watch the signals flow through your own circuits.
Guided courseMicro ControllersPut circuits under program control with an Arduino, ESP32 or Pico.

Common questions

Is this electronics course free?
You can take every section without paying, two sections a day, in order. A plan removes the daily limit and opens any section straight away.
What is the difference between series and parallel circuits?
In series, parts are in one loop, the same current flows through each and the voltages add up to the supply. In parallel, parts sit on separate branches, each gets the full supply voltage and the currents add up.
What is a voltage divider?
Two resistors in series across a supply. The voltage between them is a fixed fraction of the supply, set by the ratio of the resistors: Vout = Vin × R2 ÷ (R1 + R2).
Why does an LED need a resistor?
Without one, too much current flows and the LED burns out. The resistor drops the voltage the LED does not use and sets a safe current.
What is the RC time constant?
The resistance times the capacitance, in seconds. It sets how fast a capacitor charges or discharges: after one time constant it has reached about 63% of the way.
Why is NAND called a universal gate?
Because any other gate, and so any digital circuit, can be built from NAND gates alone.

Revision cards

Say the answer first, then flip the card to check it.

Where to go next

  • Solve it

    Circuit Builder

    Build any DC circuit with meters, lamps, LEDs and sensors, and see live readings

    Open the tool
  • Learn it

    Circuits

    Resistors, capacitors and logic gates: build and understand real circuits

    Start the course
  • Test it

    GCSE Physics Higher

    A new exam-style paper every day, with instant marking and a mark scheme

    Start today's paper
Read next
Computer Science · Data and logicLogic gate simulator: build circuits, see the truth tableBuild logic circuits from AND, OR, NOT, NAND, NOR and XOR gates, flip switches and watch the signals, with a live truth table and an expression per lamp.