02-20-2014 01:08 PM - edited 02-20-2014 01:19 PM
Hi,
I am trying to develop a program which should respond on a certain DTMF tone. For example; if digit 1 is pressed an led should light up. The only problem I am having is how to recognize the specific frequency and make a led work. If someone of you could please help that would be greatly appreciated.
My program is attached.
Thanks a lot.
02-20-2014 04:22 PM
Hello..
I have exactly the same issue...... can someone from NI help/guide us please...much will be appreciated..............:)
02-20-2014 04:26 PM
Take an FFT every, say, 0.25s. Monitor for a peak at the correct tones then if you see it, light your LED.
02-20-2014 04:29 PM
can you please elaborate on that as I am not extremely good in labview.......so I would really appreciate if u can expalin to me as if u were to explain an infant( so to say)...:)
thanks
02-20-2014 08:37 PM - edited 02-20-2014 08:39 PM
Hi, w1,
I wonder if you just want to extract the tone(frequency) of the acquired data?
Could we use the "Extract Single Tone Information.vi" in the Signal Processing Toolkit in your issue?
02-21-2014 04:15 PM
Hi William,
Thanks a lot for the VI you posted. But unfortunately, I don't have this toolkit plus I am trying to make use od the microphone (Audio data aquisition) while this program is doing something with sin wave.
if you have some other idea please let me know.
thanks
02-24-2014 11:04 AM
Hi W1,
Would it not be possible to use the tone measurement express VI?:
Otherwise could you not use the spectral measurements express VI and use the highest peak found in the power spectrum as your tone frequency information.
Kind Regards,
02-26-2014 04:03 PM
Hi Laurence,
Well basically I know the frequency of the sound being played. The bit where I am stuck is when a certain frequency is detected in FFT, how can I use that particular frequency to light up a led as an output ?
Thanks
02-26-2014 04:34 PM
Look at Extract Multiple Tone Information.vi from the Signal Processing >> Waveform Measurements palette. When the frequency is within tolerance, compare the amplitude to a threshold. If the amplitude and frequency are both accpetable, then turn on the LED.
Lynn