Vibration/Shock Sensor Module (SW420) – Adjustable Sensitivity
Vibration/Shock Sensor Module (SW420)
The 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.
Key Specifications
| Specification | Value |
|---|---|
| Operating Voltage | 3.3V – 5V DC |
| Output Type | Digital (Active Low on Vibration) |
| Sensitivity Adjustment | Onboard potentiometer |
| Comparator IC | LM393 or equivalent |
| Detection Principle | Spring vibration switch |
| Dimensions | 32 mm × 14 mm × 8 mm |
What You Can Build With This
- Build a door knock detector that triggers an LED or buzzer.
- Create a vibration data logger for monitoring machine health.
- Design an interactive musical instrument that responds to taps.
- Set up an anti-theft alarm for a locker or drawer.
Compatibility
This 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.
Wiring Notes
Wire 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.
Why Buy from Compoden
Every 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.
Is this compatible with Arduino?
Yes, 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.
How do I adjust the sensitivity?
Turn the onboard potentiometer with a small screwdriver. Clockwise increases sensitivity, requiring less vibration to trigger. Test with gentle taps to set the threshold.
Can it detect continuous vibration?
Yes, 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.
📦 Free Setup Handoff Document Included
Every 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.
Ask Soldr above what you can build with this — it knows every Compoden kit this part appears in.
Shipping Information
- Prepaid Orders: ₹75 for orders up to ₹999, FREE shipping above ₹999
- COD Orders: ₹125 shipping + ₹50 COD fee = ₹175 total
- Delivery Timeline: Dispatch in 1-2 days, delivery in 2-7 days depending on location
Returns & Warranty
- 7-Day Return: Manufacturing defects only (approval required)
- Warranty: 7 days from delivery
- Non-Returnable: Batteries, consumables, cut wires, clearance items