MONEYWITHINTERNET.NL ≡ 3D Accessories Lidar Sensor Ic’s 3D Wanddecoratie
  • Tyres & Wheels

  • The Knock Sensor Module

The Knock Sensor Module

$32.24 $55.13
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: LED : [Pin 13] LED -: [Pin GND] Sensor signal: [Pin 10] Sensor  V: [Pin 5V] 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: Signal: GPIO24[Pin 18] V: 3,3V[Pin 1] GND: GND[Pin 6] Specifications and 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. Package Includes: 1 x The Knock Sensor Module. SKU: PGI-00223504 Category: Vibration/Tilt Sensor
Tyres & Wheels

Tyres & Wheels

  • 6mm Shaft Dummy Motor wheel For Robotic chassis
    $49.17 $82.11
  • A set of EasyMech 152mm Aluminium Mecanum wheels (Bearing type rollers)-(4 pieces)
    $34.49 $51.73
  • 7cm x 2cm Robot Wheel
    $31.57 $53.99
  • The Knock Sensor Module
    $32.24 $55.13
  • A set of 100mm Aluminium Mecanum wheels (Bearing type rollers) (4 pieces)
    $67.4 $128.74
  • EasyMech 100mm Modified Heavy Duty(HD) Disc Wheel Grey – 1Pcs
    $51.96 $84.17
  • Original EMAX ES9257 High Speed Digital Servo 2.5kg Micro Digital 3D Tail Servo
    $38.58 $54.4
  • EasyMech 100mm Double Aluminium Omni Wheel (BEARING TYPE ROLLER)
    $44.1 $74.97
  • DS3231 Precise Real Time Clock Module I2C RTC AT24C32
    $55.76 $80.3
  • Castor Wheels Screw Mounted Round Ball Bearing for Robotic Project
    $49.17 $95.88
  • Blue 100mm Double Glass Fiber Omni Wheel (BEARING TYPE ROLLER) High Quality
    $64.43 $79.89
  • EasyMech 100mm Modified Heavy Duty(HD) Disc Wheel (Grey) – 2PC
    $53.33 $73.06
  • Infrared IR Sensor Receiver Module for Arduino
    $64.86 $117.4
  • Orange 600 PPR ABZ 3-Phase Incremental Magnetic Rotary Encoder
    $47.99 $80.62
  • XD-21 LM358 Gain Amplification Module Operational Amplifier Module
    $41.46 $81.68
  • ATTINY85-20PU : 8-Pin 20MHz 8kb 8-bit Microcontroller
    $76.54 $134.7

© 2026 - MONEYWITHINTERNET.NL