Skip to main content

SW-420 Vibration Sensor Module

The vibration sensor module based on the vibration sensor SW-420 and Comparator LM393 is used to detect vibrations. The threshold can adjust using an on-board potentiometer. During no vibration, the sensor provides Logic Low and when the vibration is detected, the sensor provides Logic High.


Pin Configuration of Vibration Sensor Module

Pin Name




The Vcc pin powers the module, typically with +5V


Power Supply Ground


Digital Out Pin for Digital Output.


Vibration Sensor Module Features & Specifications

  • Operating Voltage: 3.3V to 5V DC
  • Operating Current: 15mA
  • Using SW-420 normally closed type vibration sensor
  • LEDs indicating output and power
  • LM393 based design
  • Easy to use with Microcontrollers or even with normal Digital/Analog IC
  • With bolt holes for easy installation
  • Small, cheap and easily available


Alternate Sensor Modules: IR Sensor Module, LDR Sensor Module, TP4056A Li-ion Battery Charging/Discharging Module, DS3231 RTC Module, TMC2209 Stepper Motor Driver Module, DRV8825 Stepper Motor Driver Module, A4988 Stepper Motor Driver Module, NEO-6MV2 GPS Module, Joystick Module, EM18 - RFID Reader ModuleADXL335 Accelerometer Module, HMC5883L Magnetometer Module, Soil Moisture Sensor

Related Components: LM393 Comparator IC, 10K Potentiometer, Capacitor, SW-420 Vibration Sensor


Brief about SW-420 Vibration Sensor/Motion Sensor Module

This Vibration Sensor Module consists of an SW-420 Vibration Sensor, resistors, capacitor, potentiometer, comparator LM393 IC, Power, and status LED in an integrated circuit. It is useful for a variety of shocks triggering, theft alarm, smart car, an earthquake alarm, motorcycle alarm, etc.

SW-420 Vibration Sensor Module


LM393 IC

LM393 Comparator IC is used as a voltage comparator in this vibration sensor module. Pin 2 of LM393 is connected to Preset (10KΩ Pot) while pin 3 is connected to vibration sensor. The comparator IC will compare the threshold voltage set using the preset (pin2) and the Vibration Sensor pin (pin3).


Preset (Trimmer pot)

Using the onboard preset, you can adjust the threshold (sensitivity) of the digital output.


SW-420 Vibration Switch

Vibration switch recognizes the amplitude of the vibration to which it is exposed. The switch response can be electrical contact closure or contact opening. The electrical contact may be either an electromechanical relay or a solid-state device.


How to Use SW-420 Vibration Sensor Module

Vibration sensor module consists of three pins i.e. VCC, GND, and DO. The Digital out pin is connected to the output pin of the LM393 comparator IC. The Internal Circuit diagram of the Temperature sensor module is given below.

 Vibration Sensor Module Internal Circuit Diagram

Using the Vibration sensor module with the microcontroller is very easy. Connect the Digital Output pin of the module to the Digital pin of Microcontroller. Connect VCC and GND pins to 5V and GND pins of Microcontroller.


Applications of Vibration Sensor Module

  • Shocks triggering
  • Theft alarm
  • Smart car
  • Earthquake alarm
  • Motorcycle alarm

Related Post

Join 20K+subscribers

We will never spam you.

* indicates required

Be a part of our ever growing community.