Labs / Bipes + MicroPython

8 Actuators (Outputs / Actuators)

Author: Li Zisheng · Source: FreakStudio open documentation · License: CC BY 4.0

Contents

Young makers, we previously equipped the development board with its "sensory organs" — sensors, enabling it to perceive environmental changes such as flames, light, and temperature.

But perception alone is not enough; a smart development board also needs to "take action": for example, displaying the detected value on a digital tube, playing a prompt tone through a speaker, or driving a car to move with a motor. .. The "hands and feet" that help the development board complete these actions are exactly the actuators we will learn about in this chapter.

The actuator is the "action performer" of the development board, which can turn the cold numbers and instructions in the program into tangible, audible and visible practical effects:

In this chapter, we will teach the program to do another equally important thing: alter the real world based on the result of a judgment.

1. What is an actuator?

Actuators in a nutshell: An actuator is the "hands, mouth and tools" of a program, responsible for translating computational results into tangible actions.

All these "light emission, sound production, rotation, and power on/off" actions are entirely performed by actuators.

2. Actuators are not the same as sensors, as they have distinct respective responsibilities

To avoid confusion, let's use another very intuitive comparison:

Module Type

Which part of the human body does it resemble?

Function

Sensors

Eyes / Skin / Ears

Perceive external information

Actuators

Hands / Mouth / Muscles

react to the outside world

📌 A complete intelligent system is bound to have both types of modules at the same time.

Sensors are responsible for "input", actuators take charge of "output", and the program in between handles judgment and decision-making.

For every actuator you learn, we pair it with simple yet fun mini-experiments — ranging from "digital scrolling display" to "infrared remote-controlled motor". You’ll find that once you equip the development board with "hands and feet", the creative possibilities you can play around with are far more than you imagined!

3. What You Will Learn in This Chapter

In this chapter, we will introduce you to a variety of common and practical output devices, ranging from the most intuitive display and audio modules to those that can actually control the on-off status of devices and the operation of motors.

The learning sequence will follow a principle:

From "being visible and audible" → to "being able to control real devices"

You will learn the following in sequence:

4. Core Idea of Actuator Learning

When learning each actuator module, always keep the following "universal formula" in mind:

Input → Judgment → Output

That is:

  1. Acquire data from sensors or control signals
  2. Use conditional judgment to decide whether to execute an action
  3. Present the results via the actuator

📌 Almost all the comprehensive projects you will see later follow this exact logic repeatedly.

5. Study Reminder

  1. Most actuators in this chapter only require output control and involve no complex computation;
  2. Some components (such as relays, UV lamps, and motors) have high power ratings, so please operate strictly in accordance with the wiring instructions;
  3. Graphical programming has already encapsulated the underlying details for you, so what you need to focus on is:
    • When is it triggered
    • What effect will be output
    • How long does it last