ScholaFly

DT11-06 Design and Technology Watch

Microcontrollers and other process components

Watch on YouTube

In this lesson

Microcontrollers and other process components: how to explain what a microcontroller, with worked examples and the mistakes examiners report. AQA 8552, Cambridge 0445, Edexcel 1DT0, Eduqas C600QS and OCR J310 GCSE. Electronic systems 5 of 6. More at https://scholafly.com

By the end: Explain what a microcontroller (a programmable component such as a PIC) is and what it does as the process block of a system; explain how it gives a product its function and lets its operation be enhanced and customised; weigh its benefits and limitations for a named product; and explain the other process components a mark scheme accepts - the microprocessor, the transistor, and a timer chip wired as a monostable or an astable - with what each does and when it is chosen instead.

What it covers

  1. 0:00 Intro: microcontrollers and other process components
  2. 0:38 Microcontrollers
  3. 3:00 What it gives a product
  4. 6:38 Microcontrollers and other process components: benefits
  5. 9:36 Other process components

Key words

About this video

Microcontrollers and other process components | GCSE Design & Tech | DT11-06

Microcontrollers and other process components: how to explain what a microcontroller, with worked examples and the mistakes examiners report.
AQA 8552, Cambridge 0445, Edexcel 1DT0, Eduqas C600QS and OCR J310 GCSE. Electronic systems 5 of 6.
More at https://scholafly.com

Watch first: DT11-01 - https://youtu.be/ITp5ngxTGLw, DT11-02 - https://youtu.be/Xs86zZT81_Q, DT11-04 - https://youtu.be/iKYl_rIITDk
Video code: DT11-06 (search "ScholaFly DT11-06")

#GCSEDesignTech #ElectronicSystems

For teachers
This GCSE Design & Tech lesson teaches microcontrollers and other process components. By the end, students should be able to explain what a microcontroller (a programmable component such as a PIC) is and what it does as the process block of a system; explain how it gives a product its function and lets its operation be enhanced and customised; weigh its benefits and limitations for a named product; and explain the other process components a mark scheme accepts - the microprocessor, the transistor, and a timer chip wired as a monostable or an astable - with what each does and when it is chosen instead. It works through four worked examples and the mistakes examiners report.

Exam board specification references:
AQA 8552
- 3.1.4
Edexcel 1DT0
- 1.6.2b
- 1.7
- 5.2.2
- 5.2.2h
- 5.2.2i
Eduqas C600QS
- 2.1 core.5
- 2.1 core.6
- 2.1 in-depth a.1 [Operational amplifiers and gain]
- 2.1 in-depth a.1 [Process Components]
OCR J310
- 6.4c
Cambridge 0445-2027
- 4.4 > Time delay circuits > b2
Cambridge 0445-2028
- 1.8/b2
- 1.8/b4

Read the transcript

Two kettles sit side by side in a shop. Same size, same heating element, same jug. One costs fifteen pounds. The other costs sixty, and it can boil to eighty degrees Celsius for green tea, keep the water warm for half an hour, and switch itself on when your alarm goes off. The difference inside is a chip smaller than your fingernail. What is it doing that's worth forty-five pounds? Once the chip has been opened up, the dearer kettle gets its answer.

A microcontroller is a small computer on a single chip. It reads its inputs, follows a program stored in its memory, and switches its outputs. The program is a list of instructions, written by the manufacturer and kept in the chip. A PIC, short for programmable interface controller, is one kind of microcontroller. Boards like a micro:bit, an Arduino or a PICAXE are each built round one. In a system diagram, the microcontroller is the process block, so write 'microcontroller', 'PIC', or a named board. One examiner's report on a system diagram question notes that the process block had poorer responses, such as circuit and PCB. 'Circuit' describes all the parts wired together, and a PCB, a printed circuit board, is the board they're fixed to. Neither one names the part that decides. The fix is to name the part that does the deciding: microcontroller. 'Chip' or 'board' on its own is as vague as 'circuit'. Now put it in a product. A soft toy plays a tune when its paw is squeezed, and its eyes glow when the room goes dark. What goes in each block of the soft toy's system diagram? Draw it with a named component in every block, then compare it with mine. Two inputs: a pressure sensor in the paw, and a light sensor, an L D R, in the head. One process: a microcontroller, such as a PIC. Two outputs: a speaker for the tune, and two LEDs for the eyes. Now the reason. Why would the designer use one microcontroller, rather than a separate circuit for each of the toy's two jobs? One microcontroller reads both inputs and runs both outputs. That's one small chip instead of two circuits, so the toy is lighter, cheaper to make, and there's room inside the stuffing.

