Categories
The Knock Sensor Module
The Knock Sensor Module The Knock Sensor Module The Knock Sensor Module The Knock Sensor Module The Knock Sensor Module The Knock Sensor Module

The Knock Sensor Module

1 Review
Availability: In stock
SKU: 223504

QUICK OVERVIEW

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

 49.00

(inc GST)

₹ 41.53 (+18% GST extra)

In stock

Purchase this product now and earn 1 Robu Point!
Brand: Generic

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.


Code Example for Arduino Board:
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);
  }
}

Connections with Arduino:

  1. LED +: [Pin 13]
  2. LED -: [Pin GND]
  3. Sensor signal: [Pin 10]
  4. Sensor +V: [Pin 5V]
  5. Sensor -: [Pin GND]

Code Example for Raspberry Pi:
# Needed modules will be imported and configured
import RPi.GPIO as GPIO
import time
   
GPIO.setmode(GPIO.BCM)
   
# The input pin of the sensor will be declared. Additional to that the pull up resistor will be activated
GPIO_PIN = 24
GPIO.setup(GPIO_PIN, GPIO.IN)
   
print "Sensor-Test [press ctrl+c to end]"
   
# This output function will be started at signal detection
def outFunction(null):
        print("Signal detected")
   
# At the moment of detection a signal (falling signal edge) the output function will be activated.
GPIO.add_event_detect(GPIO_PIN, GPIO.FALLING, callback=outFunction, bouncetime=100) 
   
# main program loop
try:
        while True:
                time.sleep(1)
   
# Scavenging work after the end of the program
except KeyboardInterrupt:
        GPIO.cleanup()

Connections with Raspberry Pi:

  1. Signal: GPIO24[Pin 18]
  2. +V: 3,3V[Pin 1]
  3. GND: GND[Pin 6]

Specifications and Features: 

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

Package Includes:

1 x The Knock Sensor Module.

Operating voltage (v)

3.3 ~ 5

Default Output

High

Output Type

Digital

Length (mm)

24.5

Width (mm)

18

Height (mm)

9

Weight (gm)

1

Shipment Weight

0.085 kg

Shipment Dimensions

8 x 5 x 3 cm

15 Days Warranty

This item is covered with a standard warranty of 15 days from the time of delivery against manufacturing defects only. This warranty is given for the benefit of Robu customers from any kind of manufacturing defects.  Reimbursement or replacement will be done against manufacturing defects.


What voids warranty:

If the product is subject to misuse, tampering, static discharge, accident, water or fire damage, use of chemicals & soldered or altered in any way.

1 review for The Knock Sensor Module

  1. Rated 5 out of 5

    saivineeth (verified owner)

    there is no data sheet for this…please provide it

Add a review

Your email address will not be published. Required fields are marked *