SW-520D Digital Tilt Sensor Module
= High-Sensitivity Inclination Detection for Arduino and DIY Projects =
The SW-520D tilt sensor module detects angular changes and vibrations using a metal ball mechanism. It outputs a digital logic signal (HIGH/LOW) when tilted beyond a threshold, making it perfect for alarm systems, smart devices, and robotic applications.
Simple Digital Output - Easy to read with any microcontroller
High Sensitivity & Wide Voltage Range - Operates from 3.3V to 12V
Operating voltage is 3.3V to 12V (module) with 15mA consumption
Adjustable sensitivity via onboard potentiometer for precise trigger angle
Not suitable as a main power switch - designed for signal triggering only
= Technical Specifications =
| Parameter | Value |
|---|
| Sensor Type | Roller-ball tilt/vibration switch |
| Operating Voltage | 3.3V to 12V DC |
| Current Consumption | 15mA typical |
| Output Form | Digital switch output (0 and 1) |
| Comparator IC | LM393 |
| Board Size | 37 x 14mm |
= Key Features =
NonMercury Design Safe and environmentally friendly alternative to mercury switches
LM393 Comparator - Clean, stable output signal with strong drive capability
Adjustable Sensitivity Onboard potentiometer for finetuning trigger angles
Visual Indicators - Power and status LEDs for immediate feedback
Easy Mounting - M3 mounting hole for secure attachment to objects
Sealed Construction Dustproof and moistureresistant design
== Applications ==
- Tilt and inclination detection for alarm systems
- Smart device orientation sensing
- DIY robotics and automation
- Toy and gaming device triggers
- Anti-theft and tamper detection
Versatile Use - Reliable tilt/vibration sensing for Arduino, ESP, and PIC projects
Great Value - Complete module with adjustable sensitivity
√ M3 mounting hole for easy installation
√ 3-pin interface (VCC, GND, DO) for simple wiring
√ Compatible with Arduino, ESP8266, ESP32, and 8051 MCUs
= Connection Guide =
Module pinout:
- VCC: 3.3V to 12V power supply
- GND: Ground
- DO: Digital output signal
Wiring to Arduino:
- Connect VCC to 5V or 3.3V
- Connect GND to GND
- Connect DO to any digital input pin
Note: Analog output (AO) is typically not used on this module
Use a pull-down resistor for stable logic levels
Adjust sensitivity potentiometer clockwise for higher sensitivity
= Troubleshooting =
No output signal:
- Check power supply voltage is within 3.3V-12V range
- Verify connections and polarity
- Adjust potentiometer if DO pin is not responding
Module not responding to tilt:
- Increase sensitivity via onboard potentiometer
- Ensure module is securely mounted
- Sensor output may be affected by angular velocity