Dark Detector Circuit | LDR | 555 Timer | Dark Sensor | Electronics Projects | Simple DIY

About: This is Electronic Project Forum which aims to help new members to build easy D I Y ( Do It Yourself ) Electronic Projects

Intro: Dark Detector Circuit | LDR | 555 Timer | Dark Sensor | Electronics Projects | Simple DIY

Hello , Today In This Tutorial I Am Going To Show You Step By Step ( Home Made )
How to make Simple Dark Detector Alarm Circuit Using 555 Timer IC Simple Electronic Project Home made Easy DIY

This Electronic Project is Very Simple Easy and DIY (Do It Yourself)

Please Subscribe ↪ https://www.youtube.com/channel/UCi6ZqREHDIx2xLrC...

Checkout The Video Tutorial For this Project

Step 1: Hardware Required

  • +5 to +10 supply voltage
  • 555 IC
  • 100KΩ resistor
  • 22KΩ resistor
  • 10KΩ resistor
  • 1MΩ pot or variable resistor
  • 104(100nF) capacitor
  • 2N3906 transistor
  • LDR(any size)
  • Speaker (25Ω,0.5WATT) or any other speaker

Step 2: Circuit Diagram

This is the circuit diagram of dark detector alarm circuit that is easy to make ...all working for this project are given at the end of this post

Step 3: Working Explanation

Darkness detector
is simply a LDR (Light Dependent Resistor) interfaced square wave generator. In this project the square wave generator is developed as a 555 Timer IC based ASTABLE MULTIVIBRATOR. As this circuit is primarily based on the working principle of LDR, before going any further to understand this LDR circuit, we must get the basic details of the LDR. The figure below shows an image of various types of LDR.

What is LDR?
LDRs are made from semiconductor materials to enable them to have their light sensitive properties. There are many types but one material is popular and it is cadmium sulphide (CdS). These LDRs or PHOTO REISTORS works on the principle of “Photo Conductivity”. Now what this principle says is , whenever light falls on the surface of the LDR (in this case) the conductance of the element increases or in other words the resistance of the LDR falls when the light falls on the surface of the LDR. This property of the decrease in resistance for the LDR is achieved because it is a property of semiconductor material used on the surface.

Here in this dark detector circuit, LDR is configured with 555 ASTABLE in such a way that 555 ASTABLE generates square wave when the light intensity goes below a certain level.

Above figure shows the circuit diagram of dark detector alarm. After
some observation the circuit should seem very similar to the ASTABLE MULTIVIBRATOR, that is because the circuit is a ASTABLE MULTIVIBRATOR with only one modification. This modification is done at RESET pin (PIN4). In a normal ASTABLE vibrator this pin is connected to +5V, but since in this case we are supposed to generate pulse on the condition of absence of light it is not connected directly to +5v. The resistor network provided at the RESET pin provides a virtual ground so to keep resetting the IC and so the square wave output is stopped in the presence of light.

The transistor here drives the speaker because the speaker driven by IC is not a good idea. The speaker here can be replaced with LEDs to create an output response of lighting. So once the LEDs are placed and the darkness falls we will have an emergency backup light.

The transistor here need not be a PNP compulsory but one can replace it with a NPN and the pin connections should be connected accordingly.

Working

Before going to explanation, the circuit should be assumed ON and is not buzzing in the presence of light. This condition of non-buzzing in the presence of light can be achieved by adjusting the 1MΩ trim pot. Now in the circuit one can observe a voltage divider with 1M, 100K on one side and LDR on the other, the reset pin is connected in the middle. The trimmer pot is said to be adjusted because to create enough resistance on the top branch of voltage divider to drop almost all the potential (+5v) in the top branch itself. This leaves a virtual ground at the middle of divider (reset pin). Since the RESET pin of 555 is a LOW LEVEL triggered, the timer IC will be reset mode continuously and so there will be no square wave output as it should be. From this we can conclude that in the presence of light the 555 IC will be in complete reset and provides no output.

Now when the darkness falls on the LDR, the
resistance of the LDR increases drastically as explained in introduction, this increase of resistance in the second branch (one with LDR) of voltage divider will be enough to change the ratio of voltage sharing between the two branches of voltage divider section. Once this happen, the potential at the junction of voltage divider circuit rises from 0V to 2V (approximately). And similarly the voltage at the RESET pin rises. This rise of voltage will be enough to lift the 555IC from reset mode. Once this reset mode is lifted, the timer generates square wave output. So it is concluded that once the darkness falls on the LDR the square wave output is generated by the timer.

The square wave generated by the timer is fed to the PNP transistor to drive the speaker. So the speaker outputs sound in response to the square wave.

Common Errors

Even after adjusting the trim pot the buzzing do not stop.

The LDR might have enough resistance to put a potential at the reset pin. Put another 100KΩ resistor in series with 1MΩ pot.Check if the RESET pin (PIN4) is accidentally connected to +5V rail in any way. There is no buzzing even in the dark.

LDR might not be developing enough potential at the reset pin. Put a pot in series with LDR and adjust it to get buzzing. The transistor is getting hot.

Drive the signal of 555 troughs the 100Ω resistor to the base of transistor.

Step 4:

Share

    Recommendations

    • Optics Contest

      Optics Contest
    • Plastics Contest

      Plastics Contest
    • Electronics Tips & Tricks Challenge

      Electronics Tips & Tricks Challenge

    2 Discussions

    0
    None
    afzalrehmani

    5 months ago

    Yes i tested please check in video ....also there is pot attach to this circuit for adjusting resistance of ldr

    0
    None
    tytower

    5 months ago

    I have been looking for an adjustable ,accurate circuit for years . Have you tested this in any way at all? I want a set of lights to come on at a specific point of darkness and can not yet get it.

    I'm left wondering if it might be better to generate a small voltage with a solar panel during the day and switch the output signal off as it gets dark?