กลับไปหน้ารวมไฟล์
vibration-sensor-module-71e849-en.md

Impact Detection: The Vibration Sensor

The Vibration Sensor (specifically the SW-420 or similar piezoelectric modules) is the core component of car alarms, washing machine balancers, and smart security systems. It detects physical shock and vibration that tilt sensors might miss.

button_led_basic_interaction_1772681969235.png

The Mechanics of Shock

Inside the SW-420 module is a small metal rod and a spring mechanism (or a piezo crystal).

  • At Rest: The circuit is open; the sensor outputs a digital LOW.
  • During Impact: Vibration causes the internal elements to touch rapidly, creating a series of digital HIGH pulses.
  • The Amplifier: An onboard LM393 comparator chip cleans up these messy signals and sends a clean digital trigger to the Arduino.

Components Needed

  • Arduino Uno/Nano: To monitor the digital pin.
  • SW-420 Vibration Sensor Module: The impact detector.
  • LED and Buzzer: To provide instant feedback.
  • Potentiometer (on the module): To dial in the exact sensitivity required.

Typical Uses

You can attach this sensor to a window pane to detect if the glass is being broken, or to a desk drawer to act as a tamper alarm. It's a highly responsive sensor that adds a robust layer of physical security to any project.

ข้อมูล Frontmatter ดั้งเดิม

title: "Vibration Sensor Module"
description: "Detect knocks and impacts! Use the SW-420 vibration sensor to trigger an alarm or log movement when a door or object is struck."
category: "Security"
difficulty: "Easy"