This small (14mm diameter) piezo element is nicely enclosed so you can attach easily. Piezo elements convert vibration to voltage or voltage to vibration. That means you can use this as a buzzer for making beeps, tones and alerts AND you can use it as a sensor, to detect fast movements like knocks. You can also use it under a drum pad to make a drum/crash sensor
It's rated for up to 9Vpp use but you can also use 3V square waves and its plenty loud. There are thin wires attached, we plugged them into a solderless breadboard, but they might too thin to plug in directly into the socket headers.