hi all
kindly help me to design a circuit to detect audio signal frequency please see this picture and next
i Describe problem Detail
in transmitter side
we have a signal generator to generate a square wave signal which its frequency is variable from 300Hz to 3000Hz.
we connect a speaker in signal generator output to generate audio.
in receiver side
we have a microphone next to speaker. distance between speaker and microphone is less than 1 meter(100 cm) maximum distance is 1 meter and typically its about less than 10 cm.
we have 5 frequency indicator leds , F1 Detect indicator led , F2 Detect indicator led , and etc
i want to detect microphone listened audio frequency.
when i drive speaker by sine wave signal there isn't any problem and easily we can receive and detect it in receiver side because received signal on oscop is a good sine or sine similar signal but when i drive speaker by square signal in receiver side we have completely different signal on oscop and i cant detect it's freq i study about fft , dft and goertzel algorithm but i don't now are they this problem solution or no.
please help to solve this problem
thanks a lot