📘 CodingMarble Learn

Basic Electronics: Components and Circuits

Electronics uses small components to control electric current. A battery or power supply gives energy; a switch opens or closes the path. A resistor limits current (V = IR), a capacitor stores charge and can smooth or delay a signal, a diode lets current flow only one way, an LED is a diode that gives light, and a transistor uses a small base current to switch or amplify a much bigger current. Each part has a standard circuit symbol. Circuits are planned on paper or in a simulator, tried on a breadboard, and made permanent by soldering on a circuit board, using the right materials and safety steps. Analogue circuits handle smoothly changing signals; digital circuits handle on/off signals.

🎬 Step-by-step story

  1. Meet the parts on a circuit board: battery, switch, resistor, capacitor, diode, LED and transistor.
  2. A resistor holds back the current so the LED gets just enough. The yellow dots show the current flowing.
  3. A capacitor fills up with charge like a tiny tank. Then it empties through the LED, which slowly fades.
  4. A diode is a one-way door. Put it the right way and current flows. Turn it round and nothing flows.
  5. A transistor is an electronic switch. A tiny current at its base turns on a big current for a lamp.
  6. Free play: change the battery, the resistor and the LED direction. Keep the LED current safe.

Tip: drag the 3D scene to turn it. Use two fingers to zoom.

🤔 Common doubts, cleared

Why do we need so many different parts?

Each does one job: give energy, block, store, steer or switch. Together they control the current exactly. Step 1 shows them side by side.

Doesn't a resistor waste energy?

Yes, a little turns into heat, but without it the LED gets too much current and burns out. Try 100 Ω at 12 V in free play.

How is a capacitor different from a battery?

A capacitor only stores charge for a short time and gives it back quickly; a battery makes energy from chemicals for a long time. Watch the bar fill and empty in step 3.

Why does an LED not work when put in backwards?

An LED is a diode, a one-way door for current. Compare the top and bottom circuits in step 4.

How can a small current control a big one?

The base current opens the transistor's main path, which is fed by its own battery. See the small and big loops in step 5.

What do the moving dots mean?

They show conventional current going from + round to −. More dots moving faster = more current.

Electronic control: from switches to chips

Electric circuits carry current to make things work. Electronic circuits go further: they control the current using components made of semiconductors. Control grew from hand switches and relays (electric magnets that move a switch), to vacuum tubes (1900s), to transistors (1947) and finally integrated circuits (chips) holding billions of transistors.

A control system has an input (switch, sensor), a process (transistor, chip) and an output (lamp, LED, motor, buzzer).

Basic components and their symbols

ComponentJobSymbol (described)
Cell / batteryGives energy (voltage)Long thin line (+) and short thick line (−); a battery repeats the pair
SwitchOpens or closes the pathA line hinged up from a gap
ResistorLimits currentA small rectangle (zig-zag in some books)
Variable resistor / potentiometerAdjustable resistance, e.g. volume knobRectangle with an arrow through or onto it
CapacitorStores chargeTwo short parallel plates
DiodeOne-way currentA triangle pointing at a bar
LEDDiode that gives lightDiode symbol with two arrows pointing out
LDR / thermistorResistance changes with light / temperatureResistor with arrows in / with a slanted line
Transistor (NPN)Switch or amplifierCircle with base line; arrow on the emitter pointing out

Passive components (resistor, capacitor, inductor) cannot add energy or amplify. Active components (transistor, chips) can control or amplify using a power supply.

Resistors and the colour code

A resistor sets the current using Ohm's law: I = V ÷ R. Its value is printed as coloured bands:

black 0, brown 1, red 2, orange 3, yellow 4, green 5, blue 6, violet 7, grey 8, white 9. Band 1 and 2 are digits, band 3 is the number of zeros (multiplier), band 4 is tolerance (gold ±5%, silver ±10%).

Example: orange–green–brown–gold = 3, 5, ×10 = 350 Ω ± 5%.

Resistors also have a power rating (often ¼ W). Power P = I²R must stay below it or the resistor overheats.

Capacitors, diodes, LEDs and transistors

Analogue and digital signals

An analogue signal can take any value in a range, like the changing voltage from a microphone or a temperature sensor. A digital signal has only two levels: 0 (low) and 1 (high). Amplifiers are analogue circuits; logic gates and microcontrollers are digital. An analogue-to-digital converter changes one into the other.

