Glass break sensor

Hi! I want to make security system. How can I detect glass breaking with sound? My first idea to detect glass breaking was with tilt switch. I wanted to put tilt switch on every window and if the glass breaks the tilt switch falls and tilts, but nowadays glasses are stronger and if you break the glass then not alla of the glass breaks. So I want to do it with sound.

Sorry for bad English.

The glass-break sensors on the windows of my plant are actually microphones attached to the glass. I don’t know the electronics after that!


So I can use piezo?

See this

I think I'd try a piezo. It won't necessarily tell you when the glass breaks but you can tweak it so it detects a strong impact.

If I use a microphone, then how can I teach the sound to arduino?