How are microcontrollers programmed to control engineered products?
Programmable components (microcontrollers), how flowcharts represent control programs, and the advantages of programmable control over fixed wiring.
A focused answer to AQA GCSE Engineering on microcontrollers, using flowcharts to plan control programs, the use of inputs and outputs, and why programmable control is flexible compared with fixed-wired circuits.
Reviewed by: AI editorial process; not yet individually human-reviewed
Have a quick question? Jump to the Q&A page
Jump to a section
What this dot point is asking
AQA wants you to explain what a microcontroller is, plan a control program as a flowchart, identify inputs and outputs, and explain why programmable control is more flexible than fixed wiring. Flowchart questions reward correct symbols and logical order, so practise reading and drawing them.
What a microcontroller does
The same chip can run a night light, a frost alarm or a buggy, depending only on the program loaded into it. This is the heart of why programmable control is powerful: the hardware stays the same and the behaviour is defined in software, so changing the product means changing the program, not the wiring.
Flowcharts for control programs
A decision diamond always has two exits (yes and no), and the flow loops back so the program keeps checking its inputs rather than running once and stopping. Reading a flowchart means following the arrows through each box and branch, which is exactly how the microcontroller executes the program. Flowcharts also let a designer combine conditions: two decision diamonds in series act like an AND (both must be true before the flow reaches the output), while a single decision with the program rejoining afterwards can act like an OR. Time delays are shown as a process box such as "wait 5 seconds", and counting is shown by a process box that adds one to a stored value followed by a decision that checks whether the count has been reached, all of which would need extra hardware in a fixed-wired circuit.
Why programmable control is better
- Flexible: change the program, not the wiring, to change behaviour or fix faults.
- Fewer components: one chip replaces many gates, timers and counters, cutting size, cost and assembly time.
- Powerful: decisions, time delays, counting and loops are simple to add in software.
Try this
Q1. Name the flowchart symbol used for a yes/no decision. [1 mark]
- Cue. A diamond (decision box).
Q2. State one advantage of a microcontroller over a fixed-wired circuit. [1 mark]
- Cue. It can be reprogrammed to change behaviour without rewiring (or one chip replaces many components).
Exam-style practice questions
Practice questions written in the style of AQA exam questions on this dot point, with worked answer explainers. The year tag is the paper they imitate, not the source.
AQA 20194 marksExplain two advantages of using a microcontroller instead of a fixed-wired electronic circuit to control a product.Show worked answer →
A good answer gives two clear advantages with reasons.
First, a microcontroller is flexible: its behaviour is set by a program, so the same hardware can be reprogrammed to do a different job or to fix a fault without rewiring. A fixed circuit would have to be physically rebuilt.
Second, it can reduce component count and cost: one chip can replace many logic gates, timers and counters, making the product smaller, lighter and often cheaper to make and assemble.
Other valid points include easier handling of complex decisions, time delays and counting in software. Markers reward two distinct advantages, each with a brief reason.
AQA 20226 marksDescribe, using a flowchart, how a microcontroller could control a set of automatic security lights that switch on when it is dark and motion is detected, and turn off after a delay. Identify the inputs, outputs and decisions used.Show worked answer →
A good answer describes the flowchart logic in order and names the components.
Inputs: a light-dependent resistor (LDR) to sense darkness and a passive infrared (PIR) sensor to detect motion. Output: the security lamp.
Flowchart logic: start, then a decision diamond "is it dark?" If no, loop back and keep checking. If yes, a second decision "is motion detected?" If no, loop back. If yes, a process box "switch lamp on", then a process box "wait for the delay time", then "switch lamp off" and loop back to the start.
Two decisions (dark and motion) must both be true before the lamp comes on, a process turns the output on, and a timed delay keeps it on before resetting. Markers reward correct flowchart symbols (decision diamonds, process rectangles), the AND-style double condition, the timed delay, and correctly named inputs and output.
Related dot points
- The input-process-output model, the role of feedback in a control system, and how systems are drawn as block diagrams.
A focused answer to AQA GCSE Engineering on the input-process-output (IPO) model, open and closed loop systems, the role of feedback, and drawing systems as block diagrams.
- The four types of motion, mechanisms that change motion (levers, linkages, gears, pulleys, cams, cranks) and how they alter direction, speed and force.
A focused answer to AQA GCSE Engineering on the four types of motion and the mechanisms (levers, linkages, gears, pulleys, cams and cranks) that change the type, direction, speed or force of motion.
- Input, process and output components in electronic systems (sensors, resistors, transistors, logic, LEDs, motors, buzzers) and how they are combined.
A focused answer to AQA GCSE Engineering on electronic input, process and output components (switches, LDRs, thermistors, resistors, transistors, logic gates, LEDs, motors and buzzers) and how they form a working system.
- Computer-aided design (CAD), computer-aided manufacture (CAM), rapid prototyping and 3D printing, and their advantages and limitations.
A focused answer to AQA GCSE Engineering on CAD, CAM, the CAD/CAM link, rapid prototyping and 3D printing, with the advantages and limitations of each.
Sources & how we know this
- AQA GCSE Engineering (8852) specification — AQA (2017)