{"product_id":"vibrationshock-sensor-module-sw420-adjustable-sensitivity","title":"Vibration\/Shock Sensor Module (SW420) – Adjustable Sensitivity","description":"\u003ch1\u003eVibration\/Shock Sensor Module (SW420)\u003c\/h1\u003e\n\u003cp\u003eThe SW420 vibration sensor module detects sudden movement, taps, or continuous vibration and outputs a logic-level signal. Commonly used in anti-theft alarms, earthquake detectors, and interactive art, this module includes an onboard comparator for clean, adjustable triggering.\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 – 5V DC\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003eOutput Type\u003c\/td\u003e\n\u003ctd\u003eDigital (Active Low on Vibration)\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\u003eComparator IC\u003c\/td\u003e\n\u003ctd\u003eLM393 or equivalent\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003eDetection Principle\u003c\/td\u003e\n\u003ctd\u003eSpring vibration switch\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003eDimensions\u003c\/td\u003e\n\u003ctd\u003e32 mm × 14 mm × 8 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\u003eBuild a door knock detector that triggers an LED or buzzer.\u003c\/li\u003e\n  \u003cli\u003eCreate a vibration data logger for monitoring machine health.\u003c\/li\u003e\n  \u003cli\u003eDesign an interactive musical instrument that responds to taps.\u003c\/li\u003e\n  \u003cli\u003eSet up an anti-theft alarm for a locker or drawer.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch2\u003eCompatibility\u003c\/h2\u003e\n\u003cp\u003eThis sensor module works with any microcontroller that reads digital inputs, including Arduino Uno, Nano, Mega, Raspberry Pi (with level shifting for 5V outputs), ESP8266, and ESP32. It operates at 3.3V or 5V and provides a logic-level output compatible with most 3.3V\/5V logic.\u003c\/p\u003e\n\n\u003ch2\u003eWiring Notes\u003c\/h2\u003e\n\u003cp\u003eWire VCC to 5V, GND to ground, and connect DO to a digital pin. The module’s output drops LOW when vibration is detected; adjust the potentiometer to set the trigger threshold.\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, the module provides a 5V\/3.3V digital output that connects directly to any Arduino digital pin. Just read the pin state; LOW means vibration detected.\u003c\/p\u003e\u003c\/details\u003e\n\u003cdetails\u003e\u003csummary\u003eHow do I adjust the sensitivity?\u003c\/summary\u003e\u003cp\u003eTurn the onboard potentiometer with a small screwdriver. Clockwise increases sensitivity, requiring less vibration to trigger. Test with gentle taps to set the threshold.\u003c\/p\u003e\u003c\/details\u003e\n\u003cdetails\u003e\u003csummary\u003eCan it detect continuous vibration?\u003c\/summary\u003e\u003cp\u003eYes, the SW420 spring switch will remain closed during sustained vibration, holding the output LOW. For applications like earthquake detection, use software timing to filter brief spikes.\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":53445129077101,"sku":"CDN-0771","price":40.0,"currency_code":"INR","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0999\/3997\/5533\/files\/image_1_51f38099-dbfa-4670-8f61-c189650b8da3.jpg?v=1781513473","url":"https:\/\/compoden.com\/products\/vibrationshock-sensor-module-sw420-adjustable-sensitivity","provider":"Compoden","version":"1.0","type":"link"}