Detect different types of sound signals

Hello everybody,

I am currently working on a project with an Arduino. The final goal is to be able to detect different sound signals: A smoke detector sound and the sound of a doorbell. So I also have to differentiate between those.

For a first prototype we used the Sound Sensor module in order to recognize a loud sound by defining a certain dB threshold.

Do you think it is possible to detect different kinds of sounds with this sensor module as well (door bell and smoke detector)? Or does someone have any idea which sensors we could use to do that?

It doens't have to work perfectly, but I would like to show it somehow in a prototype.

Thanks in advance.

BR
Kevin

quote: "Do you think it is possible to detect different kinds of sounds with this sensor module as well (door bell and smoke detector)?"

If you can write a description of each of the sounds so we can identify that sound and then tell us how to determine which one you are hearing, then it might be possible.

Paul

What sorts and levels of background noise are present?

What percentage of false positives and negatives will be allowed?

jremington:
What sorts and levels of background noise are present?

What percentage of false positives and negatives will be allowed?

The background noise doesn't have to be considered a lot in the beginning.

For a first prototype we just want to make it work in a silent room - we would like to play the 2 sounds on a speaker which can be directly next to the sensor. So in this case, we would like to be able to differentiate between both sounds.

You might be able to use an inexpensive voice recognition module. Google "trainable voice recognition Arduino" for some examples.

Since none of us knows what your doorbell or smoke alarm sound like it's difficult to answer. How do you plan to tell them apart? For example if one is a continuous buzzer but the other beeps once a second it's pretty easy. Or if the doorbell plays Westminster Chimes and the smoke alarm sounds for 5 seconds then stops for 1 second over and over then no problem.

So what are the two sounds like?

Steve

So what are the two sounds like?

Hint you can attach a short sound file of each.
See How to use this forum for how to attach a file.

slipstick:
Since none of us knows what your doorbell or smoke alarm sound like it's difficult to answer. How do you plan to tell them apart? For example if one is a continuous buzzer but the other beeps once a second it's pretty easy. Or if the doorbell plays Westminster Chimes and the smoke alarm sounds for 5 seconds then stops for 1 second over and over then no problem.

So what are the two sounds like?

Steve

It doesn't really matter which exact sounds we are going to take. We just have to show that it is generally possible to differentiate between one smoke alarm sound and one doorbell sound.

So we could indeed modify those, so that it is easier to detect them.

Doorbell could be this:

Smoke detector could be like this.

So we can specify the sound - it just has to be one of each kind.

The easiest thing would be to use this sound sensor (not sure if it is possible with it though).

https://www.amazon.de/dp/B07CNC6ZTC/ref=cm_sw_r_wa_api_i_JH4dDbQT65FX5

The easiest thing would be to use this sound sensor

To use, yes.

To use to discriminate sounds? No, that would not be easy. Not at all.

You STILL have not articulated the aspects of the sounds that makes them different. Once you can do that, you may be able to find outputs of a sensor that can find a correspondence between it's output and the two sounds.

Paul

It doesn't really matter which exact sounds we are going to take. We just have to show that it is generally possible to differentiate between one smoke alarm sound and one doorbell sound.

So use https://www.youtube.com/watch?v=YH5YNkzl1dI and https://www.youtube.com/watch?v=ybba5skbgb4

If the sound stops after an hour it is the smoke alarm, if it lasts 10 hours it is the door bell.

Allright, sorry for the ambiguity.

Lets assume we modify the two sounds, so that they have specific patterns.

e.g.

1.) first sound: beep(250ms), silence(250ms), beep(250ms), silence(250ms)
2.) second sound: beep(500ms), silence(500ms), beep(500ms), silence(500ms)

Is there a good way to detect those two sounds with the sensor mentioned above in an accurate way?

What you propose is basically On Off Keying (OOK) so you could simply measure the average amplitude of sound coming in, subtract the background, and check for those specific on/off timing patterns.