Measuring frequency of air column (open ended and closed)

Hi,

Is there any way of measuring the frequency of air column using arduino and speaker?

Resonance frequency of open ended (one side open and one side closed) and close ended pipes (both ends closed) both need to be measured.
Can we infer the resonance frequency by measuring the impedance of a noise excited speaker?

Thanks and Regards,
WI

The basic Arduino boards are very bad with sound. Making a sine wave is already a major task for an Arduino Uno.

There are sound libraries for the Due and the Arduino Zero and M0, but that is just a small start.
The Teensy boards have more possibilities for sound.

My suggestion is to use a Raspberry Pi, that is a computer and you have all the linux tools that you want.
Perhaps there is an app for Android, but I doubt it.

I don't know if measuring the impedance of the speaker will work. The speaker itself has resonance peaks (both in sound and impedance). I think you need a measurement microphone.

Using noise is a step further than a speaker and a measurement microphone. You can test the theory, but in practice it might be a step too far.

To find the resonance frequency you may do a sweep (use a tone generator that can be controlled by an Arduino), and place a microphone on the other side, measuring the volume (an Arduino can handle this quiet well - provided your microphone can output a proper signal, probably through amplifier). Resonance is the frequency where the volume is highest.