A microcontroller gives a product its function, and lets its operation be enhanced and customised. Function means the jobs it can do. A washing machine's microcontroller runs every stage of a wash: fill, heat, wash, rinse and spin. Enhanced means new features from a new program, with no new parts. Keeping water warm for half an hour is that sort of feature. Customised means the user picks settings, like eighty degrees or a hundred. The maker can also sell different models built from the same parts, with different programs. The manufacturer writes the program. The user chooses from the settings it offers, and never rewrites it. Now one to try. What are two ways a microcontroller in a washing machine benefits the person who buys it? Think of two, each with its reason, then I'll show you mine. First, one chip gives many wash cycles. Whoever is doing the washing picks a thirty-degree quick wash or a sixty-degree cotton wash, and the microcontroller runs every stage, so clothes are washed the right way without setting each stage by hand. Second, it runs the machine automatically and safely. It reads the door switch and the temperature sensor, and won't start with the door open. It heats the water only as far as the user chose, so it's safe and doesn't waste energy. One answer to steer clear of is 'the user can reprogram it to do what they want'. One examiner's report records, "Many incorrect candidate responses stated that programmable microcontrollers in products allowed the user to reprogram the product to their own requirements." The manufacturer programs it, and the user only chooses settings. Write the benefit as a choice of settings, and it's right. To describe a microcontroller inside any product, say three things about that product: what it reads, what it decides, and what it switches. One examiner's report, on a microcontroller in a bicycle, says, "Most candidates could give a basic definition of a microcontroller, but a number were unable to relate this knowledge to their use in a bicycle." Those students knew what one was, but not what it did in the bike. The fix is to answer about the product in the question: what its microcontroller reads, decides and switches there. Now back to the sixty-pound kettle. For its eighty-degree setting, what does its microcontroller read, decide and switch? It reads a temperature sensor, a thermistor, in the base. It decides whether the water has reached the eighty degrees the user picked. Then it switches the heater off. Keep-warm is the same program, switching the heater back on whenever the water cools. Switching on when your alarm goes off is the chip reading one more input. The extra forty-five pounds buys three things a program does. Whether that's worth it is up to you, but now you can say what you'd be paying for.

Every benefit of a microcontroller is a linked point. One chip replaces many separate components, so products are smaller, lighter and cheaper to make. It can control many inputs and outputs at once. It also acts automatically, the same way every time, so the product behaves the same for every user. The manufacturer can reprogram it, so a fault can be fixed, or a new model made, without changing the hardware. Now a question on that last point. A toy maker wants next year's soft toy to play a new tune. Why does a microcontroller make that cheaper? Only the program changes. The same parts and the same factory set-up make the new toy, so there's nothing new to design or buy. One examiner's report puts it like this: "candidates knew that microcontrollers could be programmed or re programmed but did not always go on to explain the advantages." They stopped at the word. The fix is never to leave reprogrammable on its own: add the word so, then what the maker gains. The limitations are linked points too. Someone has to write and test the program, so it costs time, skill and software. It needs a steady power supply, so a flat battery stops the whole product. A fault in the program can make the product misbehave, so it must be tested before it's sold. It's hard for the user to repair, so a fault usually means a new part. And for a job with only one setting, it adds cost and complication for nothing. Two designers are making torches. One torch has a single setting, on or off. The other has three settings: full, dim, and flashing S O S. Should each torch use a microcontroller, and why? Decide for both, then hold on to your answers before I reveal mine. The one-setting torch, no. A switch, a battery and the LED do the whole job. A microcontroller would add cost and need programming, for no benefit. The three-setting torch, yes. One press of the same button can step through full, dim and S O S, because the program counts the presses and times the flashes. Without it, the torch would need several switches and circuits. A microcontroller earns its place when a product needs choices, timing or decisions.

