Proteus does not include this module by default in its standard library (up to v8.15 as of early 2026). You must manually add a third-party library.
The official Proteus library doesn't include a ready-to-use 4-channel relay component, so you'll need to rely on third-party sources. These are the most reliable and up-to-date sources:
What you plan to connect to the relay module?
1N4007 (Flyback diodes placed in parallel with coils to prevent inductive back-EMF)
Designing with a 4-Channel Relay Module Library in Proteus A 4-channel relay module allows low-power microcontrollers to safely control up to four high-voltage AC or DC loads simultaneously. While Proteus lacks a dedicated, pre-built 4-channel relay board in its native library, you can easily simulate this setup. You can install a custom third-party library or construct an identical, fully functional circuit using native discrete components. Step-by-Step Installation of a New Proteus Library
void setup() for (int i = 0; i < 4; i++) pinMode(relayPins[i], OUTPUT);
本项目使用ATmega328P(Arduino平台)作为主控芯片,通过ULN2003达林顿驱动阵列来控制4路12V继电器。用户通过串口终端发送简单的数字指令(例如“21”),即可远程开启或关闭指定的继电器通道。整个系统在Proteus中进行了完整的仿真验证,涵盖了电路设计、程序编写和仿真测试的全流程。
Move both downloaded files directly into the LIBRARY folder.
The 4-channel relay module library for Proteus new had several impressive features:
To protect the controller from electrical noise.
: Ensure you are using an "Active" or "Animated" relay model from the library. Static models do not visually change states during active simulation.
:
// Define control pins for the 4-channel relay module const int relayPins[4] = 2, 3, 4, 5; void setup() // Initialize all four pins as outputs for(int i = 0; i < 4; i++) pinMode(relayPins[i], OUTPUT); digitalWrite(relayPins[i], HIGH); // Keep relays OFF initially (Active-Low configuration) void loop() // Cycle through each relay channel sequentially for(int i = 0; i < 4; i++) digitalWrite(relayPins[i], LOW); // Turn relay ON delay(1000); // Wait 1 second digitalWrite(relayPins[i], HIGH); // Turn relay OFF delay(1000); // Wait 1 second Use code with caution. Troubleshooting Common Simulation Errors