Light Dark Sensor With Relay Circuit Using LM741

Not rated 7,860

Circuit Image

The provided schematic diagram illustrates an LM741 light/dark sensor circuit, derived from the 741 Op-Amp Tutorial by Tony van Roon. The ECG128/NTE128 transistor can be replaced with any NPN transistor that meets the necessary gain and current specifications for the selected relay coil.

The schematic has been enhanced by incorporating a 220µF smoothing capacitor between the base of transistor Q1 and ground. This addition effectively mitigated relay chatter, which occurred when the relay rapidly switched on and off at the light level threshold. The inclusion of the capacitor completely resolved the issue of relay chatter.

According to the circuit designer, the relay will be activated only when no light is detected by LDR1. However, testing has shown that users can adjust the potentiometer (P1) to set the relay closure at any desired light level. By swapping the positions of the 10K resistor (R1) and the LDR (LDR1), the relay will engage when the LDR is exposed to light, allowing for automatic device shutdown during nighttime.

Since the circuit utilizes a relay, modifications are necessary to reduce power consumption, making it more suitable for low-current applications powered by renewable energy sources.

The LM741 light/dark sensor circuit operates by using a light-dependent resistor (LDR) to detect ambient light levels. The LDR's resistance decreases with increasing light intensity, which alters the voltage at the non-inverting input of the LM741 operational amplifier. This change is compared to a reference voltage set by the potentiometer (P1), allowing for user-defined sensitivity.

When ambient light falls below a certain threshold, the output of the LM741 transitions, turning on the NPN transistor (Q1). This transistor, in turn, activates the relay, allowing current to flow through the connected load. The relay serves as an electrically operated switch, controlling larger currents and voltages safely, isolating the low-power control circuit from the high-power load.

The addition of the 220µF smoothing capacitor at the transistor's base is crucial for stabilizing the input signal. It filters out high-frequency noise and prevents rapid on-off cycling of the relay, which can lead to wear and tear, as well as erratic operation. This modification enhances the reliability of the circuit, particularly in environments where light levels may fluctuate rapidly.

For applications requiring operation under renewable energy conditions, such as solar power, it is essential to consider the overall power draw of the circuit. This may involve selecting a relay with lower coil current requirements or utilizing solid-state relays (SSRs) that can be triggered by lower control voltages and currents. Additionally, optimizing the component values, such as using a higher resistance for R1 or a more sensitive LDR, can further reduce power consumption while maintaining functionality.

Overall, this LM741 light/dark sensor circuit provides a versatile solution for automated lighting control, with the flexibility to adapt to various light conditions and power requirements.Above is a schematic diagram of an LM741 light/dark sensor circuit (from the excellent 741 Op-Amp Tutorial by Tony van Roon).The ECG128/NTE128 transistor stipulated can be substituted with any NPN transistor rated at sufficient gain and current for the chosen relay coil. We have modified the schematic diagram above with the addition of a 220uF smoothing capacitor between the base of transistor Q1 and ground.

Without this capacitor, the relay chatter (relay switching on and off many times per second) was terrible around the switch on/off light level. By adding the capacitor, relay chatter was completely eliminated. According to the designer of this circuit, the relay will be closed only when "NO light falls on LDR1", however, in testing this circuit proved to work very well with the user able to adjust the potentiometer (P1) to automatically close the relay at whatever light level they chose. By swapping the postitions of the 10K resistor (R1) and the LDR (LDR1), the relay will be closed when the LDR is under light rather than under darkness.

Therefore a device can automatically be switched off at nighttime. Since this circuit still contains a relay we need to make some changes* to reduce the amount of power to make it more suitable for renewable energy powered low-current applications. 🔗 External reference




Warning: include(partials/cookie-banner.php): Failed to open stream: Permission denied in /var/www/html/nextgr/view-circuit.php on line 713

Warning: include(): Failed opening 'partials/cookie-banner.php' for inclusion (include_path='.:/usr/share/php') in /var/www/html/nextgr/view-circuit.php on line 713