Skip to main content
WalesElectronicsSyllabus dot point

What is a microcontroller, how is it interfaced, and how do flowcharts describe its program?

The microcontroller as a programmable integrated circuit, how sensors and output devices are interfaced to it, designing and analysing a control program as a flowchart, and why microcontrollers are now used so widely.

A focused answer to WJEC Eduqas GCSE Electronics on microcontrollers, covering the microcontroller as a programmable IC, interfacing sensors and outputs, designing and analysing a control program as a flowchart, and why microcontrollers are so widely used.

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 topic is asking
  2. The microcontroller
  3. Interfacing sensors and outputs
  4. Flowcharts
  5. Why microcontrollers are used so widely
  6. Try this

What this topic is asking

WJEC Eduqas wants you to know the microcontroller as a programmable integrated circuit, how sensors and output devices are interfaced to it, how to design and analyse a control program as a flowchart, and why microcontrollers are now used so widely. This is the modern, software-based way to build a control system.

The microcontroller

A microcontroller replaces a collection of fixed logic gates, counters and timers with one chip that you program. Because the function lives in software, you change the behaviour by changing the program, not by rewiring. This flexibility, plus low cost and small size, is why microcontrollers dominate modern electronics. The same chip might run a washing machine, a toy or a thermostat, depending only on its program.

Interfacing sensors and outputs

The microcontroller's pins work at small logic-level voltages and currents, so the outside world must be interfaced to them. A sensor's analogue signal is conditioned (for example, a divider plus a Schmitt inverter) to give a clean input; a high-current output (a motor, lamp or relay) is driven through a transistor or MOSFET because a pin can only supply a few milliamps. This is the systems approach again: input interface, microcontroller (process), output driver.

Flowcharts

The flowchart is the language for the program. You read or draw it top to bottom: start, read the inputs, make decisions in diamonds (each with a "yes" and a "no" path), drive the outputs, then usually loop back to keep checking. Forgetting the loop is a common error, because most control programs must run continuously rather than once. Being able to both draw a flowchart from a description and follow one to say what it does are examined skills.

Why microcontrollers are used so widely

The advantages are decisive: fewer chips, lower cost, smaller boards, and easy upgrades. A microcontroller can also do things that are awkward with fixed logic, such as complex sequences, timing and arithmetic, all in software. This is why everyday products - from a microwave to a car's engine management - are built around microcontrollers rather than discrete logic, and why the topic ends Component 2 by linking electronics to programmable control.

Try this

Q1. State one advantage of a microcontroller over a circuit of fixed logic gates. [1 mark]

  • Cue. Its behaviour can be changed by reprogramming (or: one chip replaces many gates, so it is smaller and cheaper).

Q2. State the flowchart shape used for a yes/no decision. [1 mark]

  • Cue. A decision diamond (with two branches).

Exam-style practice questions

Practice questions written in the style of WJEC exam questions on this dot point, with worked answer explainers. The year tag is the paper they imitate, not the source.

Eduqas style3 marksExplain what a microcontroller is and give two advantages of using one instead of fixed logic gates to build a control system.
Show worked answer →

A Component 2 Explain question on microcontrollers. A microcontroller is a programmable integrated circuit (a small computer on a chip) with inputs and outputs, whose behaviour is set by a program rather than by fixed wiring (1 mark). Advantages (1 mark each, any two): the behaviour can be changed by reprogramming without rewiring; one chip can replace many logic gates, so the circuit is smaller and cheaper; it can carry out complex decisions, timing and counting in software; and it is easy to modify or upgrade. Markers reward the programmable-IC definition and two clear advantages. A common error is to describe it as a fixed logic chip.

Eduqas style4 marksDraw or describe a flowchart for a microcontroller that turns on a fan when a temperature sensor reads 'too hot', and turns it off otherwise, repeating continuously.
Show worked answer →

A Component 2 flowchart question. A correct flowchart has: a start, then a process/input step to read the temperature sensor, then a decision diamond asking "too hot?" (2 marks for an input step and a decision diamond). If yes, a step to turn the fan on; if no, a step to turn the fan off; then a loop back to read the sensor so it repeats continuously (2 marks for the two output branches and the loop back). Markers reward the input, the decision with two branches, the outputs and the loop. A common error is to leave out the loop, so the program only runs once.

Related dot points

Sources & how we know this