Automated systems, sensors and actuators
Design a simple automated system by connecting sensors, a microcontroller, an ADC and actuators.
Mapped to the Cambridge IGCSE Computer Science 0265 syllabus for exams in 2029. These original explanations and self-checks are independent study support, not Cambridge papers, official marks or grades. Practical programming is taught with worked code and trace tasks; an executable Python workspace and timed digital-exam simulation are not yet available.
Before you begin
- Use the 2029 syllabus for this course. Cambridge specifies Python 3.10 or higher for programming and digital exams for both components. The syllabus currently identifies this route for 2029 only; confirm later-year availability with Cambridge and your school.
Work on paper. Try each question before revealing help, and explain why your method works.
Quick readiness check
Before automated systems, sensors and actuators, which statement is the safest starting point?
What you will learn
- Describe a microcontroller and embedded system
- Match sensors and actuators to a scenario
- Explain the input–process–output cycle of automation
A microcontroller reads and controls its environment
A microcontroller is a complete computer system on one chip, with a processor, a small amount of RAM and ROM, and input/output ports. It can be built into a larger product to perform a specific task; that is an embedded system.
Sensors detect physical changes such as temperature, light or movement. Their signals may be analogue, so an analogue-to-digital converter (ADC) changes them into digital values a microcontroller can process.
Outputs complete the feedback loop
An actuator performs an action in response to the microcontroller's output. Examples include a motor, buzzer, valve or heater. An automated system repeatedly reads sensors, processes measurements using programmed rules and controls actuators.
Choose a sensor that measures the variable in the scenario and an actuator that can produce the required action. Explain the control rule as a sequence from condition to response, including any threshold or timing stated in the question.
Pause and explain
Which habit best checks your understanding of automated systems, sensors and actuators?
Worked example
Design a greenhouse control that opens a vent when the temperature rises above a limit.
Show the worked solution
- A temperature sensor measures the air temperature.
- The microcontroller reads the digitised value and compares it with the limit.
- If it is above the limit, a motor actuator opens the vent.
Answer Temperature sensor → ADC/microcontroller comparison → motor actuator opens vent.
Try a topic test
Choose Easy, Normal or Difficult. Save your answers and open worked review after finishing.
Test this topic →From guided practice to a new situation
Write your answer and reasoning first. Use a hint only if you are stuck. The model solution is for self-checking; your written work is not automatically marked.
An automatic street light should switch on when it becomes dark. Choose a sensor and actuator and give the control rule.
Give me a hint
Measure light level and select an output device that switches the lamp.
Compare my reasoning
- Use a light sensor to measure brightness.
- The microcontroller compares the reading with a threshold.
- If it is below the threshold, it switches on the lamp using an output/relay actuator.
Light sensor → threshold test → switch/relay turns the light on when dark.
Look for these in your work
- Suitable sensor
- Decision condition
- Output action
Explain the roles of the microcontroller and ADC in a water-level alert system that uses an analogue sensor.
Give me a hint
Separate signal conversion from decision-making.
Compare my reasoning
- The sensor produces an analogue signal related to water level.
- The ADC converts that signal into a digital value.
- The microcontroller compares the value with a threshold and can trigger an alert output.
ADC digitises the sensor signal; the microcontroller processes it and controls the alert.
Look for these in your work
- Analogue signal
- Conversion
- Processing/output
A robot vacuum uses distance and floor sensors to avoid a stair edge and stop its wheels. Describe a sensor–controller–actuator sequence.
Give me a hint
Explain the measurement, decision and physical action.
Compare my reasoning
- A floor sensor detects a change that indicates an edge; a distance sensor can detect nearby objects.
- The microcontroller checks the readings against programmed rules.
- It commands wheel motors to stop or turn, preventing the robot from continuing forward.
Sensors detect conditions, the microcontroller decides, and wheel motors act on the decision.
Look for these in your work
- Sensors matched
- Rule processing
- Actuator action
Common mistakes
- Calling an actuator an input sensor.
- Assuming every sensor gives digital values without conversion.
- Describing an automation system without stating its control condition.
What can you explain now?
What changes an analogue sensor signal into digital data?
Compare with the explanation
ADC
An analogue-to-digital converter produces a digital value the microcontroller can process.
After trying it yourself, choose your next review. This is your self-assessment.
Your review choice appears on Today. Sign in to sync it across devices.
Make it stick
How do a sensor, ADC, microcontroller and actuator combine to make an automated system?
If you needed the solution, close it and solve the problem again from a blank page. A correct answer is stronger when you can explain the reason for each step.