What is relay in sensor?

What is relay in sensor?

A relay, in simple words, is a switch activated electronically in an electric circuit to interrupt or not the electric current according to a control circuit. When the control circuit is powered, the relay shuts and allows the current flow between two connected points.

What is an output relay?

Output Relay Modules are used to interface computer logic levels to other voltage levels. They provide output from logic level control systems to external loads such as motors, valves, and solenoids. They provide inputs from loads or sensors to microprocessor- or computer-based logic level systems.

How is a sensor connected to a relay?

If the sensor sinks current (NPN): The relay should be connected between a + power supply (Vcc) and the output (Vout). If the sensor sources current (PNP): The relay should be connected between the sensor output (Vout) and the ground.

How does the output circuit of a relay work?

The relatively small current in the input circuit thus activates the larger current in the output circuit: The input circuit (blue loop) is switched off and no current flows through it until something (either a sensor or a switch closing) turns it on. The output circuit (red loop) is also switched off.

What can you do with an Arduino relay?

With a relay, you can easily use an Arduino to control the power of nearly any type of electrical device. The circuit shown below uses an LED as the output device. Relays are often used in home automation projects. They can be configured to switch AC line current to loads like fans, motors, and lights.

How is relay logic used in lighting applications?

Use Relay Logic to control lights using relays in standard applications as well as 3-way switching application. Our relay logic guide helps demonstrate the best ways to connect NCD relay controllers in real-world control applications.