{"product_id":"sw420-vibration-sensor-module-shock-detection-for-diy","title":"SW420 Vibration Sensor Module | Shock Detection for DIY","description":"\u003ch1\u003eVibration\/Shock Sensor Module (SW420)\u003c\/h1\u003e\n\u003cp\u003eThe SW420 sensor module detects physical vibrations and shocks, converting them into a clean digital signal. It uses an onboard comparator to set a threshold, making it reliable for alarm systems, impact logging, and tap-based controls. Its adjustable sensitivity and broad voltage compatibility fit a wide range of embedded projects.\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 Signal\u003c\/td\u003e\n\u003ctd\u003eDigital (TTL, active 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\u003eDetection Angle\u003c\/td\u003e\n\u003ctd\u003e360° (omnidirectional)\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003eDimensions\u003c\/td\u003e\n\u003ctd\u003e32mm × 14mm × 8mm\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003eInterface\u003c\/td\u003e\n\u003ctd\u003e3-pin (VCC, GND, DO)\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\u003eAnti‑theft vibration alarm for doors or windows\u003c\/li\u003e\n  \u003cli\u003e\u003ca href=\"\/products\/kit-earthquake-vibration-logger-kit-with-arduino-uno-plus-mpu6050\"\u003eEarthquake or machine‑vibration data logger\u003c\/a\u003e\u003c\/li\u003e\n  \u003cli\u003eTap‑sensitive light switch or interactive installation\u003c\/li\u003e\n  \u003cli\u003eContact‑less knock detection for a secret lock\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch2\u003eCompatibility\u003c\/h2\u003e\n\u003cp\u003eThe module works directly with any 3.3V or 5V microcontroller, including Arduino Uno, Mega, Nano, ESP8266, ESP32, and Raspberry Pi GPIO. Pair it with a relay module to drive external sirens or a microSD shield for long‑term vibration logging.\u003c\/p\u003e\n\n\u003ch2\u003eWiring Notes\u003c\/h2\u003e\n\u003cp\u003eConnect VCC to your board’s 5V pin, GND to ground, and DO to any digital input. The module’s built‑in LED lights up when vibration is detected; no external pull‑up is needed. Current draw is under 5mA, so it can be powered directly from most development boards.\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 Uno?\u003c\/summary\u003e\u003cp\u003eYes, simply connect VCC to 5V, GND to GND, and the DO pin to any digital input (e.g., pin 2). The active‑low output can be read with digitalRead() in your sketch.\u003c\/p\u003e\u003c\/details\u003e\n\u003cdetails\u003e\u003csummary\u003eCan I adjust sensitivity?\u003c\/summary\u003e\u003cp\u003eYes, turn the onboard potentiometer clockwise to increase sensitivity (detects smaller vibrations) or counter‑clockwise to desensitize it and avoid false triggers.\u003c\/p\u003e\u003c\/details\u003e\n\u003cdetails\u003e\u003csummary\u003eWhat is the default output state?\u003c\/summary\u003e\u003cp\u003eWhen no vibration is detected, the DO pin stays HIGH (logic 1, near VCC). When a shock or vibration exceeds the threshold, it drops to LOW (logic 0) and the onboard LED glows.\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":53445108826477,"sku":"CDN-0395","price":40.0,"currency_code":"INR","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0999\/3997\/5533\/files\/image_1_e7e4308c-3bde-4eaf-bb20-f3a094d611bd.jpg?v=1781513347","url":"https:\/\/compoden.com\/products\/sw420-vibration-sensor-module-shock-detection-for-diy","provider":"Compoden","version":"1.0","type":"link"}