Home · Academy · Robotics & Coding · Sensors and Actuators · What Is an Actuator?

What Is an Actuator?

Learn how actuators turn a decision into physical motion or output.

LESSON COMPASS

What will you use this page for?

Core idea

An actuator is the part that turns a system's decision into real movement or output in the world; so while a sensor listens to the world, an actuator responds to it.

Evidence to produce

Complete the page task with your own input, test conditions and reasoning.

Control trap

Confusing sensor and actuator A sensor measures, an actuator acts. A thermometer is a sensor, a heater is an actuator. Remember the direction: sensor goes in, actuator goes out. Powering a motor directly from the board DC motors and servos can draw far more current than a micro:bit or Arduino pin can handle. If you…

Next connection

Digital and Analog Signals: We learn the two different signal languages that sensors and actuators speak.

Module sources: Python Tutorial · Arduino Learn

LevelBeginner
Age10–16
Duration30–45 min
PrerequisiteWhat Is a Sensor?
ContentStandard lesson · 1,570 words
Last updated

One-sentence summary

An actuator is the part that turns a system's decision into real movement or output in the world; so while a sensor listens to the world, an actuator responds to it.

Why does it matter?

In the previous lesson we learned about sensors. Sensors are like a robot's eyes, ears and skin; they measure temperature, distance or light and turn it into a number. But think about it: the robot measured the distance and said, "there is an obstacle in front of me." What happens next?

This is exactly where the actuator steps in. Measuring alone is not enough; the robot needs to actually do something. Stop, turn, light up, make a sound or lift an arm. Actuators handle all of these "doing" jobs.

If we compare a robot to a living creature:

A robot with no sensors is blind. A robot with no actuators is paralysed; it can see the world but cannot do anything. When the two work together, the robot becomes a machine that truly "gets things done."

What exactly does an actuator do?

An actuator is a part that turns an electrical signal into a physical effect. It takes electrical energy as input; it produces movement, light, sound or heat as output.

The word comes from "act." So you can think of an actuator as the part of the system that "takes action."

The difference between a sensor and an actuator

Not mixing these two up is very important. The most basic difference is the direction the energy flows.

The difference between a sensor and an actuator table
FeatureSensorActuator
JobMeasuresActs
DirectionWorld to system (input)System to world (output)
ExampleDistance sensor, light sensorMotor, LED, buzzer
AnalogyEye, earMuscle, vocal cord

In short: a sensor is input, an actuator is output. A thermometer is a sensor because it reads the temperature. A heater is an actuator because it warms the room.

Everyday example: an automatic door

Think about the automatic door of a shopping centre. When you get close, it opens. Two parts work together here:

  1. A sensor detects you (a motion or distance sensor).
  2. An actuator is the motor that pushes the door.

Without the sensor, the door would not know when to open. Without the actuator, even a correct decision could not move the door.

Everyday example: phone vibration

Your phone buzzes when it is on silent mode. That vibration is made by a tiny motor with an unbalanced weight on its shaft, a small actuator. The phone makes the decision "a message arrived," then turns that decision into a vibration you feel in your hand. The decision is digital, the vibration is physical. The actuator is the bridge between them.

Common types of actuators

DC motor

This is the simplest motor. When you give it electricity it spins one way, and if you reverse the polarity it spins the other way. It is used in wheeled robots, fans and toy cars. To control its speed, the code usually uses a method called PWM (pulse-width modulation); we send very fast on-off signals to the motor to set its average speed.

Servo motor

A servo is a special motor that can turn to a specific angle. For example, if you say "go to 90 degrees," it turns exactly there and holds. It is widely used in robot arms, steering mechanisms and camera-angle adjustments because its position control is very precise.

LED

An LED is a small actuator that turns electricity into light. It has no moving parts, but it still produces an output: light. It is perfect for showing a robot's states, such as "ready," "stop" or "error."

Buzzer (speaker)

A buzzer is an actuator that turns electricity into sound. It is used for warning tones, simple melodies or alarms. A microphone is a sensor (it listens to sound); a buzzer is an actuator (it produces sound). They make a nice comparison pair.

