DIYables DIYables SW-420 Vibration Sensor Module LM393 Normally Closed 3.3V 5V Digital Output for Arduino ESP32 Raspberry Pi Alarm Smart Car, 5 Pack
Click to zoom





Quick Overview
This DIYables SW-420 vibration sensor module uses a normally closed vibration switch paired with an LM393 comparator to deliver clean digital output with over 15mA drive capability for reliable vibration detection. It outputs a digital low level with the indicator LED on when stable, and switches high when vibration occurs, allowing direct connection to Arduino, ESP32, and other microcontroller GPIO pins without analog conversion.
The module operates from 3.3V to 5V, making it compatible with Arduino Uno, ESP32, ESP8266, Raspberry Pi, and other popular development boards. Its normally closed design triggers the vibration output for longer periods than normally open type sensors, making it more reliable for alarm detection and security applications. An onboard potentiometer lets you adjust trigger sensitivity to match your application.
This listing includes 5 SW-420 vibration sensor modules, each measuring 3.2 x 1.4cm with bolt mounting holes, ideal for theft alarms, earthquake detection, motorcycle alarms, and smart car projects.
Key Features
- SW-420 Normally Closed Sensor — Vibration switch with LM393 comparator for clean, reliable digital output
- High Drive Capability — Over 15mA output drive for direct connection to microcontroller GPIO pins
- Digital Output Interface — Outputs low when stable (LED on) and high when vibration is detected, no analog conversion needed
- Wide Voltage Compatibility — Operates from 3.3V to 5V for Arduino, ESP32, ESP8266, and Raspberry Pi
- Longer Trigger Duration — Normally closed design holds the trigger output longer than normally open sensors for more reliable alarm detection
- Adjustable Sensitivity — Onboard potentiometer for tuning the vibration trigger threshold
- Dual LED Indicators — Power LED and output indicator LED for easy visual status checks
- Compact Size — 3.2 x 1.4cm board with bolt mounting holes for secure installation
- 5-Pack Value Set — Includes 5 modules for multiple projects or multi-point sensing
- Versatile Applications — Ideal for theft alarms, earthquake detection, motorcycle alarms, and smart car projects
SPECIFICATION
| Specification | Value |
|---|---|
| Product Type | Vibration Sensor Module |
| Sensor | SW-420 (normally closed) |
| Comparator | LM393 |
| Output Type | Digital (low when stable, high on vibration) |
| Output Drive | Over 15mA |
| Sensitivity | Adjustable via onboard potentiometer |
| Operating Voltage | 3.3V to 5V DC |
| Indicators | Power LED + output indicator LED |
| Board Dimensions | 3.2 x 1.4cm (31.2mm x 14.2mm) |
| Mounting | Bolt mounting holes |
| Package Quantity | 5 pieces |
| Compatibility | Arduino, ESP32, ESP8266, Raspberry Pi |
| Applications | Theft alarms, earthquake detection, motorcycle alarms, smart car projects |
Tutorials
- Arduino - SW-420 Vibration Sensor
- Arduino Uno R4 - SW-420 Vibration Sensor
- Arduino Nano - SW-420 Vibration Sensor
- Arduino Nano ESP32 - SW-420 Vibration Sensor
- ESP32 - SW-420 Vibration Sensor
- ESP8266 - SW-420 Vibration Sensor
- Raspberry Pi - SW-420 Vibration Sensor
- Raspberry Pi Pico - SW-420 Vibration Sensor
COMPATIBLE HARDWARE
- Arduino boards (UNO, Mega, Nano, etc.) — Via digital input pin at 5V
- Arduino Uno R4 WiFi/Minima — Via digital input pin
- Arduino Nano ESP32 — Via digital GPIO input at 3.3V
- ESP32 development boards — Via digital GPIO input at 3.3V
- ESP8266 boards (NodeMCU, Wemos D1, etc.) — Via digital GPIO input at 3.3V
- Raspberry Pi (all models) — Via GPIO digital input at 3.3V
- Raspberry Pi Pico — Via digital input pin at 3.3V
- Any microcontroller with digital input — Compatible at 3.3V or 5V logic