Building circuits: drawings, materials, simulation and soldering

  1. Plan: draw the circuit diagram with standard symbols, and a parts list (value, rating). Technical documents also include a board layout and wiring drawing.
  2. Simulate: test it in free circuit-simulation software and check currents before buying parts.
  3. Prototype: push parts into a breadboard; no solder needed, easy to change.
  4. Make it permanent: mount parts on a stripboard or printed circuit board (PCB) and solder them.

Materials: conductors (copper wire and tracks, tin-plated legs), insulators (PVC sleeving, the fibreglass board, heat-shrink tube), solder (a tin-based alloy, lead-free today) with flux inside. Boards are drilled and cut; wires are stripped, cut and crimped.

Soldering steps: clean and tin the hot iron tip (about 330 °C) → hold the tip on the pad and the leg together for 1–2 s → feed solder onto the joint, not the iron → remove solder, then the iron → a good joint is shiny and shaped like a small cone → trim the extra leg.

Safety: use a stand for the iron, work in fresh air (flux fumes), wear eye protection when trimming legs, never touch the tip, switch off and unplug when done, and never work on mains voltage.

Try it: an LED circuit

With a 9 V battery, one red LED and a few resistors (or the 3D free play): predict the current for 330 Ω, 470 Ω and 1 kΩ with I = (9 − 2) ÷ R. Which is brightest? Which is safest? Now turn the LED round: what happens and why?

Key formulas and definitions

Worked examples

1. Read the resistor: yellow–violet–red–gold.

4, 7, ×10² → 4700 Ω = 4.7 kΩ, ±5%.

2. A red LED (2 V, 20 mA) is run from a 9 V battery. What resistor is needed?

R = (9 − 2) ÷ 0.02 = 7 ÷ 0.02 = 350 Ω. Use the next standard value up, 390 Ω.

3. With a 5 V supply and a 150 Ω resistor, what current flows through a 2 V LED?

I = (5 − 2) ÷ 150 = 3 ÷ 150 = 0.02 A = 20 mA.

4. What power does the 350 Ω resistor in example 2 use? Is a ¼ W resistor fine?

P = I²R = 0.02² × 350 = 0.0004 × 350 = 0.14 W. Yes, 0.14 W < 0.25 W.

5. A 100 µF capacitor charges through a 10 kΩ resistor. Roughly how long is the delay?

t ≈ R × C = 10 000 × 0.0001 = 1 s.

6. A street light must come on at dusk. Name the input, process and output parts.

Input: an LDR (its resistance rises in the dark). Process: a transistor that switches on when the LDR makes the base voltage rise. Output: a relay and lamp (or an LED).

Common mistakes

Practice quiz

1. Which component lets current flow in one direction only?
2. What does a capacitor do?
3. A transistor can be used as:
4. Brown–black–red gives:
5. A good solder joint is:

Practice: answer these yourself

Type or choose your answer, then press Check. Use a hint if you are stuck; the full solution appears after you answer.

Frequently asked questions

What are the basic components of electronics?

Power source, switch, resistor, capacitor, diode, LED, transistor and integrated circuits (chips), plus wires and a board.

How do I calculate the resistor for an LED?

R = (supply voltage − LED voltage) ÷ LED current. For 9 V, a 2 V LED and 20 mA: (9 − 2) ÷ 0.02 = 350 Ω (use 390 Ω).

What is the difference between analogue and digital electronics?

Analogue circuits handle smoothly changing voltages (like sound); digital circuits handle just two levels, 0 and 1 (like computers).

Where this is taught

ItalySecondaria di secondo grado – classe 1ªTechnological-environmental sector
RomaniaClasa a IX-aElectronics and automation
Spain4º ESOTechnological operators
England (GCSE, A level)Year 9Technical knowledge
Japan高校(専門学科)1〜3年Production Technology
Japan高校(専門学科)1〜3年Electronic Technology
South Korea중학교 2학년Sustainable technology and convergence
South Korea고등학교 2학년Engineering and manufacturing
China高二Sel.1 Electronic control technology (engineering series)

Learn first

Learn next

Related lessons

All Physics lessons