Building a noise detecting circuit

In summary, Don is explaining to Soilwork how he would build a circuit to switch on a tape recorder when the input sound level is above a certain threshold and record for a preset amount of time. He includes a filter to stop the recorder being triggered by 100 Hz wind noise. He also has a question for Soilwork about what components are necessary for the circuit, and Soilwork responds with a link to a PDF data sheet with detailed instructions on how to build the circuit.
  • #1
Soilwork
102
0
Hey,
I never used to like electronics, but after doing a unit last semester it has really interested me.
I've gone out and bought simple circuit components and have built a whole heap of simple circuits just because I wanted to learn more of how things behave.
Anyway I still have the notes from that unit I did a while ago and found a pretty tough situation and wanted to at least be able to draw the circuit before getting the components (if I can ).
I am pretty useless at electronics, but it's fun nonetheless and I would like to learn more.

This is what I'm wanting to build:

A circuit that will switch on a tape recorder when the input sound level is above a certain threshold and record for a preset amount of time (adjustable in the range 1 to 10 minutes). Include a filter to stop the recorder being triggered by 100 Hz wind noise. And you use batteries for this.

So anyway I was thinking that you'd need a Microphone, maybe 12 V battery supply, A high-pass active filter, timing device, combinations of resistors and capacitors and this isn't a necessity but it'd be pretty cool to have an LED to let you know that it's recording or not.

I know I'm probably missing some components that I'd need so I was hoping to find out what components and what exactly those components are doing exactly.

I'm probably in way over my head with this one, but I'm determined to build it to satisfy myself that I'm not a complete retard haha :)
 
Engineering news on Phys.org
  • #2
Can someone tell me if this is along the right lines or not?
I've attached a drawing of the circuit I've contructed for the above situation so far, but I don't know if all or any of the parts are correct really.
Really appreciate any feedback.
Thanks
 

Attachments

  • circuit.doc
    31.5 KB · Views: 346
  • #3
Soilwork said:
This is what I'm wanting to build:

A circuit that will switch on a tape recorder when the input sound level is above a certain threshold and record for a preset amount of time (adjustable in the range 1 to 10 minutes). Include a filter to stop the recorder being triggered by 100 Hz wind noise. And you use batteries for this.
Well it really good that you are interested enough to experiment. For your 1 to 10 minute timer, you should consider the 555 timer integrated circuit. Look at the Monostable circuits here: http://www.doctronics.co.uk/555.htm
Regards
Don
 
Last edited by a moderator:
  • #4
help .. my file associations are messed up ..
whenever i try to look at a .doc file the graphics never come out...
i'm using XP ..
thanks in advance..
 
  • #5
yeah I have the 555 timer in my circuit and I'm using a variable resistor to alter the length it allows the pulse through for.
But like I said I think I'm missing some other vital components and I'm not sure if I've connected everything correctly.
Thanks for the link by the way :)
 
  • #6
willib said:
help .. my file associations are messed up ..
whenever i try to look at a .doc file the graphics never come out...
i'm using XP ..
thanks in advance..

Sorry I don't know much about this, but I've uplpoaded the image here so you can look at it this way.

http://nucite.net/isWext.php/4426/60351.jpg
 
Last edited by a moderator:
  • #7
Soilwork said:
Sorry I don't know much about this, but I've uplpoaded the image here so you can look at it this way.

http://nucite.net/isWext.php/4426/60351.jpg
This doesn't work for me.
I haven't been able to see the circuit.
 
Last edited by a moderator:
  • #8
sorry about that
Try right clicking on it and saving it to disk that works for me so it might work.
so the word attachment isn't working at all??
 
  • #9
thanks Soilwork, that works for me...
 
  • #10
Your first op-amp will give you amplification but not high pass filtering.
 
  • #11
Ahh wait I need a capacitor there before R1 for it to act as a high pass filter don't I??
 
  • #12
Soilwork said:
Ahh wait I need a capacitor there before R1 for it to act as a high pass filter don't I??
You can use a passive RC circuit or an active low-pass filter with an op-amp. Check out the last circuit on page 15 of the .PDF data sheet.
http://www1.jaycar.com.au/images_uploaded/LM2900.PDF
Regards
Don
 
Last edited by a moderator:
  • #13
That high-pass filter is a lot different to the one that was given in the notes I have from that unit I did.
Thanks for that though :)
 
  • #14
Using a quad op-amp (4 amps in a chip) make it ideal for your application. I like the LM324 quad amp. If you want a LED to see when it's on, just put it in series with a resistor on the 555 output.

