| RSS Web Feed for Renewable Energy UK |  | REUK Shop | Directory | About Us  

LM741 Light Dark Sensor Circuit



LM741 Light Dark Sensor Circuit

Build a light/dark sensing circuit to automatically turn on/off lights and other devices

electronics | electric circuit | general
  Printer Friendly Version Print Article     

A light/dark sensing circuit is extremely useful and versatile in a wide range of renewable energy projects from automatic lighting to security systems. In our article Light Dependent Resistor we explained how an LDR can be used in simple circuits to control devices according to the ambient levels of lighting - for example, automatically turning on a lamp above a doorway at nighttime.

Light dependent resistor - LDR

The circuits provided in that article were very basic and therefore not without their problems. The main problem is that the automatic turn-on is not sharp - i.e. rather than switching the lamp on fully as soon as ambient levels of light fall to a fixed point, the lamp turns on slowly getting brighter and brighter as light levels fall. This is not a serious problem when controlling a lamp - in fact it may even be desirable - however when controlling other devices (such as a night vision camera) it is not optimal.

One way around this is to use a relay, however a typical 12 Volt relay draws 300-500mW of power - a significant waste of energy when a 1 Watt LED spotlight for example is to be controlled.

LM741 Light/Dark Sensor Circuit (with Relay)

LM741 Light/Dark Sensor Circuit Schematic Diagram

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.

1st Nov 2007 Update - 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.
* Where devices of more than a couple of Amps are to be powered, the energy loss in the relay becomes insignificant and so the above illustated circuit should be used as is.

Modification One (Low Current Applications <200mA)

If this circuit is to be used to provide <200mA of current (for example, to power just ONE 12V MR16 LED spotlight with around 100mA), the relay can be removed altogether as illustrated below:

LM741 Light/Dark sensing circuit without a relay for low current applications

Modification Two (Medium Current Applications <2Amps)

If more current is required - for example to power a string of LED spotlights - the transistor can be replaced by a MOSFET. A MOSFET is similar to a transistor, but it can carry much more current. In our testing we used an STP36NF06 MOSFET since that's what we had lying around.

The MOSFET circuit requires just a couple of small modifications to the original circuit as illustrated below:

LM741 light/dark sensor circuit with MOSFET


Buy a Light/Dark Sensor Circuit

Since the vast majority of people do not have the necessary expertise and equipment to put together one of these circuits, we are happy to put one together for you according to your exact needs.

Soldered light/dark sensor circuit with MOSFET for powering lighting

The MOSFET version of the circuit (suitable for maximum total output currents of 2 to 3 Amps) is now available from the REUK Shop and is pictured above. Click here for more information and to make a purchase: Light/Dark Sensor Circuit (Low Current).

NEW - We now also have the relay version of the circuit (suitable for maximum total output currents of 10 to 12 Amps) and it is also available in the REUK Shop: Light/Dark Sensor Circuit (Relay).

Tailormade Circuitry

If you require a bespoke light/dark sensor circuit - for example, one which activates in light rather than in darkness contact neil@reuk.co.uk directly with details of your requirements. Prices start from around £10 per circuit including all components.



Article Last Modified: 08:43, 2nd Nov 2007

Comment on this Article

If you have any comments on this article, please email them to neil@reuk.co.uk.


Recommended Related Articles

People who read this article also enjoyed the following articles:

Light Dependent Resistor
Find out more about LDRs and their use in renewable energy projects
Article Last Modified: 08:26, 24th Oct 2007
electric circuit | solar

Relays and Renewable Energy
Find out more about relays and their uses in renewable energy applications
Article Last Modified: 12:33, 14th Aug 2010
electric circuit | electronics | general

What is a Transistor
A basic introduction to bipolar junction transistors
Article Last Modified: 10:15, 23rd Apr 2007
electronics | education

LM741 OpAmp Voltage Indicator
Plans for a simple voltage high/low indicator built around an LM741 operational amplifier
Article Last Modified: 08:31, 8th Oct 2007
electronics | electric circuit | general

LED Dimmer Circuit
Find out how to put together a simple but efficient PWM dimmer circuit for LEDs
Article Last Modified: 09:42, 16th Mar 2011
lighting | electronics | electric circuit