How does code drive an actuator?

Controlling an actuator with code usually has three steps: read the sensor, make a decision, run the actuator.

Below is pseudocode that combines a distance sensor with a motor. The sensor (input) and the actuator (output) work together:

repeat forever:
    distance = read_distance_sensor()
    if distance < 10 centimetres:
        stop_motor()        # actuator: movement
        turn_on_red_LED()   # actuator: light
        play_buzzer()       # actuator: sound
    else:
        drive_motor_forward()  # actuator: movement

Let's see the same idea with a very simple servo example on a micro:bit. When the button is pressed, the servo turns to an angle:

when button A is pressed:
    servo_write(pin0, 90)   # move the servo to 90 degrees
    wait 2 seconds
    servo_write(pin0, 0)    # return the servo to its start

Notice that in both examples the decision part of the code is separate from the action part. The information from the sensor is checked inside an "if," then a command goes to the actuator. In the world of robotics this loop is always the same from start to finish: read, decide, act.

Mini practice

Draw the table below on paper and fill it in. Your goal is to tell whether each part in a device is a sensor or an actuator.

Mini practice table
DeviceInput (sensor)Output (actuator)
Automatic door??
Air conditioner??
Washing machine??
Game controller (with rumble)??

Then design a robot idea: a night light that turns on automatically when it gets dark. Answer these three questions:

  1. Which sensor measures the darkness?
  2. Which actuator gives the light?
  3. Which sentence describes the decision in between? (Hint: "If … then …")

Write your idea as pseudocode. There is no single correct answer; what matters is that the input, the decision and the output each appear separately.

Common mistakes

Confusing sensor and actuator

A sensor measures, an actuator acts. A thermometer is a sensor, a heater is an actuator. Remember the direction: sensor goes in, actuator goes out.

Powering a motor directly from the board

DC motors and servos can draw far more current than a micro:bit or Arduino pin can handle. If you connect a motor straight to the board, you can damage it. Instead, use a motor driver and a separate battery.

Forgetting the decision and only wiring the actuator

An actuator is not smart on its own. It needs a decision (code) that tells it "when" to act, and usually a sensor too. Just attaching a motor and waiting does nothing.

Starting an actuator at full power

Starting a servo or motor at top speed creates a sudden, uncontrolled movement. Begin at low speed, watch the behaviour, then increase it.

Safety note

Actuators create a real effect in the outside world, so you need to be careful.

Lesson summary

Check questions

  1. What is the basic difference between an actuator and a sensor?
  2. Is a buzzer a sensor or an actuator? Why?
  3. What is the most important feature that separates a servo motor from a DC motor?
  4. Why should we not power a DC motor directly from a micro:bit pin?
  5. In the "read, decide, act" loop, which step does an LED belong to?

Answers

  1. A sensor measures the outside world and gives the information to the system (input); an actuator turns the system's decision into an action in the world (output).
  2. It is an actuator, because it turns electricity into sound and so produces an output to the world. (A microphone that listens would be a sensor.)
  3. A servo can turn to a specific angle and hold there; that is, its position is controlled precisely. A DC motor spins continuously.
  4. Motors draw far more current than a pin can provide; connecting one directly can damage the board. A motor driver and a separate power source are needed.
  5. It belongs to the "act" step; an LED is an output, so it is an actuator.

Source and verification note

For “What Is an Actuator?”, verification focuses on whether the relationship between What exactly does an actuator do? and Everyday example: an automatic door remains consistent across examples. Sensor readings can change with the model, supply voltage and environment. Thresholds in the lessons are therefore examples; a real project should use a measurement table and calibration.

Next lesson

Digital and Analog Signals: We learn the two different signal languages that sensors and actuators speak.

Start QuizBack to Sensors and Actuators
QUESTION POOL

Reinforce this lesson with 10 questions

This lesson has a pool of 20 questions. Each attempt selects 10 and reshuffles the choices.