Before using a relay module, it is necessary to install it in a suitable location, usually in a control box or distribution box. Next, connect the input and output ports of the relay module as needed.

Relay modules typically have 8 pins, including 2 coil pins and 6 contact pins. The coil pin is responsible for controlling the switching action of the relay, usually marked with “+” and “-” symbols, corresponding to the positive and negative poles of the DC power supply, respectively. Contact pins are used to connect power supplies and controlled devices, and are generally divided into normally closed contacts (usually connected) and normally open contacts (usually disconnected).

Next, according to actual needs, connect the input and output ports of the relay module to the circuit that needs to be controlled. For example, if we want to control the switch of a light bulb, we can connect the power cord of the bulb to one contact pin of the relay module, and connect the other contact pin to another section of the power supply. By controlling the coil pins of the relay module, we can achieve on/off control of the light bulb.

类似文章