/en-tutor-prep-s5-term2-dat-electronics-control/
/en-tutor-prep-s5-term2-dat-electronics-control/
General Inquiry: info@TutorZone.com.hk
Office Hours: Monday to Saturday - 9:00 AM to 6:00 PM
WhatsApp Monday to Sunday - 24 hours
Hotline: +852 6828 1809
Instant Support: +852 9061 3106

S5 Term 2 | Design and Applied Technology: Electronics and Control with Sensors, Logic Gates and Microcontrollers | Tutor Lesson Plan | 45-minute flow, teaching script, common errors, practice with answers

S5 Term 2 | Design and Applied Technology: Electronics and Control with Sensors, Logic Gates and Microcontrollers | Tutor Lesson Plan | 45-minute flow, teaching script, common errors, practice with answers

  • 2026-12-05

Tutor lesson plan · S5 Term 2 Design and Applied Technology

Students can recite that a sensor turns a physical quantity into a voltage, yet cannot say what the divider outputs, still less how an analogue voltage becomes a number a microcontroller can read. Three circuits turn sensing, quantisation and output into one chain they can check.

Lesson objectives By the end students can: (1) use 9 V with a 10 k fixed resistor and a 15 k thermistor for 5.40 V, and 2.08 V at 3 k, explaining why the voltage falls as temperature rises; (2) state that a 10-bit ADC over 5 V has 1,024 levels at 4.883 mV each, convert code 676 to 3.30 V and give the 0.78 mV error; (3) turn a 30 per cent duty cycle and a 20 ms period into 6 ms on and 1.50 V average, and show that sampling for 60 s needs 12,000 bytes, 46.5 per cent beyond the 8,192 byte flash.

01 Prior knowledge check (first 3 minutes)

If any item below is not secure, fix it before this lesson:

Skill Quick check Pass standard
Series divider 9 V across 10 k and 15 k, voltage on the thermistor 5.40 V
Percentage 30 per cent of 20 ms 6 ms
Unit conversion 4.883 mV in volts 0.004883 V

02 Lesson flow (45 minutes)

Time Stage Tutor does Student does
0-5 min Diagnose Ask whether the voltage across a thermistor rises or falls as it warms Student gives a direction and a reason
5-17 min Dividers and sensors 10 k with 15 k gives 5.40 V; with 3 k, 2.08 V Student computes both outputs and compares
17-28 min Comparators and thresholds An LDR of 200 k gives 8.57 V, 2 k gives 1.50 V Student draws where the threshold sits
28-38 min ADC quantisation 10 bits give 1,024 levels at 4.883 mV; code 676 is 3.30 V Student converts a code and states the error
38-42 min PWM and sampling 30 per cent of 20 ms is 6 ms on and 1.50 V average Student computes average voltage and sample bytes
42-45 min Exit check Collect three items and record divider, quantisation or sampling errors Student answers without notes

03 Teaching script (read it aloud)

Act 1: dividers and sensors

Two resistors in series across 9 V carry the same current, so the voltage splits in proportion to resistance. With a 10 k fixed resistor and a 15 k thermistor the total is 25 k, so the thermistor takes 9 times 15 over 25, which is 5.40 V. At 60 degrees the thermistor falls to 3 k and the output becomes 9 times 3 over 13, which is 2.08 V. The resistance changes by 5 times, and that is more than enough for a comparator to separate.

Most common misconception: that a hotter sensor gives a higher voltage. A negative temperature coefficient thermistor loses resistance as it warms, so the voltage falls; swap its position with the fixed resistor to invert the response.

Ask the student to repeat: “A divider splits by resistance; thermistor on top means voltage falls.”

Act 2: comparators, logic gates and thresholds

A comparator compares the sensor voltage with a reference: above the threshold it outputs high, below it outputs low. An LDR reads 200 k in the dark, giving 8.57 V with a 10 k partner, and 2 k in light, giving 1.50 V, a contrast of 5.7 times, so a threshold in the middle is safe. Logic gates combine conditions: three inputs give 8 truth table rows and a two-of-three vote is high in 4 of them, which is 50 per cent; four inputs give 16 rows, doubling with every input. Tying both inputs of a NAND makes a NOT.

Most common misconception: treating an unconnected input as zero. A floating CMOS input drifts, so always fit a pull-up or pull-down, or the fan will switch itself.

Ask the student to repeat: “A comparator splits high and low, gates combine conditions, inputs must not float.”

Act 3: ADC, PWM and the sampling budget

An ADC turns an analogue voltage into a number. Ten bits means 2 to the tenth, which is 1,024 levels; 5 V over 1,024 gives 4.883 mV per level. Code 676 is 676 times 0.004883, or 3.30 V, 0.78 mV away from the true 3.30 V. Eight bits gives only 256 levels at 19.53 mV, 4 times coarser. PWM does not change the voltage, only the on time: a 20 ms period at 30 per cent is 6 ms on and 14 ms off, an average of 5 times 0.30, or 1.50 V. Into 12 ohms that is 125.0 mA average but 416.7 mA while on. Sampling every 10 ms is 100 Hz, so 60 s gives 6,000 samples; at two bytes each that is 12,000 bytes, 3,808 beyond the 8,192 byte flash, or 46.5 per cent over.

