Wish List 0

Ky 002 Vibration Switch Module

Rs. 57.00 Rs. 69.00

  • Product Code: SEN-VIB
  • SKU -
  • Availability: In Stock
  • Price in reward points: 1
  • For Bulk Order 9962060070
    Quick support on WhatsApp (+919962060070) only between morning 11am-4pm, no call will be answered
-This switch at rest is open (off) state when it subjected to an external force touch with an appropriate shaking force, or its movement speed reaches appropriate centrifugal force (eccentric) heart, conductive pins will be in instantaneous conduction state to change the electrical characteristics, and when the external force disappears, electrical characteristics recovery to be open (off) state.
-This switch by default is in an OFF resting state.
-When an external force is applied to achieve a proper vibration, the conductive pin will momentarily conduct and change to ON status, make changes in electric property, and disappear when the external force is withdrawn.
-Its omnidirectional in nature meaning any angle can trigger the sensor.

Pin Connection
-Pin – ⇔ GND, connect to GND of the Arduino
-Middle Pin ⇔ +5 v, connect to Arduino +5
-Pin S ⇔ signal, connect to Arduino pin 10 

Features:
-No direction, any angle can trigger the work.
-Sensitivity switches can be selected for the trigger sensitivity according to circuit requirements.
-This switch is suitable for the trigger of the small current circuit.

SPECIFICATIONS:
Component Type             SW-18015P
Maximum Voltage(V)         12
Rated Heating Current(mA)  20
PCB Size (mm)              20×15
Shipment Weight            0.085 kg
Shipment Dimensions        3 × 3 × 3 cm

OVERVIEW:

-No direction, any angle can trigger the work.

-Sensitivity switches can be selected for the trigger sensitivity according to circuit requirements.

-This switch is suitable for the trigger of the small current circuit.

-Component Type: SW-18015P

-Maximum voltage: 12V

-Rated Heating Current: 20mA

PACKAGE INCLUDES:

1 PCS x Ky 002 Vibration Switch Module


//SOURCE CODE TAKEN FROM BELOW LINK

//https://create.arduino.cc/projecthub/WellTronic/ky-002-shock-sensor-module-48be92

//**********************************************************************************************************//

// Author: 

// WellTronic

//

// Description:

// This code is part of a video series covering all Arduino sensors from the Arduino sensor kit.

// One of the sensors in this video series is the SW18010P shock sensor.

//

// In this video I will explain step by step how to use the SW18010P shock sensor

// https://www.youtube.com/watch?v=hDqkDn6dVJ4&t=177s

//

// You're also welcome to take a look at the YouTube channel for more details about hardware and software.

// https://www.youtube.com/channel/UC0UCNqE8i4unG8nfuakd0vw

// 

// Enjoy working with this sensor and see you soon :) !

//

//**********************************************************************************************************//



int shockSensorPin = 2;

int greenLedPin = 3;

int redLedPin = 4;


bool shockSensorSate = 0;


void setup() {

pinMode(shockSensorPin,INPUT);

pinMode(greenLedPin,OUTPUT);

pinMode(redLedPin,OUTPUT);


shockSensorSate = digitalRead(shockSensorPin);

}


void loop() {

  

  if (shockSensorSate == 1){

      digitalWrite(greenLedPin,LOW);  

      for ( int i=0; i < 10;i++){      

      digitalWrite(redLedPin,HIGH);

      delay(150);

      digitalWrite(redLedPin,LOW);

      delay(150);

      if ( i == 9){

        shockSensorSate = 0;

      }

      }

    }

    else {

      shockSensorSate = digitalRead(shockSensorPin);

      digitalWrite(greenLedPin,HIGH);

    }

  


  


}

15 days

Write a review

Please login or register to review