Skip to main content
EnglandEngineeringSyllabus dot point

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.

Generated by Claude Opus 4.89 min answer

Reviewed by: AI editorial process; not yet individually human-reviewed

Have a quick question? Jump to the Q&A page

Jump to a section
  1. What this dot point is asking
  2. What a microcontroller does
  3. Flowcharts for control programs
  4. Why programmable control is better
  5. Try this

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

Sources & how we know this