Detect knocks with a piezo element.