KI MAKER / APPLICATION NOTE AN-07 · Revision 1.1 · November 2026
Switch a standalone 12 V DC relay coil with OUT-4 and check its contacts while the contact circuit stays unpowered.
Hardware: OUT-4, standalone 12 V DC relay
Scope and prerequisites
Energize an appropriately rated standalone 12 VDC relay coil through OUT-4, leaving the separate contact circuit unpowered. OUT-4 is not galvanically isolated. This is an instructional example, not validation of a specific relay model.
Functional connection diagram
Terminal-to-terminal wiring
| From | To |
|---|---|
| 12 VDC source + / − | CN1 DC+ / DC− |
| Controller D4 (example) | CN2 IN1 |
| Controller GND / PLC 0 V | CN2 GND |
| Relay coil + (if marked) | CN3 V+ |
| Relay coil − (if marked) | CN3 OUT1 |
| Relay COM / NO / NC | Keep unconnected to external circuits during coil test |
Firmware example
Use the target controller and power/programming procedure described here. Generic Arduino-API pin numbers are examples, not universal pin assignments.
// D4 is an example: choose a suitable output pin
const int RELAY_PIN = 4;
void setup() {
digitalWrite(RELAY_PIN, LOW);
pinMode(RELAY_PIN, OUTPUT);
delay(2000); // observe coil OFF
digitalWrite(RELAY_PIN, HIGH);
delay(5000); // one 5-second pulse
digitalWrite(RELAY_PIN, LOW);
}
void loop() {
// Stay OFF; reset re-runs the test.
}Commissioning
- Select a 12 VDC coil compatible with the source, OUT-4 ratings, marked polarity and suppression.
- With coil disconnected, check CN1 voltage/polarity and PWR OK using a current-limited supply.
- Power OFF; wire coil to CN3 V+/OUT1 and controller GND to CN2 GND.
- Run sketch: after 2 s, command ON for 5 s, then remain OFF. Listen for relay action.
- Keep contacts unpowered. Verify conventional SPDT COM/NO/NC states with an appropriate meter. Move continuity probes only with system power OFF; check each pair during the pulse and afterward. Never use continuity mode on a powered contact circuit.
- Remove power for chatter, abnormal coil heat or incorrect output behavior.
Expected operation
Expected for a conventional SPDT changeover relay: coil OFF gives COM–NO open and COM–NC closed; coil ON reverses these states. Confirm actual contact pinout and type from the relay datasheet. LOW takes effect when firmware executes; it does not guarantee OFF at boot/reset or on loss of controller power.
Troubleshooting
| Observation | First check |
|---|---|
| PWR OK dark | Measure CN1 voltage/polarity; remove power before inspection. |
| OUT1 LED never activates | Check D4→IN1 command relative to CN2 GND and selected pin. |
| OUT1 LED ON; no click | Power OFF; check 12 V coil rating, V+/OUT1 and polarity/suppression. |
| Relay clicks; contacts unchanged | With contact circuit unpowered, verify COM/NO/NC pinout and contact type. |
Ratings and references
OUT-4 Rev-A supply 5–24 VDC nominal (30 V absolute maximum); 1 A continuous/channel, 3 A total; no output short-circuit protection. DC coil only, no AC mains on OUT-4. OUT1 switches negative only. Paired V+/OUTx has onboard flyback protection for common coils; check built-in suppression, current and release behavior, and whether additional suppression is needed. External relay datasheet defines isolation/contact ratings. Optional PWR INTF 12 V supply is allowed only within available shared load/thermal budget.
Source: AN-07 PDF, revision 1.1. Refer to the released board owner’s manual, quick start and specification referenced in the original PDF.
Download AN-07 PDF (Rev 1.1) · Download AN-07 firmware (.ino)
Related application notes
- Switch one 24 V LED load (AN-04). Learn the basic low-side switching path with one DC load.
- Check a control panel power budget (AN-08). Include the relay coil in the supply and output current budget.
Return to the application-note index
Product manuals and documentation · OUT-4 · OUT-4 quick start
