Ages 14-15 · Technology and Digitalization · Electronics
Electronics: Electronic Components Explained with a Simulator
Electronics uses electric current to handle information and control other devices, not just to carry energy: that is the border that separates it from electricity. In this unit for ages 14-15 you will get to know the electronic components one by one: resistors and their color code, capacitors, the LDR, the NTC, diodes, the LED, the Zener and the transistor. And above all you will build with them: the unit includes its own simulator, the «Electronics lab», with a breadboard where circuits are built with two taps and 12 challenges that mark themselves. It is one of the interactive Technology resources on SoyTecnoTeacher, following the curriculum of the Region of Murcia (Spain).
What is electronics, and how is it different from electricity?
Both work with electric current, so it is a fair question. The difference is not in the phenomenon, but in what the current is used for.
In electricity, the current carries energy: it turns a motor, heats a resistor, lights a bulb. In electronics, the current carries information: it measures, decides and controls. A heater is electricity; the thermostat that decides when to switch it on is electronics.
From that idea comes the first way of classifying electronic components, and it is worth having it clear from the start because the whole unit is built around it:
| Type | What they can do | Examples |
|---|---|---|
| Passive | They limit, store or share out. Never does more come out than goes in | Resistor, capacitor, LDR, diode, LED |
| Active | They amplify: a tiny signal controls a much bigger one | Transistor, integrated circuit, microprocessor |
A warning that saves confusion: the test we use here is «does it amplify?», and with it the diode and the LED are passive —they transform or cut off, but they do not amplify—. You will find books that call them active because they are made of semiconductor: they are two different ways of classifying. Choose one and stick to it.
Quick exercise
Which of these sentences best describes the difference between electricity and electronics?
Resistors and capacitors: the two passive components you will use most
The resistor and its color code
A resistor limits the flow of current. Its value is measured in ohms (Ω) and, since the component is tiny, there is no room to write it: it is marked with colored bands. The first two bands are digits, the third tells you how many zeros to add and the fourth —gold or silver— is the tolerance.
The capacitor and charging time
A capacitor stores charge between two plates separated by an insulator. Its capacitance is measured in farads (F), a huge unit: in practice microfarads (µF), nanofarads (nF) and picofarads (pF) are used, jumping by a thousand each time.
The interesting thing is that it takes time to charge, and that delay can be calculated and used. The formula learned at this level is:
t = 5 · R · C
where t is the charging time in seconds, R the resistance in ohms and C the capacitance in farads (not in microfarads: that is the usual mistake).
Worked example: how long does it take to charge?
A 1 kΩ resistor with a 2200 µF capacitor:
- Convert the units: 1 kΩ = 1000 Ω and 2200 µF = 0.0022 F.
- Multiply: t = 5 × 1000 × 0.0022 = 11 seconds.
And the other way round, which is how it comes up in exams: if you want a 5-second flash with a 500 Ω resistor, you solve for C = t ÷ (5·R) = 5 ÷ 2500 = 0.002 F = 2000 µF. Both results are checked in the unit’s simulator: they give exactly 11.00 and 5.00 seconds.
Quick exercise
A circuit takes 4 seconds to charge. If you double the resistor and also the capacitor, how long will it take?
Components that notice what is happening outside
This is where electronics starts to look like what it does for you every day. There are resistors whose value is not fixed: it changes with light, with temperature or with a knob. They are the simplest way a circuit has of finding out about its surroundings.
| Component | What makes it change | How it changes | Where you see it |
|---|---|---|---|
| LDR (light-dependent resistor) | Light | More light → less resistance | Street lights that switch on by themselves |
| NTC (thermistor) | Temperature | More heat → less resistance | Thermostats, probes |
| PTC | Temperature | More heat → more resistance | Protection against overheating |
| Potentiometer | Your hand | You adjust it by turning it | The good old volume knob |
The ranges are huge, and that is why they work so well as sensors. In the unit’s simulator, the LDR goes from 100 Ω in full light to 1 MΩ in the dark —ten thousand times more—, and the NTC goes from 28.7 kΩ at 0 °C to 987 Ω at 100 °C.
A trick so you do not mix up NTC and PTC: the N stands for negative, the resistance goes the opposite way to temperature; the P stands for positive, they go together. And watch out, because in a circuit diagram they are drawn the same: only the −t or +t mark tells them apart.
Semiconductors and diodes
A semiconductor neither conducts well nor insulates well: it is in the middle, and that is what makes it special, because we can decide when it lets current through. The material is silicon, which is basically sand and the second most abundant element in the Earth’s crust.
Pure silicon is not much use. What turns it into a component is doping it: adding a few atoms of another element in every million, to change how it behaves. There are two opposite ways: N-type has extra free electrons and P-type has holes, places where an electron is missing.
A diode is exactly that with two leads: it only lets current through in one direction. Its leads are called the anode and the cathode, and the current goes from the anode to the cathode, never the other way round. Connecting it with the + toward the anode is forward bias (it conducts); the other way round is reverse bias (it blocks).
The practical rule: in the symbol, the bar marks the cathode; on the real component, the painted stripe is the same thing. If you fit a diode and no current flows, the first thing to look at is whether it is the wrong way round.
The same P-N junction is used to make three components with different jobs: the rectifier (it protects and turns alternating current into direct current), the LED (which gives off light when it conducts) and the Zener (which, working in reverse, keeps its voltage fixed even if the input voltage changes).
A fact that is easier to understand by measuring than by reading. With the same 9 V battery and the same 470 Ω resistor, measured in the unit’s simulator:
- A silicon diode keeps 0.73 V and lets 17.60 mA through.
- An LED keeps 1.81 V and lets 15.30 mA through.
Both conduct in one direction only; the difference is what it costs to get through them, and the extra voltage the LED asks for is what comes out as light.
The transistor: the component that changed everything
Everything above is passive: it limits, stores or cuts off. The transistor is different, and it is what really sets electronics apart from electricity: with a tiny current in one lead it controls a much bigger one between the other two.
Its three leads have names and different roles: the base is the one in charge, the collector is where the big current goes in and the emitter is where both come out together. There are two families, NPN and PNP, depending on the order of the silicon layers, and in the symbol only the direction of the emitter arrow tells them apart.
How much it amplifies: the gain
The gain is how many times bigger the collector current is than the base current. And here there is a lesson that surprises almost every student: putting the transistor in is not enough, you have to give it the right base current. These measurements come from the unit’s simulator, with an LED and its 470 Ω resistor:
| Base resistor | Base current | LED current | Gain |
|---|---|---|---|
| 470 Ω | 17.52 mA | 15.27 mA | 0.9 — it amplifies nothing |
| 10 kΩ | 0.83 mA | 15.17 mA | 18 |
| 100 kΩ | 0.083 mA | 14.93 mA | 180 |
| 1 MΩ | 0.0083 mA | 1.67 mA | 200 |
Look at the first row: with 470 Ω the LED lights up just the same, so at first sight it seems to work. But 17.52 mA are flowing through the base to control 15.27: it uses more than it handles. In class this is what works best to explain gain —the student sees the LED light up and discovers, by measuring, that the circuit is wrong—, and it is exactly why I built the simulator with a multimeter.
As well as amplifying, the transistor is used to switch on and off with no moving parts and millions of times a second. Chain that billions of times and you have a microprocessor: the chip in a modern phone has more than 15 billion transistors acting as switches.
Try it in the «Electronics lab» simulator
None of this is fully learned by reading. The unit’s simulator has a real breadboard —with its strips connected inside, like the one in the workshop— where components are placed with two taps: you choose the part and tap the two holes. It has a multimeter to measure between any two points, light and temperature controls to test the sensors, and twelve challenges that mark themselves: you will see the boxes tick as you build.
And the LED burns out if you give it too much current, which is the best way to learn why it always has a resistor in series.
How to use it
The first time you open it, an eight-step tutorial comes up that highlights each part in turn. After that: tap a component in the palette, tap the two holes where it goes, and repeat. The battery connects to the rails along the edges. If something does not fit, you can move a part without undoing the circuit or remove a wire. And with the challenges button you choose which one you want to try.
The project: automatic lighting
The unit ends by building something that exists on your street: a street light that switches on by itself at dusk. It brings together three of the components you have seen —the LDR that detects, the transistor that decides and the LED with its resistor that gives light— and it is, on a small scale, a complete automatic system.
The circuit is a voltage divider: a 100 kΩ resistor from the positive to the base and the LDR from the base to ground. In the dark the LDR rises to 1 MΩ, almost all the voltage stays at the base and the transistor conducts. In the light, the LDR drops to 100 Ω, pulls the base to ground and the transistor cuts off.
Measured in the simulator, the street light switches halfway along the light control, and not all at once:
- 0% light (dead of night) → 14.92 mA: on.
- 40% → 10.86 mA: on, dimmer.
- 50% → 2.98 mA: about to go off.
- 55% → 0.01 mA: it goes off.
That gradual fall is the transistor working in its active region before cutting off completely.
And here it links to something bigger: multiply that street light by all the ones in a town and you have an energy-saving policy. The sensor is the saving. The unit’s final project walks you through building it step by step, with the diagram and the values.
Frequently asked questions
What is electronics, and how is it different from electricity?
Electronics is the part of technology that uses electric current to handle information and control other devices, while electricity uses it to carry energy (to move, heat, light up). Both work with current and both need a power supply: what separates them is what it is used for. A heater is electricity; the thermostat that decides when to switch it on is electronics.
Which electronic components are studied at ages 14-15?
The basic ones: fixed resistors and their color code, variable resistors (LDR, NTC, PTC and potentiometer), capacitors, diodes (rectifier, LED and Zener) and the transistor. The classification that puts them in order is passive versus active, depending on whether they can amplify. The following year it is extended with digital electronics.
How do you read a resistor’s color code?
Hold the resistor with the tolerance band (gold or silver) on the right and read the bands from left to right: the first two are digits and the third tells you how many zeros to add. For example, brown (1), black (0) and red (×100) give 1000 Ω, that is 1 kΩ, with a tolerance of ±5%.
What is the formula t = 5·R·C for?
It works out how long a capacitor takes to charge fully through a resistor. R goes in ohms, C in farads (not in microfarads) and the result comes out in seconds. With 1 kΩ and 2200 µF you get 11 seconds. Rearranging it gives you the other two typical questions: R = t/(5·C) and C = t/(5·R). It is used to design timers and delays.
What is the difference between an LDR and an NTC?
Both are resistors whose value changes with their surroundings, but they respond to different quantities: the LDR changes with light and the NTC with temperature. In both, more of the quantity means less resistance. The PTC is the exception: in it, more temperature means more resistance. Trick: the N in NTC stands for negative (they go opposite ways) and the P in PTC for positive (they go together).
Is a diode an active or a passive component?
It depends on the test. If the test is «does it amplify?» —the one usually used at this level— the diode and the LED are passive: they cut off current in one direction or turn it into light, but they do not amplify or control a bigger signal. Some books classify them as active because they are made with semiconductors. What matters is to choose a test and stick to it.
How does a transistor work as a switch?
If enough current reaches the base, the transistor conducts fully between collector and emitter (saturation); if nothing reaches it, it cuts off completely (cutoff). Since that order is an electrical signal and not a finger, one circuit can switch on another, with no moving parts and millions of times a second. Chaining billions of transistors in that role is how a microprocessor is built.
Do you need lab equipment to do this unit?
No. The unit includes its own simulator, the «Electronics lab», with a breadboard where you build with two taps, a multimeter to measure and light and temperature controls to test the sensors. It works in the browser without installing anything, and the LED burns out if you give it too much current, so you learn from the mistake without using up components. If you also have real components, the final project is designed to be built on a board too.
Open the complete interactive unit
Six lessons with exercises that mark themselves, the simulator with its twelve challenges, a twenty-four-question review and the automatic lighting project.
Open the Electronics unit →Unit written by Jaime Aniorte, a Technology teacher at a secondary school in the Region of Murcia (Spain), who teaches this subject to 14-15 year olds and built the simulator that goes with it. It follows the Technology and Digitalization curriculum of the Region of Murcia (BORM no. 283). Coming from the Electricity unit? This is its natural next step. And after that? Robotics, where these same sensors control a robot.