Regards
 
  • #15
what are you saying I would use the quad-amp for??
Sorry for asking so many questions, but I'm just trying to understand this stuff :(
 
  • #16
Soilwork said:
what are you saying I would use the quad-amp for??
Sorry for asking so many questions, but I'm just trying to understand this stuff :(
Well I would probably use one amp as a mic pre-amp coupled to a op-amp high pass filter. Okay maybe just two amp for your application.

Here's the http://www.national.com/ds/LM/LM124.pdf
You can use these application circuits to make all kinds of analog devices. I once made a polyphonic music synthesizer.

Regards
 
Last edited by a moderator:
  • #17
You can't just run an analog signal into the 555. You need to break down into block diagrams and then make a simple schematic for each one. Then combine, then simplify where you can. You need a sound 'detector' block. You have a good start with a mic and amplifier stage. You want to add some high and low pass filtering to make the detector immune to things you don't want to trip the detector. These could be considered blocks within the blocks Then you need the timer block. I assume you want to make the recorder go as long as there is noise and for an adjustable amount of time after the noise stops. Or do you want a noise to trigger it and record for a preset amount of time and then stop regardless of whether the noise is still there or not? These are things that need to be decided before we start drawing schematics. Then there is the output block. A pretty simple part hardly worth mentioning. Basically a switch.
 
Last edited:
  • #18
"You can't just run an analog signal into the 555."

Why not?

"Then there is the output block."

His looks good to me.
 
  • #19
dlgoff said:
"You can't just run an analog signal into the 555."

Why not?

If you look at the http://www.fairchildsemi.com/ds/NE/NE555.pdf , the trigger pin of the 555 is a comparator checking if the trigger voltage goes above a certain percentage of the 555's power supply. So actually, if the analog signal is scaled correctly, and you want the 555 to trigger whenever the analog signal goes above a certain value, then you can connect the output of an op-amp directly to the 555. :-)

"Then there is the output block."

His looks good to me.

The way he has it drawn, the transistor is connecting ground to ground. It needs to be connected between the power supply and the recorder instead. I would bet that just powering up the recorder wouldn't do what you want, anyway, since there would be a significant delay while it started up. You'd probably want to turn the tape motor itself on and off.
 
Last edited by a moderator:
  • #20
