Wish List 0

Ky 031 The Knock Sensor Module

Rs. 22.00 Rs. 27.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
-As the name suggests the Knock Sensor Module produces the Digital output on the detection of Knock i.e. vibration stroke.
-Further, the change in voltage level can be manipulated to produce the desired output and can be used in a variety of applications.


Connections with Arduino:
-LED +                     :[Pin 13]
-LED -                      :[Pin GND]
-Sensor signal       :[Pin 10]
-Sensor +V             :[Pin 5V]
-Sensor -                :[Pin GND]


Connections with Raspberry Pi:
-Signal: GPIO24[Pin 18]
-+V: 3,3V[Pin 1]
-GND: GND[Pin 6]

Features: 
-Detect shocks with the spring and send a signal to Controller Board
-Operating voltage: 3.3V-5V
-Digital output
-Bolt holes for easy installation.

SPECIFICATIONS:
Operating voltage (v)  3.3 ~ 5
Default Output         High
Output Type            Digital
Shipment Weight        0.085 kg
Shipment Dimensions    8 × 5 × 3 cm

OVERVIEW:

-Detect shocks with the spring and send a signal to Controller Board

-Operating voltage: 3.3V-5V

-Digital output

-Bolt holes for easy installation.

-₹ 49.00 (inc GST)

-₹ 41.53 (+18% GST extra)

PACKAGE INCLUDES:

1 PCS x Ky 031 Knock Sensor



//SOURCE CODE TAKEN FROM BELOW LINK

//https://sensorkit.en.joy-it.net/index.php?title=KY-031_Knock-sensor_module

int Led = 13 ;// Declaration of the LED output pin

int Sensor = 10; // Declaration of the sensor input pin

int val; // Temporary variable

   

void setup ()

{

  pinMode (Led, OUTPUT) ; // Initialization output pin

  pinMode (Sensor, INPUT) ; // Initialization sensor pin

}

   

void loop ()

{

  val = digitalRead (Sensor) ; // The current signal at the sensor will be read

   

  if (val == HIGH) // If a signal was detected , the LED will light up

  {

    digitalWrite (Led, LOW);

  }

  else

  {

    digitalWrite (Led, HIGH);

  }

}

15 days

Write a review

Please login or register to review