Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
Resource icon

Night Buzzer 2010-07-06

If you want revenge that won’t kill someone, just make them go insane, have I got the thing for you!! I whipped this device up over the last couple of days and couldnt be more satisfied.

Place this in a room where somebody sleeps. While the light is on, this circuit will not make a peep. When the light turns off though, the circuit will stay quiet for about 10 seconds (determined by the 1000uf cap and the 22k resistor) and then turn on. When they hear it, they will get up and turn on the light to look for it, but of course it will turn off. Thinking that they are imagining things, they will turn off the light and go back to bed. 10 seconds later, they will hear it . . . it’s a vicious cycle.

How it works

When the LDR senses light, it turns Q1 on, which in turn makes Q2’s base more negative than positive: transistor (and buzzer) is off. When the LDR senses no light, it turns Q1 off. The capacitor discharges through the 22k resistor, all the while causing Q2’s base more negative than positive (the 10 sec delay). When it is done discharging, the 22k resistor biases the base of Q2 positively, which turns the transistor and the buzzer on. Simple as that.

To make a longer delay, just increase the capacitance. Since the 22k resistor serves a dual purpose: draining the capacitor and biasing Q2, it should not be made a higher value to increase the length of the delay because it then won’t be able to bias Q2 correctly. Of course you can experiment. I think that the value can be increased a bit more. If you want to shorten the delay, by all means, decrease the value of that resistor, just as long as the value is so low that Q2 will receive too much current through the base and damage it. I’m not sure if this will happen with so low a supply voltage, but beter 2 be safe than sorry.

The 5k POT and the 2.2k resistor in series with it work very well with the 3-16 volt buzzer. If it is a small room, lowering the value of the POT will make the buzzer quieter and harder to find. If you use a different buzzer, you will just have to experiment to find the right value of resistor(s). Just make sure that you turn the buzzer WAAAY down to where u can barely hear it, that way, they will have a very hard time finding it.

Any small small signal NPN transistor will work for NPNs in the circuit, i personally used 2n3904's cuz i have a ton of them, but like i said, anything will work.

This circuit is EXTREMELY sensitive to light. Just turning on a flashlight in the room will turn it off.

If requested, I will provide a PCB, although u will have to make sure that the capacitor, the POT, and the buzzer will fit on it.

Have fun . . . and don’t be too cruel.

View attachment 3739d1105767334-project-night-buzzer-light_annoy.gif
  • 3739d1105767334-project-night-buzzer-light_annoy.gif
    0 bytes · Views: 4,747
Author
zachtheterrible
Views
8,124
First release
Last update
Rating
0.00 star(s) 0 ratings

Latest threads

New Articles From Microcontroller Tips

Back
Top