Not every process block holds a microcontroller, and three other process components can be named. The first is the microprocessor, the processing chip at the heart of a computer, a laptop, a tablet or a phone. A microprocessor needs separate memory, and separate input and output chips, around it. It's built to run many different programs quickly. A microcontroller puts a processor, memory, and input and output connections all on one chip, so it suits a product with one set of jobs. Either one is a named process component. Now a quick one. A laptop runs a browser, games and a word processor. Which of the two belongs in its process block, and why? A microprocessor, with its own separate memory, because a laptop runs many different programs. The second is the transistor, an electronic switch with no moving parts. A small signal from a sensor turns it on, and it lets a much bigger current, a bigger flow of electricity, pass through the output. That way, a sensor's weak signal can light a bright lamp or sound a siren. The third is the five-five-five timer chip, which can be wired up in two ways. Wired as a monostable, it's triggered once, turns its output on for one set time, then turns it off by itself. A stair light that stays on for thirty seconds after the button is pressed works that way. Wired as an astable, it turns its output on and off, again and again, by itself. That suits a flashing bike light, or a pulsing alarm. The transistor and the timer chip each do one fixed job cheaply, with no program. To change the time on a five-five-five, the maker changes a component, where a microcontroller changes one number in its program. A garden security light has a P I R sensor as its input and a bright lamp as its output. Designer A writes 'microcontroller' in its process block. Designer B writes 'monostable, five-five-five timer'. In this security light, what would Designer A's microcontroller and Designer B's monostable each do with the P I R's signal and the lamp, and why might you choose each one? Designer A's microcontroller reads the P I R, and its program switches the lamp on for, say, sixty seconds, then off. Designer B's monostable is triggered by the P I R. It switches the lamp on for one set time, then off by itself, with no program at all. In either design, a transistor may sit between the process and the lamp, so the small signal can switch the lamp's bigger current. Choose the monostable for the cheapest light that only ever does one thing. Choose the microcontroller if the light should also stay off in daylight, or let the owner pick one, five or ten minutes, because a program can make those changes with no new parts.

Now check the process block: you answer each question before I do.

What does a microcontroller do, in one sentence? It reads its inputs, follows the program stored in its memory, and switches its outputs.

Now a wrong answer to fix. A student gives 'the user can reprogram it' as a benefit. What's wrong, and what's the better version? The manufacturer programs it. The better version is that the user can choose settings, like a wash temperature, so the product suits each load.

Now something new. A party light flashes on and off, over and over, and never needs changing. Which process component would be cheapest, and why? A five-five-five timer wired as an astable. It turns the output on and off again and again by itself, with no program, which keeps a light that only ever flashes cheap.

And the sixty-pound kettle's chip is a microcontroller. It reads a temperature sensor, decides against the setting you chose, and switches the heater. That program is what the extra forty-five pounds buys.

If you can say what a microcontroller reads, decides and switches in any product, give this a thumbs-up, and there's no need to see this twice. If that felt fast, that's normal, so come back to it.

Next in the chapter is Programming a microcontroller: counters, timers and decisions. Hopefully that's next in your feed, but if not, search for ScholaFly D T eleven, oh seven.

Every other video is on scholafly.com too, easy to search by video code or by keyword. Whatever you're revising, go there and have a look, or, watch the next video.

Related terms

For: AQA GCSE 8552, Edexcel GCSE 1DT0, Eduqas GCSE C600QS, OCR GCSE J310, Cambridge GCSE 0445

On the specification

BoardSpecStatement
AQA GCSE 85523.1.4Systems approach: electronic systems with programmable components that give products function and let their operation be enhanced and customised
Edexcel GCSE 1DT01.7Programmable components add functionality to products (key idea)
Edexcel GCSE 1DT05.2.2{'ref': '5.2.2a', 'text': 'rocker switch (on/off) (in topic 1)'}; {'ref': '5.2.2c', 'text': 'push to make switch (PTM)'}; {'ref': '5.2.2d', 'text': 'micro switch'}; {'ref': '5.2.2e', 'text': 'reed switch'}
Edexcel GCSE 1DT05.2.2h
Edexcel GCSE 1DT05.2.2i
Eduqas GCSE C600QS2.1 core.5Circuit diagrams, block diagrams and flowcharts
Eduqas GCSE C600QS2.1 core.6Sub routines and macros in control systems
Eduqas GCSE C600QS2.1 in-depth a.1 [Operational amplifiers and gain]Operational amplifiers and gain
OCR GCSE J3106.4cProgrammable components such as microcontrollers to embed functionality in products
Cambridge GCSE 0445missingthe plan names no spec point for this board
For teachers

This GCSE Design & Tech lesson teaches microcontrollers and other process components. By the end, students should be able to explain what a microcontroller (a programmable component such as a PIC) is and what it does as the process block of a system; explain how it gives a product its function and lets its operation be enhanced and customised; weigh its benefits and limitations for a named product; and explain the other process components a mark scheme accepts - the microprocessor, the transistor, and a timer chip wired as a monostable or an astable - with what each does and when it is chosen instead. It works through four worked examples and the mistakes examiners report.