Skip to Content

AN-04: Switch a 24 V DC load with OUT-4

Wire and switch a 24 V DC LED load on one OUT-4 low-side output. Follow the connection diagram and check load polarity, current, and controller wiring.

By Frank Kuster

AN-04: Switch a 24 V DC load with OUT-4 featured image
AN-04: Switch a 24 V DC load with OUT-4

KI MAKER / APPLICATION NOTE AN-04 · Revision 1.1 · November 2026

Connect one 24 V DC LED load to OUT-4 and check its response to a controller output.

Hardware: OUT-4

Scope and prerequisites

Switch a suitably rated, low-current 24 V LED strip using one OUT-4 Rev-A / PCB V1.01 channel and a compatible controller. OUT-4 neither generates 24 V nor acts as an isolated relay. The wiring, code and behavior are instructional; no completed LED-load validation test is asserted.

Functional connection diagram

Switch a 24 V DC load with OUT-4: source functional connection diagram
Extracted from AN-04 Rev 1.1. Functional paths, not physical pin positions. Follow the actual board silkscreen and the equipment documentation. Power OFF before wiring.

Terminal-to-terminal wiring

FromTo
24 V DC source +OUT-4 CN1 DC+
24 V DC source −OUT-4 CN1 DC−
Controller D3 (example)OUT-4 CN2 IN1
Controller GNDOUT-4 CN2 GND
24 V LED strip +CN3 V+
24 V LED strip −CN3 OUT1

Firmware example

Use the target controller and power/programming procedure described here. Generic Arduino-API pin numbers are examples, not universal pin assignments.

// Example pin; verify suitability for your board
constexpr int OUT4_PIN = 3;
void setup() {
  digitalWrite(OUT4_PIN, LOW); // OFF first
  pinMode(OUT4_PIN, OUTPUT);
}
void loop() {
  digitalWrite(OUT4_PIN, HIGH); // ON
  delay(2000);
  digitalWrite(OUT4_PIN, LOW); // OFF
  delay(2000);
}

Commissioning

  1. Verify 24 VDC strip rating and current including startup against channel, board and supply limits. Choose suitable conductors and protection.
  2. With no load, power OUT-4. Measure CN1 DC+ to DC− and observe expected PWR OK.
  3. Power OFF and verify discharge. Make all six connections and inspect for bare wire or shorts.
  4. Program using the actual controller’s normal power/programming procedure and an appropriate pin.
  5. Apply power. Expect OUT1 LED and strip to alternate at two-second intervals.
  6. Remove power for unexpected heat, cycling supply or wiring concerns; do not adjust energized conductors.

Expected operation

Expected only: with 24 VDC on CN1, LOW (approximately 0 V) at IN1 gives OUT1 LED OFF and strip OFF; HIGH (3.3 V or 5 V for this GPIO example) gives both ON. OUT-4 also accepts documented 12 V/24 V control signals from a compatible sourcing PLC output with PLC 0 V to CN2 GND. This Arduino sketch does not apply to PLCs. MCS-01 recorded 24.12 V at CN1 without external load; no LED switching measurement is claimed.

Troubleshooting

ObservationFirst check
PWR OK darkMeasure CN1 DC+ to DC−; inspect polarity/wiring with power OFF.
OUT1 LED never lightsMeasure CN2 IN1 relative to GND; check approximately 0 V LOW and 3.3/5 V HIGH and selected pin.
OUT1 LED ON; strip darkPower OFF; check load rating, polarity and paired V+/OUT1.
Strip stays ONCheck for strip negative connected to DC− rather than OUT1.

Ratings and references

V+ stays energized. OUT1 is a switched return, not permanent ground. Common controller ground to CN2 GND is required. Never connect 24 V to MCU GPIO. OUT-4 supply 5–24 VDC normal; 30 V absolute maximum is not a target. Limits: 1 A continuous/channel, 3 A board total. DC only; no mains. Outputs are not short-circuit protected. Onboard flyback diodes support common inductive loads at paired V+/OUTx; each load needs its own suitability check.

Source: AN-04 PDF, revision 1.1. Refer to the released board owner’s manual, quick start and specification referenced in the original PDF.

Download AN-04 PDF (Rev 1.1) · Download AN-04 firmware (.ino)

Related application notes

Return to the application-note index

Product manuals and documentation · OUT-4 · OUT-4 quick start