LabWired The easy way to build hardware
board I/O module

2-Channel Relay

The 2-Channel Relay is a board I/O module in the LabWired part catalog. Its catalog type is relay-2ch. It connects to the MCU over GPIO. The catalog gives a supply range of 4.5–5.5 V. It has 10 pins. This part is its pins. There is no separate device model because the MCU’s own GPIO/PWM/ADC model already is the simulation.

From the catalog: ProtoSupplies 5V × 2 opto module (51 × 39 × 20 mm), JD-VCC jumper assumed fitted: logic LOW on IN1 or IN2 energizes that coil. boardIoChannels keeps the two inputs independent; boardIoActiveHigh is false. COM/NO/NC per channel are passive load pads. The contacts are not a switched device model.

Key facts

CategoryBoard I/O modules
Catalog typerelay-2ch
InterfaceGPIO
Supply range4.5–5.5 V
Pins10

What LabWired simulates

What is simulated

Pins only, by design

How it was validated

Not applicable. No device model to validate — see what is simulated, above.

2-Channel Relay pinout

PinElectrical typeFunction
VCC Power input Supply
GND Power input Supply
IN1 Input GPIO
IN2 Input GPIO
COM1 Passive —
NO1 Passive —
NC1 Passive —
COM2 Passive —
NO2 Passive —
NC2 Passive —

How to simulate the 2-Channel Relay in LabWired

  1. Open the Playground at app.labwired.com and place an MCU board.
  2. Add the 2-Channel Relay (catalog type relay-2ch).
  3. Connect VCC and GND to the supply and ground of the board. Use a supply inside the catalog range of 4.5–5.5 V.
  4. Connect IN1 and IN2 to free GPIO pins.
  5. Connect COM1, NO1, NC1, COM2, NO2 and NC2 as your circuit needs.
  6. Run the firmware. It reads and drives these pins through the GPIO, PWM and ADC models of the MCU. The part has no separate device model.

Related Board I/O modules

All Board I/O modules · All parts

No manufacturer datasheet is indexed for this part yet, so none is linked here.