we are making sound level (decibel) measurement system. when decibel reached to required set point digital output is come but we are facing some issue with sound sensor module. my sound sensor output is TTL but i don't know how to write program for TTL. any one please help me how to write program for TTL signal.
The digital inputs on UNO are TTL compatible, but that doesn’t say much.
You’ll need to study the sound sensor to determine ‘what’ it puts out at the desired sound levels.
Do you have data sheets, existing code you can post here ?
And it isn't actually "TTL" anyway, as it is presumably a 5 V CMOS logic signal - "LOW" is 0 V and "HIGH" is 5 V.
Mind you, when asking questions here, you need to supply proper information - the Web link describing your "sound sensor module" and what other parts (all) such as an Arduino, you are actually using.
That is a pretty loud buzzer! Do I see a feedback problem? A loud sound triggers the buzzer, which is louder than the sound, so the buzzer never turns off.
Paul