Learn how to connect 4-channel relay module to Arduino, how to program Arduino to control 4-channel relay module step by step. The detail instruction, code, wiring diagram, video tutorial, line-by-line code explanation are provided to help you quickly get started with. This module allows microcontrollers to control high-voltage devices (AC or DC) using opto-isolated relays. Each channel can be triggered by either HIGH or LOW logic, selectable via jumpers. Set to L for LOW trigger (default). However, there is a simpler way is to use a 4-channel relay module. A 4-channel. An Optocoupler, is an electronic component that interconnects two separate electrical circuits by means of a light sensitive optical interface. There is a is a light emitting diode with a phototransistor inside the optocouplers, both of them are isolated from the external environment of the. In the following post I have explained how to drive a relay by using an isolated method, or through an optocoupler device. We will learn three methods, first method is by connecting relay directly with the optocoupler output pins, second method is by using external PNP transistors, and third method. The four-channel relay module contains four 5V relays and the associated switching and isolating components, which makes interfacing with a microcontroller or sensor easy with minimum components and connections.