Automatic Hen House Door Closer Opener
Find out how to put together a DIY automatic hen house door opener and closer
Article Last Modified: 10:36, 4th Mar 2011
electric circuit | general | solar

Motion Sensor Light Switch
Fit a motion sensor light switch to automatically switch off lights when a room is empty
Article Last Modified: 11:00, 16th Mar 2011
lighting | energy efficiency | shopping

Timer Circuits With 4060B
Build a reliable timer to switch devices on and off - from 30 seconds to 24 hours
Article Last Modified: 08:58, 15th Aug 2009
electronics | electric circuit

Convert Digital Mains Timer To Low Voltage
Convert a cheap digital mains timer into a low voltage programmable timer relay
Article Last Modified: 10:21, 15th Nov 2008
electronics | electric circuit | general

Light Dark Dawn Dusk Relay Controller
Find out about the REUK Super LDR light/dark dawn/dusk relay controller
Article Last Modified: 16:48, 24th Jan 2012
electric circuit | electronics | news | shopping

© 2006-2012 REUK - All Rights Reserved
Page Last Updated on 31st January 2012 at 01:50:15pm

Latest
Articles


Make a Still
Find out how to make your own still for distilling ethanol fuel
biomass
13:49, 31st Jan 2012

UK Feed in Tariff to be Cut by 50 Percent
UK government announces 50% cut in feed in tariff payable on new solar PV installations
solar
13:20, 30th Jan 2012

PICAXE Microcontrollers
Find out about PICAXE microcontrollers and their use in renewable energy projects
electronics
13:12, 30th Jan 2012

Make a PICAXE Repeating Timer
Make your own repeating timer with our automatic PICAXE Basic code generator
education
12:42, 30th Jan 2012

Rainbow Power 300W Hydro Generator
300 Watt 12/24 Volt hydro power generators from Rainbow Power
hydro
12:44, 27th Jan 2012

Solar Tracker
Set up solar panels to track the motion of the sun across the sky to maximise power output
solar
10:46, 27th Jan 2012

Light Dark Dawn Dusk Relay Controller
Find out about the REUK Super LDR light/dark dawn/dusk relay controller
electric circuit
16:48, 24th Jan 2012

Karasouli SCC 20 Wind Turbine Charge Controller
Find out more about the SCC-20 wind turbine charge controller and dump load controller
wind
12:46, 20th Jan 2012



REUK Shop

Popular Items


REUK SUPER LDR DUSK DAWN RELAY CONTROLLER
Multi-function light detector triggered light/dark dawn/dusk relay controller
£18.95 each.
Complete Circuits



KARASOULI SCC 20 CHARGE CONTROLLER
20A rated wind turbine charge controller and dump load controller with blocking diode and heatsink
£43.95 each.
Renewable Energy System Parts



SOLAR PUMP CONTROLLER WITH RELAY
Solar water heating system microprocessor controlled circuit with fitted 10A relay
£25.99 each.
Complete Circuits



REUK SUPER POULTRY LIGHTING CONTROLLER
Control up to 8 Watts of LED spotlights to stimulate egg production in birds
£29.99 each.
Complete Circuits



REUK SUPER TIMER 2
User programmable 12VDC powered 16A rated repeating relay timer. 1 second to 99 hours ON and OFF times
£23.99 each.
Complete Circuits



300 WATT POWER INVERTER
Convert 12V DC battery power into 230 AC to power portable televisions, computers, video recorders etc. 300 Watt power rating - peak power 600 Watts
£29.99 each.
Renewable Energy System Parts



CONVERTED PROGRAMMABLE DIGITAL TIMER RELAY
Mains powered programmable timer converted to low voltage with relay board
£21.99 each.
Renewable Energy System Parts



12 VOLT REGULATOR
Supply a fixed 12.0 Volt DC to your devices (up to 1 Amp output)
£4.99 each.
Complete Circuits



MR16 CERAMIC BULB HOLDER
Bulb holder for 12 Volt LED spotlight bulbs
£1.39 each.
Energy Efficient Lighting