Hi all,
I am working on a device to turn an electrical appliance on or off by singing a specific musical note. The idea is to amplify the signal from a microphone and put it through a bandpass filter that only passes the note in question, then to drive a relay with the output from the filter. The problem Im having is with the bandpass filter, I cant seem to get it to attenuate all the unwanted frequencies that arent the desired note. I have tried both active and passive designs, and both seem to have the same problem, that all frequencies (as tested by putting the mic next to a piano and pressing different keys) seem to pass through more or less with the same degree of attenuation, which is completely baffling.
The target frequency is middle C, 261.6 Hz. The passive filter shown I calculate to have a central frequency of 258 Hz with a bandwidth of 21 Hz, which should be sufficient for the desired task but apparently isnt. I have also tried replacing the passive filter with the active filter shown in the second image, with similar results.
So what am I missing here? Why are my bandpass filters not passing a band?


I am working on a device to turn an electrical appliance on or off by singing a specific musical note. The idea is to amplify the signal from a microphone and put it through a bandpass filter that only passes the note in question, then to drive a relay with the output from the filter. The problem Im having is with the bandpass filter, I cant seem to get it to attenuate all the unwanted frequencies that arent the desired note. I have tried both active and passive designs, and both seem to have the same problem, that all frequencies (as tested by putting the mic next to a piano and pressing different keys) seem to pass through more or less with the same degree of attenuation, which is completely baffling.
The target frequency is middle C, 261.6 Hz. The passive filter shown I calculate to have a central frequency of 258 Hz with a bandwidth of 21 Hz, which should be sufficient for the desired task but apparently isnt. I have also tried replacing the passive filter with the active filter shown in the second image, with similar results.
So what am I missing here? Why are my bandpass filters not passing a band?

