Analogue versus digital input and output signals
Analogue signals vary smoothly over a range; digital signals have fixed values like on/off (1/0). Systems convert between them, e.g. ADC at a sensor input, DAC at a speaker output.
Understanding Analogue versus digital input and output signals in QCE Digital Solutions Unit 3
What it does: adc.read() stands for an analogue-to-digital converter turning a smooth sensor voltage into a digital value the processor can handle. A switch gives a digital signal because it only has two states, on (1) or off (0), with nothing in between. A push button is already digital (1 or 0). The gradually changing light reading is analogue and needs an ADC first. Digital signals use fixed values such as on/off or 1/0. Smoothly varying values in between describe analogue signals. The button has two states, pressed (1) and not pressed (0), so it is a digital input.
Common mistakes: A button is a switch with only two states, pressed or not pressed (1 or 0), so it is a digital input. The message should say digital, not analogue. A temperature sensor gives a smoothly varying analogue signal, so it must be read through an ADC with read_adc(). A digital read would only return 0 or 1 and lose the detail.
Free printable worksheet with full answer key — or add this module to a class and your students practise it interactively.
This module's key terms are also in a printable crossword (Modules 15–119) and word search (Modules 15–176).
Take this worksheet further — free with Cloodit
Each concept is reinforced from every angle — learned, then applied, then tested.
Cloodit turns curriculum-aligned coding content into journeys students work through one biome at a time.
Over 100 of them, across seven natural biomes.
Turns their work into revision material ready for Flash Cards and Exam study.
Live, competitive practice for the start of the lesson or a teacher-led lesson finisher.
Honour your top performers, or encourage a student who's trying hard — ready to print in seconds.
Quick Questions
Match the Pairs
Key Term
analogue vs digitalFill in the Blanks
Spot the Error
Student with a class code? Join your class →