Building a noise detecting circuit

  • Thread starter Soilwork
  • Start date
  • #1
98
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 :)
 

Answers and Replies

  • #2
98
0
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: 263
  • #3
dlgoff
Science Advisor
Gold Member
4,126
2,193
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 [Broken]
Regards
Don
 
Last edited by a moderator:
  • #4
227
0
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
98
0
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
98
0
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 [Broken]
 
Last edited by a moderator:
  • #7
dlgoff
Science Advisor
Gold Member
4,126
2,193
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 [Broken]
This doesn't work for me.
I haven't been able to see the circuit.
 
Last edited by a moderator:
  • #8
98
0
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
227
0
thanks Soilwork, that works for me...
 
  • #10
dlgoff
Science Advisor
Gold Member
4,126
2,193
Your first op-amp will give you amplification but not high pass filtering.
 
  • #11
98
0
Ahh wait I need a capacitor there before R1 for it to act as a high pass filter don't I??
 
  • #12
dlgoff
Science Advisor
Gold Member
4,126
2,193
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 [Broken]
Regards
Don
 
Last edited by a moderator:
  • #13
98
0
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
dlgoff
Science Advisor
Gold Member
4,126
2,193
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
98
0
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
dlgoff
Science Advisor
Gold Member
4,126
2,193
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 [Broken]
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
Averagesupernova
Science Advisor
Gold Member
3,918
819
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
dlgoff
Science Advisor
Gold Member
4,126
2,193
"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
68
2
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 [Broken], 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
68
2
(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
Averagesupernova
Science Advisor
Gold Member
3,918
819
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
68
2
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
98
0
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
Averagesupernova
Science Advisor
Gold Member
3,918
819
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
98
0
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.
 

Related Threads on Building a noise detecting circuit

  • Last Post
Replies
6
Views
3K
Replies
5
Views
12K
  • Last Post
Replies
3
Views
2K
Replies
16
Views
3K
  • Last Post
Replies
10
Views
3K
  • Last Post
Replies
1
Views
2K
Replies
17
Views
6K
Replies
5
Views
3K
Replies
1
Views
2K
Replies
5
Views
2K
Top