Sw 420 Normally Closed Highly Sensitive Vibration Sensor
Rs. 9.00 Rs. 11.00
- Product Code: SEN-VIB
- SKU -
- Availability: In Stock
- For Bulk Order 9962060070
Quick support on WhatsApp (+919962060070) only between morning 11am-4pm, no call will be answered
SPECIFICATIONS:
Operating Voltage (VDC) :3.3 ~ 5
Dimensions in mm (LxWxH) :40x15x7
OVERVIEW:
-Using SW-420 normally closed type vibration sensor
-Comparator output, clean signal, good waveform, strong driving ability, >15mA
-Operating voltage 3.3V 5V
-Output format: digital switching output (0 and 1)
-Using a wide voltage LM393 comparator
-With bolt holes for easy installation
PACKAGE INCLUDES:
1 PCS x Sw 420 Vibration Module
//SOURCE CODE TAKEN FORM BELOW LINK
//https://create.arduino.cc/projecthub/albertoz/vibration-sensor-module-c88067
int vib_pin=7;
int led_pin=13;
void setup() {
pinMode(vib_pin,INPUT);
pinMode(led_pin,OUTPUT);
}
void loop() {
int val;
val=digitalRead(vib_pin);
if(val==1)
{
digitalWrite(led_pin,HIGH);
delay(1000);
digitalWrite(led_pin,LOW);
delay(1000);
}
else
digitalWrite(led_pin,LOW);
}
15 days