Shock Vibration Switch Sensor Module KY-002

Shock Vibration Switch Sensor Module KY-002

Sensors
DET552
Part.No: KY-002
€2.50
In Stock
Immediate Dispatch
KY-002 Shock Vibration Switch Sensor Module with omnidirectional SW-18015P spring mechanism. Digital output, 3.3V–5V operating voltage. Compatible with Arduino, ESP32 and other microcontrollers.

 

The KY-002 Shock Vibration Switch Sensor Module is a compact digital sensor that detects shocks, impacts, and vibrations using a conductive spring (SW-18015P) mechanism. When vibration or shock is applied at any angle, the spring momentarily closes the internal circuit and outputs a digital signal to your microcontroller — making it ideal for tamper detection, impact-triggered alarms, or motion-sensing projects with Arduino and ESP32.

Key Features

  • Omnidirectional Detection: The SW-18015P spring sensor triggers at any angle — no need to align the module in a specific orientation.
  • Digital Output (HIGH/LOW): Outputs a clean digital signal directly readable by any GPIO pin — no ADC or special library required.
  • Wide Voltage Range (3.3V–5V): Compatible with both 3.3V and 5V logic systems — works with Arduino UNO/Mega and ESP32/Raspberry Pi without level shifting.
  • Wide Temperature Range (−55°C to +125°C): Suitable for use in demanding environments — reliable operation from outdoor installations to industrial enclosures.
  • Ultra-Lightweight (~2g): Minimal footprint on your PCB or breadboard — ideal for wearable or embedded projects.

Pinout & Wiring

PinSymbolDescription
1SSignal output → connect to a digital input pin on MCU
2(middle, unmarked)VCC → connect to +3.3V or +5V
3GND → connect to ground

Wiring example (Arduino UNO): Connect → GND, center pin → 5V, S → Digital Pin 3. In your sketch, configure the pin as INPUT_PULLUP to enable the internal pull-up resistor for reliable signal reading.

Compatibility

  • Arduino UNO / Nano / Mega: Direct connection at 5V — no level shifting needed.
  • ESP32 / ESP8266: Use the 3.3V supply pin; digital GPIO compatible.
  • Raspberry Pi: Connect to 3.3V GPIO — ensure 3.3V supply is used.

Typical Applications

  • Tamper detection and anti-theft alarm systems
  • Impact or drop detection in portable devices
  • Vibration-triggered lighting effects in maker projects
  • Seismic or structural vibration monitoring (educational)
  • Wake-on-shock for low-power microcontroller projects
  • Knock-detection interfaces (e.g., knock to unlock)

Technical Specifications

Interface / ProtocolDigital GPIO
Operating Voltage3.3V – 5V
Output TypeDigital (HIGH / LOW)
Sensor ComponentSW-18015P (conductive spring)
Temperature Range−55°C to +125°C
PCB Dimensions18.5mm × 15mm
Weight~2g
MPNKY-002

FAQ

Q: Do I need an external pull-up resistor for the signal pin?
A: Not necessarily. Arduino microcontrollers have an internal pull-up resistor that can be activated in software by setting the pin mode to INPUT_PULLUP. This is the recommended approach for reliable detection with the KY-002.

Q: Can the KY-002 detect the direction or intensity of vibration?
A: No — the KY-002 provides only a digital (on/off) output. It detects the presence of a shock or vibration event but does not measure intensity or direction. For quantitative vibration measurement, consider an analog accelerometer module.

Package Contents: 1× KY-002 Shock Vibration Switch Sensor Module

16 other products in the same category:
Product added to wishlist
Product added to compare.