"Dark Detector" Using a 555 Timer IC

About: I am currently a middle school student. I am primarily interested in the realms of computers and electronics, but I also enjoy playing the piano.

Well, this is my first instructable (yay) so, here it goes!

This is a Dark Detector circuit that utilizes 1) the astable ocillator that you can make with a 555 to drive a piezo and 2) the reset threshold of the chip.

Credits to Tony van Roon for the circuit diagram.


For Halloween:
I'm planning to either
1) combine it with a strobe light so with each "off" cycle, it screeches or
2) Put it over the doorbell (so it can be used seasonally too! :  ] )


Step 1: Step One: Gather the Parts

_Parts_

555 Timer IC (I used a Texas Instruments NE555P, you can use pretty much any other brand)
A breadboard (doesn't have to be big)
Some wire; bare or stripped (you can use staples if they are thin enough)
One 1 megaohm resistor
One 100K resistor
One 100 ohm resistor (a 100 ohm potentiometer is better but optional)
One 1000 picofarad capacitor (in nanofarads: 1 nF in microfarads: .001 uF)
A Cds cell
A Piezo siren/buzzer

_Notes_
The resistor values can be experimented with but I reccomend these values for the most sucess.
The piezo can also be a speaker.
The capacitor value should probably stay the same.
You can try different Cds cells.

A great place to find components is the Electronic Goldmine: http://www.goldmine-elec.com

Step 2: Step Two: Put the Timer In

Stick the timer in the breadboard so that the notch and/or circle is facing to the left.

Step 3: Step Three: Stick the Negative and Positive Rails In.

If you haven't worked with circuits before, here comes the (semi) tricky part.
Connect the 1st pin with the negative rail.
Then, connect the 8th pin with the positive rail.

If you need help with the pinouts, see the Pin Diagram picture.

Step 4: Step Four: Connect Pins 2 and 6...

...with a piece of wire. Again, if you need help identifying the pins, consult the pin chart.

Step 5: Step Five: Stick (yes Stick) the 100k Resistor In

Connect the 4th and 8th pin with it.

Step 6: Step 6: Put (not Stick) the 1 Megaohm Resistor in It's Place

It's place would be connecting the 2nd pin to the 3rd pin.

Step 7: Step Seven: Stick the Capacitor In

Put it in pins one and two. If you have an electrolytic capacitor, make sure that the polarity is correct.

Step 8: Step Eight: Put the Cds Cell In

Make sure that it connects pin 1 and pin 4.

Step 9: Step Nine: the Hard Part (for Some)

Well, you've gotten this far. So, pat yourself on the back and get ready.

Look carefully at the picture. If that doesn't help, read below

_The Hard Part_
Take a piece of wire long enough to span about 5 to 6 breaboard-cells (if anyone knows the term, please tell me). Stick it to the 3rd pin. Stick the other side to an adjacent area in the board.

Now, take the piezo's postive lead and stick it in the adjacent cubicle. Stick the negative wire into the negative rail. Now, put the potentiometer in. the first lead goes into the into the same row as the wire. The middle lead goes into the column with the positive piezo.

Now, connect a fresh nine volt battery to the correct rails.


Thats it! You're done.

Step 10: Troubleshooting, Shooting Trouble, Et Omnis

_Problems_

If you have any problems, look over all of the steps.

Make sure that you put the wires into the correct pins-rows. When I first made this circuit, I put the Cds cell into pin 3 and pin 1 when it was actually pin 4 and pin 1.

Another problem could be that some of your wire/leads are touching/shorting. Make sure that the only thing the leads touch are the breadboard cubicles.

Maybe your components are broken. The 555 is very sensitive to static electricity.

Also, USE A NINE VOLT BATTERY! Alkalines are the best but rechargables will work. I used a power supply.

If you've tried the above and still can't get the circuit to work, drop me a comment and I'll see what I can do.


_Other_



I hope you've enjoyed creating a Dark Detector. Some possible next steps are:

Puting it in an altoids tin (of course!)
Puting it in a McDonalds apple pie box (what I'm going to do)
Experimenting with different reisistor values.


++dandeeman++

Share

    Recommendations

    • PCB Contest

      PCB Contest
    • Big and Small Contest

      Big and Small Contest
    • Toys Contest

      Toys Contest

    36 Discussions

    0
    None
    SHOCKSREAMGUS1

    Question 9 months ago on Step 1

    But why do you have to strip the wires though ? Just asking.

    0
    None
    GauravR22

    2 years ago

    ane piche bhar lo ppt.......

    i cant get the parts required online and if i get some it says that its not available in india or says cash on delivery is not available

    what should i do now?

    0
    None
    rishi1993

    6 years ago on Step 10

    buzzer sounds when i move potentiometer knob whether it is dark or light.
    what i have to do

    1 reply
    0
    None
    rsingh98rishi1993

    Reply 3 years ago

    adjust potentiometer accordingly, as it controls the sensitivity of light. you can use this for setting the device according to your lighting in house or any other place.

    0
    None
    aya.elsbaie

    3 years ago on Introduction

    لو سمحتوا انا عملت نفس الخطوات بس طلعت معكوسه الbuzzerبيطلع صوت والنور شغال

    0
    None
    bhagavathy

    5 years ago on Introduction

    hello, the circuit worked,but need the explanation & design of the circuit

    0
    None
    kansari

    7 years ago on Introduction

    my projct is automtic street light,same as dark detector,i make some changes in circuit,it runs perfectly.in my circuit
    1:pin 1 ground.
    2:pin 2 connected with capacitor which is grounded also it also short with pin 6 and connected with one end of potentio meter,pin 7 with other end of potentio meter
    3:one leg of ldr connected with ground and othr goes in pin 4 which is reset
    pin 3 is output pin.
    but matter is i cant understand the function of reset pin,please explain me in digital\logic lang.

    0
    None
    kansari

    7 years ago on Introduction

    i want to know how in this circuit reset pin works?

    0
    None
    coleyy

    7 years ago on Introduction

    what are the codes for a 1m resistor and a 0.001uf mylar capacitor

    0
    None
    BSN4_N

    8 years ago on Step 9

    WHere does the 3rd lead go ? and which wire does the first lead of the potentiometer go?

    1 reply
    0
    None
    dandeemanBSN4_N

    Reply 8 years ago on Step 9

    The 3rd lead is NC (not connected.) The lead that is pointing out (the center lead) is connected to the red piezo wire.

    0
    None
    amorarun

    8 years ago on Introduction

    Instead of a piezo will a relay work. I need a dark detecting circuit which could turn on/off a relay. I tried some other circuits but I failed don't know where I went wrong.

    0
    None
    hackman88

    8 years ago on Introduction

    I also using 555ic For Dark Detector i Haven't tried This Try using Rely For other Function its Cool Ill GIve you My Schematic For that Itseasy to Troubleshoot...

    0
    None
    Zem

    8 years ago on Step 5

     Second and sixth? Looks like 8th and 4th to me.