{"product_id":"piezoelectric-knock-vibration-sensor-switch-module-compoden","title":"Piezoelectric Knock Vibration Sensor Switch Module - Compoden","description":"\u003ch1\u003ePiezoelectric Knock Vibration Sensor Switch Module\u003c\/h1\u003e\n\u003cp\u003eThis module uses a piezoelectric element to convert mechanical vibrations into a digital high\/low signal. It detects knocks, taps, or sustained vibration and outputs a clean TTL-level pulse. The built-in potentiometer lets you set the detection threshold for different project needs.\u003c\/p\u003e\n\n\u003ch2\u003eKey Specifications\u003c\/h2\u003e\n\u003ctable\u003e\n  \u003cthead\u003e\u003ctr\u003e\n\u003cth\u003eSpecification\u003c\/th\u003e\n\u003cth\u003eValue\u003c\/th\u003e\n\u003c\/tr\u003e\u003c\/thead\u003e\n  \u003ctbody\u003e\n    \u003ctr\u003e\n\u003ctd\u003eOperating Voltage\u003c\/td\u003e\n\u003ctd\u003e3.3V to 5V DC\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003eOutput Type\u003c\/td\u003e\n\u003ctd\u003eDigital (High\/Low)\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003eSensitivity Adjustment\u003c\/td\u003e\n\u003ctd\u003eOnboard potentiometer\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003eIndicator LED\u003c\/td\u003e\n\u003ctd\u003eYes, lights on detection\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003ePCB Dimensions\u003c\/td\u003e\n\u003ctd\u003e30 x 20 mm\u003c\/td\u003e\n\u003c\/tr\u003e\n  \u003c\/tbody\u003e\n\u003c\/table\u003e\n\n\u003ch2\u003eWhat You Can Build With This\u003c\/h2\u003e\n\u003cul\u003e\n  \u003cli\u003e\u003ca href=\"\/products\/kit-knock-pattern-door-lock\"\u003eKnock-activated door lock system\u003c\/a\u003e\u003c\/li\u003e\n  \u003cli\u003eVibration alarm for drawers or safes\u003c\/li\u003e\n  \u003cli\u003e\u003ca href=\"\/products\/arduino-electronic-drum-kit-build-and-code-your-own-beat-pad\"\u003eElectronic drum trigger or musical glove\u003c\/a\u003e\u003c\/li\u003e\n  \u003cli\u003eInteractive tap sensor for art installations\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch2\u003eCompatibility\u003c\/h2\u003e\n\u003cp\u003eThe module works with any 3.3V or 5V microcontroller board, including Arduino Uno, Nano, Mega, Raspberry Pi Pico, and ESP32. It connects directly to a single digital input pin and mirrors the vibration state as a high logic level when a knock is detected.\u003c\/p\u003e\n\n\u003ch2\u003eWiring Notes\u003c\/h2\u003e\n\u003cp\u003eConnect VCC to 5V (or 3.3V), GND to ground, and DO to a digital pin. Keep the wiring short to minimise stray capacitance that can cause false triggers. Use the onboard potentiometer to fine-tune sensitivity: clockwise increases, counterclockwise reduces.\u003c\/p\u003e\n\n\u003ch2\u003eWhy Buy from Compoden\u003c\/h2\u003e\n\u003cp\u003eEvery component is sourced from verified suppliers and tested for compatibility before listing. We've spent 10 years building projects for makers, schools, and institutions across India. Ships from Bengaluru in 3-5 days. If defective on arrival, replace within 7 days.\u003c\/p\u003e\n\n\u003cdetails\u003e\u003csummary\u003eIs this compatible with Arduino?\u003c\/summary\u003e\u003cp\u003eYes, it works with all Arduino boards. Connect DO to any digital input pin and read the signal with a simple digitalRead() in your sketch.\u003c\/p\u003e\u003c\/details\u003e\n\u003cdetails\u003e\u003csummary\u003eCan I use this as a knock sensor for a door?\u003c\/summary\u003e\u003cp\u003eAbsolutely. Mount the module on a door surface, adjust sensitivity to ignore light touches, and have the microcontroller trigger an alarm or unlock mechanism on solid knocks.\u003c\/p\u003e\u003c\/details\u003e\n\u003cdetails\u003e\u003csummary\u003eHow do I adjust sensitivity?\u003c\/summary\u003e\u003cp\u003eTurn the small blue potentiometer on the module. Turn clockwise for higher sensitivity (detects lighter taps), counterclockwise for lower sensitivity (only responds to stronger knocks).\u003c\/p\u003e\u003c\/details\u003e\n\u003cdiv class=\"compoden-handoff\" style=\"margin-top:24px;padding:16px;background:#f0f4ff;border-left:4px solid #2B4D8F;border-radius:4px;\"\u003e\n  \u003cp style=\"margin:0 0 6px 0;font-weight:600;color:#1A3560;\"\u003e📦 Free Setup Handoff Document Included\u003c\/p\u003e\n  \u003cp style=\"margin:0;font-size:0.95em;color:#333;\"\u003eEvery Compoden order includes a free setup handoff document — step-by-step instructions to get your component working within minutes. Download it via QR code on your package. The handoff document is also trained to help you troubleshoot the majority of problems.\u003c\/p\u003e\n\u003c\/div\u003e\n","brand":"Compoden","offers":[{"title":"Default Title","offer_id":53445101224301,"sku":"CDN-0259","price":120.0,"currency_code":"INR","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0999\/3997\/5533\/files\/image_1_5bc379d6-fa33-4b1a-b8cb-1110d26b1e0f.jpg?v=1781513298","url":"https:\/\/compoden.com\/products\/piezoelectric-knock-vibration-sensor-switch-module-compoden","provider":"Compoden","version":"1.0","type":"link"}