Most common misconception: calling PWM a variable resistor. The output is still a 5 V square wave and only the average falls, which is why it wastes far less heat.

Ask the student to repeat: “Bits set the levels, duty sets the average, sample rate sets the memory.”

04 Question types and steps

Type Example Steps Answer
Divider and sensor 9 V, 10 k and 3 k Output is supply times sensor resistance over total 2.08 V
ADC quantisation 10 bits, 5 V, code 676 Levels are 2 to the bits; voltage is code times range over levels 3.30 V, 0.78 mV error
PWM average 5 V, 30 per cent, 20 ms On time is duty times period; average is supply times duty 6 ms, 1.50 V
Sampling budget 100 Hz for 60 s at 2 bytes Samples are rate times seconds, times bytes each 12,000 bytes, 3,808 over
A 9 V divider gives 5.40 V at 15 k and 2.08 V at 3 k; a 10-bit ADC steps 4.883 mV; PWM at 30 per cent is 6 ms onDivider: output across the sensor10 kΩ15 k NTC9 V supplyfixed resistorvoltage falls as temperature rises20 C: 5.40 V60 C: 2.08 V0 V3 V6 V9 V10-bit ADC: 2 to the 10 is 1,024 levels, 5 V over 1,024 is 4.883 mV; code 676 reads 3.30 V676 of 1,024 is 66 per cent of rangePWM 30 per cent: 6 ms on, 14 ms offresolution = range over levelsmore bits, smaller stepaverage = 5 V x 30 per cent = 1.50 VSampling budget: one sample every 10 ms is 100 Hz, so 60 s gives 6,000 samples; at two bytes each that is 12,000 bytes, beyond the 8,192 byte flashThreshold chain: comparator goes high, the transistor conducts, the relay closes and the fan starts; hysteresis stops it chattering

Left: a fixed resistor in series with a thermistor, output taken across the thermistor, so voltage falls as temperature rises. Top right: the two output voltages. Bottom right: the ADC slices 0 to 5 V into 1,024 levels and PWM sets the average by duty cycle; the two lines below give the memory budget and the threshold chain.

Sanity check (must teach):A divider output always lies between 0 and 9 V, and both 2.08 and 5.40 do; an ADC code lies between 0 and 1023, so the quantised voltage never exceeds the range; a PWM average never exceeds the supply, 1.50 below 5; and a longer or faster sampling run always needs more memory, 12,000 above 8,192.

05 Three independent practice questions

Question Answer What to observe
9 V across 10 k and 3 k, output taken on the thermistor: output voltage? 2.08 V Whether the total resistance is the denominator
A 10-bit ADC over 5 V reads 676: voltage and quantisation error? 3.30 V, 0.78 mV Whether 1,024 is written as 1,000
5 V, 30 per cent duty, 20 ms period, 12 ohm load: on time, average voltage and average current? 6 ms, 1.50 V, 125.0 mA Whether the on current is used as the average

06 Common errors and correction lines

Error Student usually writes Tutor says
Hotter means higher At 60 degrees the output is 8.57 V The thermistor is on top: 3 k gives 2.08 V, below 5.40 V.
Levels as 1,000 A 10-bit ADC has 1,000 levels Ten bits is 2 to the tenth, 1,024 levels at 4.883 mV.
PWM as a buck converter PWM drops 5 V to 1.5 V PWM stays a 5 V square wave; only the average is 1.50 V.
Sample bytes forgotten 6,000 samples need 6,000 bytes Two bytes each makes 12,000 bytes, 3,808 over the limit.

07 Homework (paper and question numbers)

08 Exit check (last 3 minutes)

Question Answer Verdict
Output of 9 V with 10 k and 3 k? 2.08 V Wrong: reteach dividers
Step size of a 10-bit ADC over 5 V? 4.883 mV Wrong: reteach quantisation
Average voltage at 30 per cent duty from 5 V? 1.50 V Two or more wrong: reteach the control frame

09 Tutor FAQ

Which year is this for?

S5 Term 2, alongside electronics and control. S4 covers circuits and dividers, S5 links sensors, comparators, gates and microcontrollers into a system, and S6 uses the same ideas for product evaluation.

Can three circuits fit in 45 minutes?

Yes. Dividers take twelve minutes, comparators and gates eleven, the ADC ten and PWM with sampling four, leaving three for the exit check.

Is there a matching paper?

Yes. Homework links to questions 13 to 16 of part D in the S5 paper and questions 9 to 12 of part 3 in the S6 paper.

Find a tutor freeTutor sign-up →

©2026 TutorZone · www.tutorzone.com.hk · Terms of use · All rights reserved. Original TutorZone material for personal study and teaching only; not for resale or republication.

Take this guide with you

Reading the full guide is free. Downloading the print version, printing it for students, or taking a whole-level pack needs a tutor account (free).

Registered tutors also get:

Register as a tutor — freeAlready registered? Log in

Join as a tutor or coach — academic, music, sports, arts, STEM. Free to register. See how it works →