1. Introduction
This manual provides comprehensive instructions for the uxcell KY-002 SW-18015P Shock Vibration Sensor Module. This module is designed to detect vibrations and physical shocks, providing a momentary electrical signal when triggered. It is suitable for integration into various electronic projects, particularly those involving microcontrollers like Arduino.
2. Product Overview
The SW-18015P is a vibration switch that operates in an OFF (open circuit) state when at rest. Upon detecting an external force or vibration exceeding a certain threshold, its internal conductive pin momentarily closes (ON), completing a circuit and altering its electrical property. Once the external force subsides, the switch automatically returns to its open (OFF) state. This sensor is omnidirectional, meaning it can be triggered from any angle, enhancing its versatility.
It is specifically designed for small current trigger circuits and can be directly connected to a microcontroller's input/output (IO) port. The module features anti-interference capabilities and includes a fixed bolt hole for secure and easy installation.

Figure 1: Two uxcell KY-002 SW-18015P Shock Vibration Sensor Modules. Each module is a small black PCB with three pins on one side and a cylindrical vibration sensor component in the center.
3. Specifications
- Component Model: SW-18015P
- Highest Voltage: 12 V
- Rated Thermal Current: 20mA
- Working Temperature: 100 ℃ (Celsius Degree)
- Module Output Form: ON/OFF (Digital Output)
- Total Size: 25mm x 15mm x 14mm (Length x Width x Height)

Figure 2: Top-down view of the uxcell KY-002 SW-18015P module showing its dimensions: 25mm in length and 15mm in width.
4. Setup
- Mounting: Secure the module using the fixed bolt hole to a stable surface where vibrations are to be monitored. Ensure the mounting is firm to prevent unintended movement that could affect detection accuracy.
- Electrical Connection: The module typically has three pins for connection:
- VCC: Connect to the positive power supply (e.g., 3.3V or 5V from a microcontroller).
- GND: Connect to the ground of the power supply and microcontroller.
- OUT: Connect to a digital input pin on your microcontroller. This pin will output a HIGH or LOW signal depending on the switch state.
- Power Supply: Ensure the power supply voltage does not exceed 12V and the current draw is within the rated thermal current of 20mA.

Figure 3: Angled view of a single uxcell SW-18015P module, highlighting the SW-18015P component label on the sensor.
5. Operating Principles
The uxcell KY-002 SW-18015P module functions as a normally open (OFF) switch. In its quiescent state, the internal contacts are separated, resulting in an open circuit. When the module experiences a sufficient level of shock or vibration, the internal mechanism causes the contacts to momentarily touch, closing the circuit (ON). This change in state generates a digital signal (e.g., a momentary HIGH or LOW, depending on the pull-up/pull-down configuration) on the OUT pin, which can be read by a connected microcontroller. The omnidirectional design ensures that vibrations from various directions can effectively trigger the switch.
6. Applications
This shock vibration sensor module is suitable for a wide range of electronic applications that require detection of physical impact or movement. Common applications include:
- Security systems (e.g., window/door vibration alarms)
- Impact detection in devices
- Motion-activated lighting or recording systems
- Tilt or orientation change detection
- DIY electronics projects requiring simple vibration sensing
7. Troubleshooting
If the uxcell KY-002 SW-18015P module is not functioning as expected, consider the following troubleshooting steps:
- No Response to Vibration: Verify all electrical connections are secure and correctly wired (VCC, GND, OUT). Ensure the power supply voltage is within the specified range (up to 12V). Confirm that the vibration or shock applied is sufficient to trigger the internal switch mechanism.
- False Triggers: Check for loose connections or unstable mounting. Excessive ambient vibrations or electrical noise might also cause false triggers. Ensure the module is mounted firmly.
- Incorrect Output: If using a microcontroller, review your code to ensure the digital input pin is correctly configured to read the sensor's output.
8. Maintenance
The uxcell KY-002 SW-18015P module is designed for durability and requires minimal maintenance. To ensure optimal performance and longevity:
- Keep the module clean and free from dust, dirt, and moisture.
- Avoid exposing the module to extreme temperatures, corrosive chemicals, or excessive mechanical stress.
- Ensure the module remains securely mounted to prevent accidental damage or performance degradation.
9. Warranty and Support
For specific warranty details, technical assistance, or customer support regarding the uxcell KY-002 SW-18015P Shock Vibration Sensor Module, please refer to the official uxcell website or contact their customer service department directly. Keep your purchase receipt for any warranty claims.





