
Sensors
SW-420 Vibration Sensor
৳105
Detects shock and vibration and outputs a digital trigger, with sensitivity set by the onboard potentiometer.
A spring-loaded switch inside closes momentarily when the board is knocked or shaken, and the comparator turns that into a clean logic signal. Simple, and effective as a tamper detector.
What you can build
- Tamper and intrusion alarms on a door, gate or box
- Earthquake and knock detection
- Vibration monitoring on a machine or motor
Not sure it will work? Test your circuit free in Tekko Sim — on your phone, in Bangla or English.
| Category | Sensors |
| Model no. | SW-420 |
| Availability | In stock |
| In stock | 2 pcs |
| Delivery | Cash on Delivery, nationwide Bangladesh |
| Sensor | SW-420 vibration switch, normally closed |
| Operating Voltage | 3.3–5V DC |
| Output | digital, adjustable threshold |
| Comparator | LM393 with an onboard potentiometer |
| Response | triggers on shock and vibration, not on tilt angle |
Questions about the SW-420 Vibration Sensor
Does it detect tilt or orientation?
No. It responds to vibration and sudden movement, not to being held at an angle. For orientation use an accelerometer such as an MPU6050.
Can it measure how strong the vibration was?
Not really. The output is essentially on or off around the threshold you set, so it tells you that something happened rather than how hard. For actual magnitude use an accelerometer.
Why does it trigger constantly on a table?
Sensitivity is too high, and footsteps or a fan on the same surface are enough. Turn the potentiometer down, and mount the board on something that damps vibration if the surroundings are busy.
ভাইব্রেশন সেন্সরটি কীভাবে সার্কিটের সাথে সংযোগ বা লাগাবো?
ভাইব্রেশন সেন্সরটি ব্যবহার করা বেশ সহজ। মডিউলের VCC পিনটি ৫ ভোল্টের সাথে, GND পিনটি গ্রাউন্ডের সাথে এবং DO (Digital Output) পিনটি আপনার মাইক্রোকন্ট্রোলারের (যেমন: Arduino) ডিজিটাল পিনে যুক্ত করুন। সেন্সরের সংবেদনশীলতা নিয়ন্ত্রণ করতে বোর্ডের ওপর থাকা ছোট পটেনশিওমিটারটি স্ক্রু-ড্রাইভার দিয়ে ঘুরিয়ে আপনার প্রয়োজন অনুযায়ী টিউন করে নিন।
কেন আমার ভাইব্রেশন সেন্সরটি কোনো কাজ করছে না বা আউটপুট দিচ্ছে না?
যদি সেন্সরটি কোনো আউটপুট না দেয়, তবে প্রথমে চেক করুন পটেনশিওমিটারটি খুব বেশি টাইট করা আছে কি না (এটি সংবেদনশীলতা কমিয়ে দেয়)। এরপর কানেকশনগুলো ভালো করে দেখুন এবং মাল্টিমিটার দিয়ে ভোল্টেজ চেক করুন। অনেক সময় সেন্সরের ডিজিটাল আউটপুট পিনে সিগন্যাল পাওয়ার জন্য মাইক্রোকন্ট্রোলারে INPUT_PULLUP মোড ব্যবহার করা প্রয়োজন হয়, সেটি কোডে চেক করে দেখুন।
এই ভাইব্রেশন সেন্সরটি আমি কীভাবে নিরাপত্তা অ্যালার্ম বা অ্যান্টি-থেফট সিস্টেমে ব্যবহার করব?
কোনো দরজার হ্যান্ডেল বা দামী জিনিসের ওপর ভাইব্রেশন সেন্সরটি আঠা বা ক্লিপ দিয়ে শক্তভাবে লাগাবো । এরপর সেন্সরের ডিজিটাল আউটপুট পিনটিকে আরডুইনোর একটি ইন্টারাপ্ট পিনের সাথে কানেক্ট করুন। যখনই কোনো ভাইব্রেশন শনাক্ত হবে, তখন মাইক্রোকন্ট্রোলার একটি বাজার (Buzzer) বা এলইডি (LED) চালু করার জন্য কোড লিখুন। ছোট ভাইব্রেশন ফিল্টার করার জন্য কোডে Debounce টেকনিক ব্যবহার করলে ফলস অ্যালার্ম এড়ানো সম্ভব।

