Customer Stories

The Difference Between Digital Input and Digital Output

2026-01-24

In industrial automation and IoT systems, DI and DO are two core interfaces for digital signals. Both operate based on switching signals (with only two discrete states: on/off, high/low, and logic 1/0). The core difference lies in the signal flow and functional positioning.

As a professional industrial IoT solution provider, Heyuan Intelligence focuses on helping customers better understand and apply DI/DO technologies in real-world scenarios.



I. Basic Concepts: Switching Signals


Switch signals are the most basic signal type in industrial control. They do not have continuously changing values, but only two opposing states, such as:

-Electrical level: Circuit on/off, voltage high/low level

-Equipment level: Button press/release, valve open/close, motor run/stop

These signals are widely used in industrial IoT systems for status monitoring and control logic execution.



II. DI (Digital Input)


1. Core Definition

DI is the interface used by a controller to receive status signals from external devices. Simply put, it is the “eye” that allows the controller to sense the external situation.

In IoT data acquisition systems, DI ports are commonly integrated into remote I/O modules or wireless data transmission terminals, enabling real-time monitoring across distributed sites.


2. Key Features

-Signal Flow: External Device → DI Interface → Controller

-Core Function: Collects status information from external devices and feeds it back to the controller for judgment

-Typical Connection Objects:

-Proximity switches, photoelectric sensors

-Buttons, limit switches

-Circuit breaker auxiliary contacts

For example, LoRa-based I/O data transmission terminals, such as the Heyuan Intelligence LoRa I/O Data Transmission Terminal, provide multiple DI channels that allow switching signals to be collected in remote or hard-to-wire environments and transmitted wirelessly via LoRa or LoRaWAN networks.

3

▲Heyuan LoRa I/O Data Transmission Terminal  IOT-L2S-B-I/O

3. Application

In cold chain monitoring, the signal from a cold storage door magnetic switch is connected to the DI port of an acquisition module or wireless I/O terminal.

-When the cold storage door is closed, the DI port receives a “closed” signal

-When the door is opened, the system reports an abnormal door-opening event in real time

Using LoRa I/O data transmission terminals, this monitoring can be implemented over long distances with low power consumption, making it suitable for cold storage warehouses, logistics parks, and remote facilities.


III. DO (Digital Output)


1. Core Definition

DO is the interface through which the controller sends control command signals to external devices, acting as the “hand” that allows the controller to command external actions.

In distributed IoT systems, DO ports are often integrated into remote control terminals, enabling centralized platforms to control field equipment wirelessly.

2. Key Features

-Signal Flow: Controller → DO Interface → External Device

-Core Function: Outputs switching signals to drive external devices

-Typical Connection Objects:

-Relays, contactors

-Solenoid valves

-Indicator lights and alarms

The Heyuan Intelligence LoRa I/O Data Transmission Terminal supports DO outputs that can remotely drive relays or solenoid valves, enabling long-distance equipment control without complex wiring.

3. Application

In a smart agriculture irrigation system:

-When soil moisture drops below a threshold, the controller triggers the DO port to start the pump

-When moisture reaches the target level, the DO output is turned off

With a LoRa I/O data transmission terminal, both DI feedback and DO control can be implemented wirelessly, making it ideal for farmland, greenhouses, and outdoor deployments.


IV. Comparison of DI and DO


Comparison DimensionDI (Digital Input)DO (Digital Output)
Core FunctionCollect external device statusOutput control signals
Signal FlowExternal → ControllerController → External
Functional EssenceController’s sensing endController’s execution end
Connected DevicesSensors, switchesRelays, solenoid valves
ApplicationStatus monitoring, alarmsEquipment control


V. Supplementary Points for Industrial Applications


1. Voltage Rating: Typically 24VDC, sometimes 220VAC

2. Isolation Design: Opto-isolation improves system safety

3. DI/DO vs AI/AO: Switching vs continuous signals

4. Engineering Selection: Consider voltage, isolation, wiring, and communication distance

For distributed and remote applications, wireless I/O solutions from Heyuan Intelligence provide a flexible and reliable alternative to traditional wired I/O modules.

Share

Leave a Message

Your email address will not be published.

Submit