Circuit Checking for Light-Activated Buzzer Construction

  • Thread starter Thread starter Valce
  • Start date Start date
  • Tags Tags
    Circuit
AI Thread Summary
The discussion revolves around constructing a light-activated buzzer using a Schmitt trigger and a transistor or relay. Key concerns include whether the circuit will function as expected, the potential for components to fail, and the appropriate power supply setup. Participants suggest using a single DC power source and recommend specific transistors for the circuit. The user experiences issues with the buzzer not turning off completely in low light and considers switching to a relay for better control. The conversation highlights troubleshooting steps and component selection for successful circuit operation.
Valce
Messages
11
Reaction score
0
Don't know if I can post this sort of thing here - apologies if it is not permitted/in the wrong place!

But just for fun I'm trying to build a light-activated buzzer.

Function:
Light goes on, voltage at the divider of the first circuit passes threshold for Schmitt trigger (U1), causes trigger to go high and activate the transistor/relay (Q1), which closes the second circuit and causes the buzzer (R4) to go off - the buzzer should keep making noise until the system is reset.

Questions:
Will it work the way I expect it to?
Will Q1 explode with a setup like this? (Or can I get a Schmitt Trigger thingy that regulates the current...?)
Can I use one battery to power both circuits, or will I need to use 2?


Attached is the circuit diagram - unfortunately I couldn't find the symbols I wanted, so here is a legend (also reproduced in the image)

R1: Photoresistor
R2: Variable resistor (to make adjustments for light)
R3: Variable resistor (to make adjustments for the resistance of the buzzer)
R4: Buzzer

U1: Schmitt Trigger*
Q1: Transistor/relay (activated/deactivated by the Schmitt Trigger)


*Not sure how to get one of these... I found a 7419 chip that functions as a Schmitt Inverter or something - can I just use one of these?
 

Attachments

  • circuit help.JPG
    circuit help.JPG
    26.8 KB · Views: 392
Engineering news on Phys.org
It's certainly difficult to read the circuit drawn that way. First, use one DC power source -- no reason to have two in this circuit. Second, you need to show the power and ground connections to the comparator (and be explicit about where your ground connections are in the rest of the circuit). Third, you need to show the full comparator circuit, with the input bias circuit and the positive feedback hysteresis circuit.

Can you fix it up with what I've mentioned, and post again?
 
berkeman said:
It's certainly difficult to read the circuit drawn that way. First, use one DC power source -- no reason to have two in this circuit. Second, you need to show the power and ground connections to the comparator (and be explicit about where your ground connections are in the rest of the circuit). Third, you need to show the full comparator circuit, with the input bias circuit and the positive feedback hysteresis circuit.

Can you fix it up with what I've mentioned, and post again?

Thanks for the quick reply - I'll try my best :)

1. Fixed (sort of... not exactly in standard format)
2. Can I represent ground connections in the rest of the circuit by having wires go into the negative end of the power source/battery? Sorry, not certain of the standards for this :(
3. The comparator, is sort of a stand-in symbol for 'anything with a Schmitt trigger', because I couldn't find the correct symbol anywhere in my circuit drawing software. I've done a pantomime in MSPaint

Hopefully this is more clear!

:)

I'll also try to be more explicit with the questions:
1. The voltage from the divider should be at the lower threshold when the photoresistor is on, so I'd have a high signal out of the Schmitt... Sorry to ask a basic question, but what type of transistor is 'on' when the input voltage is high? :(
2. Uh... will it work, or will it explode on me? :)
3. Can I replace the transistor with a relay? In my limited experience, transistors tend to explode on me...

I think I'll try to prototype this tomorrow when the stores open again and I can pick up the components, so any help you can give would be greatly appreciated :) :)


-V
 

Attachments

  • circuit help.JPG
    circuit help.JPG
    7.9 KB · Views: 364
The simplest way to do this is with an NPN transistor as a low-side switch to turn on the buzzer. There is no reason to use a FET in this simple circuit, unless you're bored with BJTs and want to experiment with FETs.

I can post more tomorrow (it's late here). Pick up some 2N3904 and 2N3906 NPN jellybean transistors when you're at the store tomorrow, in addition to whatever else you are picking up. What comparator are you getting?
 
berkeman said:
The simplest way to do this is with an NPN transistor as a low-side switch to turn on the buzzer. There is no reason to use a FET in this simple circuit, unless you're bored with BJTs and want to experiment with FETs.

I can post more tomorrow (it's late here). Pick up some 2N3904 and 2N3906 NPN jellybean transistors when you're at the store tomorrow, in addition to whatever else you are picking up. What comparator are you getting?

Thanks for the tips - I'll give it a try and hope nothing explodes on me ;) I don't really have a proper power supply though so I'll have to make do with a 9V battery...

For the schmitt trigger, I ended up grabbing a 7414 hex schmitt inverter.

I may run out of alligator clips for this (my components don't all fit on a breadboard... darn) but I'll give it my best shot :)

Thanks a lot Berkeman! :)
 
Valce said:
Thanks for the tips - I'll give it a try and hope nothing explodes on me ;) I don't really have a proper power supply though so I'll have to make do with a 9V battery...

For the schmitt trigger, I ended up grabbing a 7414 hex schmitt inverter.

I may run out of alligator clips for this (my components don't all fit on a breadboard... darn) but I'll give it my best shot :)

Thanks a lot Berkeman! :)

Do you have a 5V linear regulator to convert 9V to 5V for the 7414? Even a 74HC14 has Vcc max of 6V. a 74HC14 will trigger nominally at Vcc/2 at its input, but that's not how you normally use a 7414. To do the comparator function, you would usually use a real comparator like an LM139, and use positive feedback to set the hysteresis.

Oh, if you do use the 7414, be sure to ground the 5 unused inputs.
 
berkeman said:
Do you have a 5V linear regulator to convert 9V to 5V for the 7414? Even a 74HC14 has Vcc max of 6V. a 74HC14 will trigger nominally at Vcc/2 at its input, but that's not how you normally use a 7414. To do the comparator function, you would usually use a real comparator like an LM139, and use positive feedback to set the hysteresis.

Oh, if you do use the 7414, be sure to ground the 5 unused inputs.

Thank you so much for your help - I kinda got it to work!

Unfortunately, instead of switching between 'on' when there is light and 'off' when there's very little light, the buzzer kind of alternates between 'on' when there is light and 'quiet but still on' when there isn't.

Looking at my circuit, I would expect an 'on-off' thing, right? Or does the transistor give me a whole spectrum, and I have to switch to using a relay?

Thanks again! You guys (well, Berkeman, so far :P) are (is) awesome!

-V
 
Are you using the FET or a BJT? Can you post your present circuit, showing the voltage regulator and all connections?
 
It looks like this atm:

I tested it by connecting the input of the 7414 straight to ground, and the buzzer correctly did not turn on at all. I think the problem is with my photoresistor, but not sure :( Will, alas, need to buy another photoresistor.-V

PS: Thanks for your help :) I'll be sure to post another diagram at the end if it works... just in case somebody else reading this thread is having similar problems :)

Edit: Currently using a 1.5V battery so it doesn't make that much noise when I test it - but I get more than enough noise with a 3V, so that's good :)

Edit2: I actually started with a 9V battery, but my chip exploded. No real reason to mention this, but I hope it gives you a good laugh :P
 

Attachments

  • circuit help.JPG
    circuit help.JPG
    7.2 KB · Views: 382
Back
Top