Cirkit Designer LogoCirkit DesignerYour all-in-one circuit design IDE Launch Cirkit Designer App

IR Sensor-Controlled Relay with Indicator LEDs and Buzzer Notification

View and Edit Project In Cirkit DesignerImage of IR Sensor-Controlled Relay with Indicator LEDs and Buzzer Notification

Circuit Documentation

Summary

This circuit appears to be designed for controlling a relay based on the output of an infrared (IR) sensor, with visual indicators and a piezo buzzer for audible signaling. The circuit includes a voltage regulator to step down the voltage from a 9V battery to a lower voltage suitable for the IR sensor and the relay coil. An NPN transistor is used to drive the relay coil, which in turn switches the Normally Open (NO) and Normally Closed (NC) contacts. The relay contacts are used to control the power to a green LED (when NO) and a red LED with a piezo buzzer (when NC). The IR sensor output is conditioned by a resistor before being fed to the base of the NPN transistor. Diode protection is provided for the relay coil to prevent back EMF damage when the coil is de-energized.

Component List

Relay 5V

Resistor

IR Sensor

Voltage Regulator

9V Battery

NPN Transistor (EBC)

Diode

Piezo Buzzer

LED: Two Pin (red)

LED: Two Pin (green)

Wiring Details

Relay 5V

Resistor (1000 Ohms)

Resistor (68 Ohms)

IR Sensor

Voltage Regulator

9V Battery

NPN Transistor (EBC)

Diode

Piezo Buzzer

LED: Two Pin (red)

LED: Two Pin (green)

Documented Code

There is no microcontroller code provided for this circuit. If the circuit is intended to be controlled by a microcontroller, the code would be necessary to define the behavior of the IR sensor output and the subsequent control of the relay and indicators. Without the code, the circuit is assumed to operate based on the direct output of the IR sensor.