Mapping a Smoke Detector
One tiny circuit, four completely different diagrams.
Read case study →Guiding questionHow can electronic systems be incorporated into product design?
Where A3.4 gave you the vocabulary, B3.4 asks you to specify: which sensor, which output, how much current, which protocol, and what happens when the battery runs low. This is the level at which designers actually work with electronics. You are rarely the person soldering, but you are frequently the person who decided the product needed to know the temperature, and every one of those decisions has consequences in cost, power and size.
The calculations here are the most predictable marks in the topic. Ohm's law and electrical power are not difficult, and once you are comfortable rearranging them you have a reliable source of marks in Paper 2 that does not depend on how well you write. Beyond the exam, this material is unusually practical. If you have ever wanted to build something that responds to the world, the input, process and output framework plus a sensible sensor choice is most of what you need to start, and I would genuinely encourage you to try it outside of class.
Students must be able toAnalyse simple electronic products and circuits to identify the main component parts that enable them to perform a specific function.
The Input–Process–Output (IPO) model is the fundamental framework for understanding any electronic system. It breaks a complex product into three stages:
Electronics are now embedded in almost every product category: home appliances (refrigerators, washing machines, microwaves), entertainment (TVs, game consoles), communication (smartphones, computers), automotive (engine control units, GPS, advanced driver assistance), and personal wearables (smartwatches, fitness trackers). When analysing a product, the first task is to identify which components serve which stage of the IPO model.
Students must be able toDescribe how to use basic electronic measuring apparatus, including multi-meters on voltage, current and resistance ranges, and oscilloscopes to observe waveforms.
Choosing the right instrument (and connecting it correctly) is as important as the measurement itself. Using a current meter in parallel, for example, will short-circuit the component and may destroy the meter.
Digital multimeter (DMM), the most versatile handheld instrument:
Digital storage oscilloscope (DSO): visualises voltage waveforms over time (voltage on Y-axis, time on X-axis). Indispensable for diagnosing: ringing (damped oscillations indicating impedance problems), distorted rising edges (slow component or excessive capacitance), and amplitude problems (incorrect voltage levels indicating a faulty supply). A multimeter cannot reveal any of these: it only shows a single numerical value.
Function generator: produces test signals (sine, square, triangle waves) at a chosen frequency. Frequently used alongside a DSO: the generator provides a known input, the DSO captures the circuit's response.
Clamp meter: measures current without breaking the circuit by clamping around the conductor. For AC it uses a current transformer; for DC it uses the Hall effect (detecting the magnetic field produced by the current).
Other instruments: Megohmmeter (tests insulation resistance at high voltage: a downward trend indicates insulation breakdown); Wattmeter (measures real power P = VI); LCR meter (measures inductance, capacitance and resistance using AC test signals); Logic analyser (captures multiple digital signals simultaneously to debug timing and decode communication protocols such as I²C, SPI, UART).
| Instrument | Measures | Connection | Key limitation |
|---|---|---|---|
| DMM | V, I, R | V: parallel / I: series / R: removed | Only static values: no waveform |
| DSO | Waveform over time | Parallel (high impedance probe) | Can miss very slow DC drift |
| Clamp meter | Current only | Clamp around wire (no break) | Cannot measure very low currents |
| Megger | Insulation resistance | High-voltage DC applied | Cannot test live circuits |
| LCR meter | L, C, R | Component removed from circuit | AC test signal only |
| Logic analyser | Digital signals (timing) | Probes on multiple pins | No analog voltage detail |
Plan the switches, wiring and components for a real macropad, then generate downloadable code to build it with an ESP32.
Students must be able toCalculate power, voltage, current and resistance in a circuit, considering V = IR and P = VI by rearranging equations and substituting values.
Ohm's law: the voltage across a component equals the current through it multiplied by its resistance.
V = I × R → I = V / R → R = V / I
Power formulas: electrical power is the rate of energy conversion. Three equivalent forms:
P = V × I = I² × R = V² / R
Use whichever form avoids an intermediate calculation step. If you know V and R but not I, use P = V²/R directly rather than calculating I first.
Single-phase vs three-phase power:
IEC 60309 industrial plug colour coding: yellow = 100–130 V, blue = 200–250 V, red = 380–480 V. Colour coding prevents incorrect connection of equipment to incompatible voltages.
Worked examples
| Given | Find | Formula | Result |
|---|---|---|---|
| V = 12 V, R = 470 Ω | I | I = V / R | I = 12 / 470 = 25.5 mA |
| V = 12 V, I = 25.5 mA | P | P = V × I | P = 12 × 0.0255 = 0.306 W |
| V = 12 V, R = 470 Ω | P (direct) | P = V² / R | P = 144 / 470 = 0.306 W |
Enter any two of V, I and R, or one of them plus P, and the rest solve automatically, with the working shown below.
Students must be able toCalculate resistance and capacitance in series and parallel in a circuit.
Resistors in series: total resistance is the sum of all resistors. Current is the same through each.
R_total = R₁ + R₂ + R₃ + …
Resistors in parallel: total resistance is always less than the smallest individual resistor. Voltage is the same across each; current splits between branches.
1 / R_total = 1/R₁ + 1/R₂ + 1/R₃ + … (for equal R: R_total = R / n)
RC circuits: a resistor (R) and capacitor (C) together create time-dependent behaviour. The capacitor charges through the resistor; the time constant τ = R × C (in seconds when R is in Ω and C is in Farads) determines how quickly voltage rises or falls.
Low-pass filter: resistor in series, capacitor in parallel with the output. Passes low-frequency (slow) signals; attenuates high-frequency (fast) signals. The capacitor charges slowly, smoothing rapid fluctuations.
High-pass filter: capacitor in series, resistor in parallel with the output. Blocks low-frequency signals (capacitor blocks DC and very slow signals); passes high-frequency signals.
Contact bounce (chatter) elimination: when a mechanical switch closes, the contacts bounce and produce multiple rapid 1s and 0s before settling. A low-pass RC filter smooths this leading edge, so the logic gate receives a clean single transition rather than a burst of false triggers.
Worked examples (resistor networks)
| Configuration | Calculation | Result |
|---|---|---|
| Series: 100 Ω + 220 Ω + 330 Ω | 100 + 220 + 330 | 650 Ω |
| Parallel: 100 Ω ∥ 100 Ω | R / n = 100 / 2 | 50 Ω |
| Parallel: 47 Ω ∥ 47 Ω | 47 / 2 | 23.5 Ω |
| Combination: 100 Ω + (50 Ω ∥ 50 Ω) | 50/2 = 25; 100 + 25 | 125 Ω |
For combination circuits, always resolve the parallel branches first, then add the series elements, just as you would apply BODMAS to arithmetic.
Students must be able toConstruct flow diagrams (using appropriate symbols) to model a programmable system that controls an electronic device.
A flow diagram (flowchart) maps the sequence of steps in an algorithm using standardised symbols. In electronics, flowcharts are used to plan and communicate how a microcontroller will respond to inputs.
Standard flowchart symbols:
Flow diagrams are useful before writing code because they separate the logic of what the system must do from the syntax of how to code it. A well-drawn flowchart can be translated directly into any programming language.
Students must be able toConstruct diagrams for simple circuits that use resistors, capacitors, switches, relays, diodes, transistors, operational amplifiers, integrated circuits, and input and output devices.
Designers use different diagram types depending on the level of detail needed and the audience for the drawing:
All four types are used in IB assessment. Block and flow diagrams are expected at a conceptual level; circuit and logic diagrams require correct use of standard symbols.
One tiny circuit, four completely different diagrams.
Read case study →Students must be able toDetermine the use of sensors to collect and input information into a digital system, including accelerometer (motion), ultrasonic (distance or proximity), photoresistor (light), voltage (moisture), hygrometer (humidity and air temperature), pressure (barometric), microphone (sound) and infrared (radiation or heat).
Sensors are the input stage of the IPO model: they convert a physical quantity into an electrical signal that a microcontroller can read. The choice of sensor must match the physical quantity being measured and the output format the processor expects (analog voltage, or digital signal).
| Sensor | Detects | Output | Typical application |
|---|---|---|---|
| Accelerometer | Motion, vibration, tilt | Analog / digital | Phone orientation, fall detection |
| Ultrasonic | Distance / proximity | Digital (pulse timing) | Parking sensors, robotics |
| Photoresistor (LDR) | Light level | Analog voltage | Automatic street lights |
| Moisture / voltage | Soil or liquid conductivity | Analog | Plant watering systems |
| Hygrometer | Humidity and air temperature | Analog / digital | HVAC, weather stations |
| Barometric pressure | Atmospheric pressure | Analog / digital | Weather apps, altimeters |
| Microphone | Sound | Analog (AC) | Voice control, noise monitoring |
| Infrared / PIR | Heat, radiation, motion | Digital | Intruder detection, touchless switches |
| Hall effect | Magnetic field strength | Analog / digital | Speed sensors, position sensing |
| Gas sensor | Chemical concentration | Analog | CO detectors, air quality monitors |
Students must be able toCreate simple circuits that use microcontrollers as a programmable integrated circuit (PIC) with appropriate software to carry out a predetermined task.
An embedded system is a dedicated computer system designed to perform a specific function within a larger product. Unlike a general-purpose computer, it runs one fixed program stored in its memory.
The heart of the process stage is a microcontroller (MCU), also referred to as a programmable integrated circuit (PIC). A microcontroller integrates on a single chip:
Educational platforms such as Arduino (AVR/ARM microcontrollers) and Raspberry Pi (single-board computer) make it accessible to prototype embedded systems. In industry, dedicated MCUs (e.g., STM32, PIC, ATmega) are chosen for their size, power consumption and cost.
Students must be able toDescribe digital systems in terms of the binary number system, Boolean algebra, logic gates (AND, OR and NOT), combinational logic circuits and sequential logic circuits, and construct truth tables for a digital circuit.
All digital systems represent data using binary: a base-2 number system using only 0 and 1 (off and on). Multiple binary digits (bits) represent larger values: 8 bits = 1 byte, capable of representing 256 values (0–255).
Boolean algebra defines how binary values are combined using logical operations. Three fundamental gates:
A truth table lists every possible combination of inputs and the corresponding output. For n inputs there are 2ⁿ rows.
Combinational logic: the output depends only on the current inputs. No memory: the same input always produces the same output. Examples: AND, OR, NOT, NAND, NOR, XOR gates.
Sequential logic: the output depends on current inputs AND previous states. Uses memory elements (flip-flops). Examples: counters, registers, state machines: the basis of most microcontrollers.
Truth tables (AND, OR, NOT)
| A | B | A AND B | A OR B | NOT A |
|---|---|---|---|---|
| 0 | 0 | 0 | 0 | 1 |
| 0 | 1 | 0 | 1 | 1 |
| 1 | 0 | 0 | 1 | 0 |
| 1 | 1 | 1 | 1 | 0 |
Students must be able toDetermine appropriate output devices to communicate information or physically control an environment, including motors (including servos and pumps), LCD display, buzzer and relay.
Output devices are the third stage of the IPO model: they convert the processed electrical signal into a physical action or visible/audible communication.
| Output device | Function | Notes |
|---|---|---|
| DC motor | Continuous rotary motion | Speed controlled by PWM; direction by H-bridge circuit |
| Servo motor | Precise angular positioning (0–180°) | Position set by PWM pulse width; used in robotic arms, steering |
| Pump | Fluid movement | Essentially a motor with an impeller; used in irrigation, aquariums |
| LCD display | Text and numeric information | Communicates data to the user; requires no moving parts |
| Piezo buzzer | Audible alert or tone | Simple alarm; frequency can be varied to produce different tones |
| Relay | Switches a separate high-power circuit using a low-power control signal | Electrically isolates the control circuit from the load circuit; used to switch mains voltage from a 5V microcontroller output |
When selecting an output device, consider three things: the type of action needed (motion, information, sound), the voltage and current required by the device, and whether the microcontroller can drive it directly or needs an amplifying component (transistor, relay, or motor driver IC).
A microcontroller's digital output pin can only be fully on or fully off; it has no way to produce an intermediate voltage directly. PWM works around this by switching the pin on and off very rapidly and varying the proportion of time it spends on, called the duty cycle. A device that responds to average power rather than to the instant-by-instant signal, such as a motor or an LED, behaves as if it were receiving a steady intermediate voltage.
A 0% duty cycle is equivalent to fully off, 100% is fully on, and 50% behaves roughly like half power. This is exactly how DC motor speed and servo position are controlled in the output device table above: a DC motor's average rotational speed scales with duty cycle, while a servo reads the pulse width of each cycle (not the average) to determine the angle it should hold.
Students must be able toCompare the protocol embedded systems used to communicate with other systems (Wi-Fi vs Bluetooth vs 5G).
Embedded systems often need to communicate with other devices or networks. The choice of wireless protocol depends on range, speed, power consumption and the infrastructure available.
Bluetooth: designed for low-power, short-range device-to-device communication. Operates at 2.4 GHz using frequency hopping to reduce interference. Typical range: ~10 m. Uses a layered protocol stack: the Controller layer (Radio, Link Manager, Voice CODEC) communicates with the Host layer (GAP, GATT, ATT, SMP, RFCOMM) via the HCI interface. GAP (Generic Access Profile) governs device discovery and connection setup. Used in: wireless earbuds, keyboards, fitness trackers, medical devices.
Wi-Fi: high-speed, medium-range local area network access. Connects devices to a router (and thus the internet). Higher power consumption than Bluetooth. Range: ~50 m indoors. Used in: laptops, smart home devices, IP cameras.
5G: fifth-generation cellular technology. Offers ultra-high data speeds, ultra-low latency, and the ability to connect massive numbers of devices simultaneously. Does not require a local router: connects directly to the cellular network. Used in: autonomous vehicles, smart cities, large-scale IoT deployments.
Case study (Australia's 3G shutdown, October 2024): Many 4G phones were designed to fall back to 3G for voice calls because 4G voice required a separate technology called VoLTE (Voice over LTE). When Australia's ACMA shut down the 3G network, non-VoLTE phones lost all voice capability, including emergency calls. Even medical alarms and personal emergency response devices stopped working. The lesson for embedded systems designers: never assume that legacy infrastructure will remain available. Design for forward compatibility and include graceful upgrade paths.
| Protocol | Range | Speed | Power | Infrastructure needed | Best for |
|---|---|---|---|---|---|
| Bluetooth | ~10 m | Moderate | Very low | None (peer-to-peer) | Wearables, peripherals, medical sensors |
| Wi-Fi | ~50 m | High | Moderate | Router / access point | Smart home, streaming, internet access |
| 5G | Kilometres | Ultra-high | Higher | Cellular network | Autonomous vehicles, smart cities, IoT at scale |
Ten questions sampling across the eleven learning objectives. Select one answer per question, then click "Check all answers" to see your score and the explanations.
Voltage: The voltmeter probes are connected in parallel across the two points being measured. No circuit interruption is required: the meter has very high internal resistance so that almost no current flows through it and the circuit is not disturbed. The black probe connects to COM; the red probe to the V terminal.
Current: The meter must be connected in series: the circuit must be broken and the meter inserted into the break so that the full circuit current flows through it. The power must be switched off before breaking the circuit, then restored for the reading. The black probe connects to COM; the red probe to the A (or mA) terminal. Caution: connecting a current meter in parallel will short-circuit the component.
Resistance: The component to be measured must be removed from the circuit entirely. If left in circuit, parallel current paths will give a false reading. The dial is set to Ω; the meter sends its own small test current from its internal battery through the component and calculates resistance from the resulting voltage drop. The reading is meaningless if other components remain connected in parallel.
a) Contact bounce: When a mechanical switch closes, the spring contacts do not make a single clean connection. Instead, they bounce or vibrate against each other for several milliseconds before settling. This produces a rapid series of 1s and 0s at the logic gate input instead of one clean transition from 0 to 1. The circuit cannot tell the difference between bounce and several deliberate presses, so it responds to all of them. A counter, for example, might advance five or six times when the user pressed the button once.
b) RC circuit solution: A resistor-capacitor (RC) circuit is placed between the switch output and the logic gate input. When the switch closes, the capacitor does not charge instantly: it charges through the resistor at a rate determined by the time constant τ = R × C. The output voltage rises smoothly from 0 V toward the supply voltage rather than jumping immediately. This smooth rise filters out the rapid spikes caused by bouncing. By the time the voltage crosses the logic gate's switching threshold, the contacts have settled and a clean transition is presented to the gate.
c) Low-pass filter: A low-pass filter configuration is appropriate: resistor in series, capacitor in parallel with the output. A low-pass filter passes slow (low-frequency) signals and attenuates fast (high-frequency) signals. The intended switch closure is a slow event (the user presses the button over tens of milliseconds); the bounce spikes are fast events (milliseconds). The RC filter smooths away the fast spikes while still allowing the slow, intended transition to reach the logic gate. A high-pass filter would do the opposite: it would block the intended slow signal and pass the fast bounce spikes, which is exactly what must be avoided.
a) What a DSO shows that a multimeter cannot: A DSO visualises voltage as a waveform over time, displaying voltage on the vertical axis and time on the horizontal axis. It captures the shape, frequency, period, and timing of a signal. A multimeter (even a high-quality digital model) only displays a single numerical value (RMS voltage, average current, or resistance). It cannot reveal signal shape, timing relationships, or transient events.
b) Three signal abnormalities a DSO can reveal:
c) Why use both: The multimeter excels at steady-state DC measurements (precise voltage levels, continuity checking, and resistance values) quickly and portably. The DSO excels at dynamic, time-varying signals: capturing transients, measuring frequency and duty cycle, and debugging communication timing. The instruments complement each other: use the multimeter first to verify that power supply voltages are correct and there are no short circuits, then use the DSO to verify signal integrity and timing. A function generator paired with the DSO allows a technician to inject a known test signal and observe the circuit's response: a powerful combination for diagnosing filters, amplifiers and logic circuits.
a) Series:
R_total = 100 + 220 + 330 = 650 Ω
b) Two equal resistors in parallel (100 Ω ∥ 100 Ω):
R_total = R / n = 100 / 2 = 50 Ω
Verification: 1/R_total = 1/100 + 1/100 = 0.02; R_total = 1/0.02 = 50 Ω ✓
c) Two equal resistors in parallel (47 Ω ∥ 47 Ω):
R_total = 47 / 2 = 23.5 Ω
d) Combination (100 Ω in series with 50 Ω ∥ 50 Ω):
Step 1 (resolve the parallel branch first): R_parallel = 50 / 2 = 25 Ω
Step 2 (add the series resistor): R_total = 100 + 25 = 125 Ω
| Configuration | Result |
|---|---|
| Series: 100 + 220 + 330 | 650 Ω |
| Parallel: 100 ∥ 100 | 50 Ω |
| Parallel: 47 ∥ 47 | 23.5 Ω |
| Combination: 100 + (50 ∥ 50) | 125 Ω |
a) Current:
I = V / R = 5 / 220 = 0.0227 A = 22.7 mA
Power in the resistor:
P = V × I = 5 × 0.0227 = 0.114 W, or about 114 mW. Using P = V² / R gives the same result: 25 / 220 = 0.114 W. A standard 0.25 W resistor is therefore adequate.
Note: this is a simplified calculation that ignores the LED's own forward voltage. Taking a typical forward voltage of 2 V, the resistor would drop only 3 V, giving I = 3 / 220 = 13.6 mA. Either method earns the marks if the working is shown and the assumption is stated.
b) Recommended protocol: Bluetooth.
Mark scheme: 1 mark for correct current with unit; 1 mark for correct power with unit; 1 mark for a stated assumption or correct use of an alternative power formula; 1 mark for naming a suitable protocol; 2 marks for justification referring to at least two of power, range and infrastructure.
Linking Questions