(By the way, is there a built-in method for drawing diagrams, like there is for TeX math?

I've used klunky for web diagrams in the past, and made my own version (it is public domain) with more symbols and such. It would be really convenient if something like this was built right into a forum like this, though. Save the hassle of screenshots and saving and uploading and so on.)
 
  • #21
555 timer:

When pin 2 goes BELOW 1/3 of supply voltage the timing cycle starts when the unit is configured in monostable mode. When in this mode, the timer will time out and wait for the next pulse to start the timing cycle again. He has no negative power supply drawn. This means that we will have half wave rectified audio on pin 2 of the 555. Some op amps are not able to go 'rail to rail' so the voltage might not ever actually get down to zero volts. When there is no sound, the output of the 555 will be at its lowest possible value without figuring an offset. Most likely this will be below 1/3 supply voltage. He has a good start, but needs to work on a few things. He needs a little bit more processing on the front end before the 555. And for that matter, I'm not sure I would even use a 555. It depends on his answer to my original question of how the timer is supposed to function.

I wouldn't say his output stage is wrong, but I wouldn't necessarily say it is right either. The way he has it drawn, the box he calls 'recorder' would be the remote jack. I haven't played with many of them, but then ones I have messed with have the tip of the connector positive and the sleeve negative. When connected together the recorder runs. When that connection is broken it stops. This configuration would work for him. But, I would use a small reed relay or some sort of solid state switch that is bi-directional.
 
Last edited:
  • #22
Averagesupernova said:
555 timer:

When pin 2 goes BELOW 1/3 of supply voltage the timing cycle starts when the unit is configured in monostable mode. When in this mode, the timer will time out and wait for the next pulse to start the timing cycle again. He has no negative power supply drawn. This means that we will have half wave rectified audio on pin 2 of the 555. Some op amps are not able to go 'rail to rail' so the voltage might not ever actually get down to zero volts. When there is no sound, the output of the 555 will be at its lowest possible value without figuring an offset. Most likely this will be below 1/3 supply voltage. He has a good start, but needs to work on a few things. He needs a little bit more processing on the front end before the 555. And for that matter, I'm not sure I would even use a 555. It depends on his answer to my original question of how the timer is supposed to function.

oops. yeah i guess i was oversimplifying.

I wouldn't say his output stage is wrong, but I wouldn't necessarily say it is right either. The way he has it drawn, the box he calls 'recorder' would be the remote jack. I haven't played with many of them, but then ones I have messed with have the tip of the connector positive and the sleeve negative. When connected together the recorder runs. When that connection is broken it stops. This configuration would work for him. But, I would use a small reed relay or some sort of solid state switch that is bi-directional.

yeah that makes sense now. would you use a relay because you're expecting large currents in the remote jack?
 
  • #23
well what I'm wanting is for the noise above 100 Hz to trigger the timer so that it allows a pulse through for a preset amount of time hich will trigger the recorder. It really doesn't need to go for ten mintues I guess.
 
  • #24
Hmmm. Not real descriptive. Do you want continuous noise to cause the recorder to continue to run? Or do you want the recorder to run for X time and then shut off until the noise stops and then starts for a new cycle?
 
  • #25
Yeah so if you've set the timer for 10 minutes say.
Then once the noise starts it all off the recorder will record for ten minutes and then I guess regardless of whether the noise is still going the recorder will stop.
 
  • #26
OK. So then if the noise stops for a couple of seconds and starts again the whole cycle starts over? Or do you want it to have to stop for more than a couple of seconds? You want some type of reset or literally a one shot with a manual reset?
 
  • #27
Yeah I think one shot monostable with manual reset would just be fine.
 
  • #28
I'll think about this for a while.
 
  • #29
So is this what I'd have then?

power supply connected to mic which is connected to a pre-amp, which is in turn connected to a high pass filter (is a passive filter alright??).
I don't particularly know what else would go between the high pass filter and the timer though because I don't quite get why you can't run an analog signal into the 555 timer.
And do I leave everything after the timer as is?
Well actually I can probably remove the wire connecting the tape recorder to ground because there is only one input there.
 
Last edited:
  • #30
Averagesupernova said:
I'll think about this for a while.

Thanks for this guys I really appreciate you helping me understand this stuff.
 
  • #31
Soilwork said:
power supply connected to mic which is connected to a pre-amp, which is in turn connected to a high pass filter (is a passive filter alright??).
Yes
I don't particularly know what else would go between the high pass filter and the timer though because I don't quite get why you can't run an analog signal into the 555 timer.
The trigger (pin 2) of the 555 is the negative input of an analog op-amp used as a comparator. When you high-pass filter ouput is grater than 1/3 of your supply voltage, the 555 will trigger.
And do I leave everything after the timer as is?
Build it on a bread board. Remember if you use a quad op-amp, you have a couple of extras for say an inverter or driver.
Well actually I can probably remove the wire connecting the tape recorder to ground because there is only one input there.
Look at the applications data sheet for the op-amps I linked you to. Check out using an op-amp and a transistor as a current sink.

Regards
 
  • #32
Soilwork said:
So is this what I'd have then?
I don't particularly know what else would go between the high pass filter and the timer though because I don't quite get why you can't run an analog signal into the 555 timer.

First, it depends if you're running your op-amp from "split supplies" or from a single-sided supply. For instance, an op-amp run from +15 V and -15 V that outputs 0 V with no signal would be a split supply. An op-amp that is driven by 0 V and +9 V and outputs +4.5 V would be a single-supply. Split supplies are a little easier to build, but require two batteries. Single supply requires voltage dividers to create the 4.5 V reference.

Second, the input to the 555 trigger is powered from 0 V to the positive rail (+9 V in the above example), and wants the input signal to drop below a certain percentage of it's rails.

"As you can see, the trigger input is held HIGH by the 10 kW pull up resistor and is pulsed LOW when the trigger switch is pressed. The circuit is triggered by a falling edge, that is, by a sudden transition from HIGH to LOW."
 

Attachments

  • triggerlevel.png
    triggerlevel.png
    6.6 KB · Views: 420
  • #33
thanks guys :)
And yeah I will use a split supply with two batteries.
 
  • #34
I wouldn't use a split supply. I'll try to explain why later today when I have more time.
 
  • #35
haha ok I guess I won't use a split supply then :)
 

Similar threads

  • Electrical Engineering
Replies
12
Views
2K
Replies
7
Views
2K
  • Electrical Engineering
Replies
14
Views
807
Replies
5
Views
790
  • Electrical Engineering
Replies
13
Views
1K
  • Electrical Engineering
Replies
3
Views
799
  • Electrical Engineering
Replies
3
Views
1K
  • Electrical Engineering
Replies
10
Views
1K
Replies
12
Views
2K
  • Electrical Engineering
Replies
1
Views
968
Back
Top