Best seller

ThinkRobotics

KY-002 Vibration Switch Module

SKU: ELC1102

₹ 69.99 ₹ 89.99

Out of stock

šŸ“¦ Min order 1
Chat with us on WhatsApp We reply quickly! Contact Us
KY-002 Vibration Switch Module₹ 69.99
Ask AI about this product

Arduino Vibration Switch Module KY-002 Keyes allows detection of shock and vibration.Ā The KY-002 Vibration Switch Module consists of a conductive vibration spring and a 10k resistor, it will react to shock and vibration by closing the circuit.

Specifications:

  • Operating Voltage: 5V
  • Dimensions 18.5mm x 15mm [0.728in x 0.591in]

Connection Diagram

Connect the Power line (middle) and ground (-) to +5 and GND respectively. Connect signal (S) to pin 3 on the Arduino.

Example Code

The following Arduino sketch produces a shock flasher. Pin 13 (LED) on the Arduino will flash when KY-002 detects movement. Pin 3 is used as input from KY-002.

int Led = 13; // define the LED Pin
int shock = 3 // define the sensor Pin 
int val; // define a numeric variable val 

void setup () {
	pinMode (Led, OUTPUT); // LED pin as output  
	pinMode (shock, INPUT); // input from KY-002 sensor
} 

void loop () {
	val = digitalRead (shock); // read the value from KY-002
	if (val == HIGH ) {// when sensor detects shock, LED flashes  
		digitalWrite(Led, LOW);
	} else {
		digitalWrite (Led, HIGH);
	}
}

Ā 

What does this vibration switch module do?
It detects shock and vibration and closes the circuit when movement is detected, operating from 5V.
How do I wire it to an Arduino?
Connect the middle pin to +5V, the ground pin to GND, and the signal pin S to Arduino input pin 3.
What are the physical specifications of the module?
The module measures 18.5 mm by 15 mm and includes a conductive vibration spring and a 10k resistor.
Is there example code available for testing?
Yes, an Arduino sketch is provided that reads the sensor on pin 3 and can indicate movement using the Arduino, for example via pin 13.
Who makes this module and what should I know about using it?
Brand is ThinkRobotics. It is designed for 5V microcontroller projects and uses a digital signal on the S pin when movement is detected; follow the connection diagram to avoid miswiring.
Welcome to the discussion thread for KY-002 Vibration Switch Module
Feel free to ask questions, share tips or report issues.

Fill out the form below and our team will get back to you with bulk pricing.

Description
Ask AI about this product

Arduino Vibration Switch Module KY-002 Keyes allows detection of shock and vibration.Ā The KY-002 Vibration Switch Module consists of a conductive vibration spring and a 10k resistor, it will react to shock and vibration by closing the circuit.

Specifications:

  • Operating Voltage: 5V
  • Dimensions 18.5mm x 15mm [0.728in x 0.591in]

Connection Diagram

Connect the Power line (middle) and ground (-) to +5 and GND respectively. Connect signal (S) to pin 3 on the Arduino.

Example Code

The following Arduino sketch produces a shock flasher. Pin 13 (LED) on the Arduino will flash when KY-002 detects movement. Pin 3 is used as input from KY-002.

int Led = 13; // define the LED Pin
int shock = 3 // define the sensor Pin 
int val; // define a numeric variable val 

void setup () {
	pinMode (Led, OUTPUT); // LED pin as output  
	pinMode (shock, INPUT); // input from KY-002 sensor
} 

void loop () {
	val = digitalRead (shock); // read the value from KY-002
	if (val == HIGH ) {// when sensor detects shock, LED flashes  
		digitalWrite(Led, LOW);
	} else {
		digitalWrite (Led, HIGH);
	}
}

Ā 

FAQ
What does this vibration switch module do?
It detects shock and vibration and closes the circuit when movement is detected, operating from 5V.
How do I wire it to an Arduino?
Connect the middle pin to +5V, the ground pin to GND, and the signal pin S to Arduino input pin 3.
What are the physical specifications of the module?
The module measures 18.5 mm by 15 mm and includes a conductive vibration spring and a 10k resistor.
Is there example code available for testing?
Yes, an Arduino sketch is provided that reads the sensor on pin 3 and can indicate movement using the Arduino, for example via pin 13.
Who makes this module and what should I know about using it?
Brand is ThinkRobotics. It is designed for 5V microcontroller projects and uses a digital signal on the S pin when movement is detected; follow the connection diagram to avoid miswiring.
Reviews
Forum
Welcome to the discussion thread for KY-002 Vibration Switch Module
Feel free to ask questions, share tips or report issues.
Similar Products
Bulk Order

Fill out the form below and our team will get back to you with bulk pricing.

Custom Requirements?

Meet with our team