The last time we saw a piezo speaker detecting something it was looking for knocks on a door. If you want to know more about how transducers like this work, you’ll enjoy this video.