Tags: Tilt, Module, 3pin, 801s, Vibration, Sensor

Tilt Module 3pin 801s Vibration Sensor

  • 29.00 AED
    • Ex Tax:29.00 AED
    • Product Code:
    • Availability: In Stock
    The 801S Vibration Sensor Module is a sensitive micro shock detecting sensor that operates by changing its resistance when a shock or vibration is detected.This vibration sensor module is compatible with any microcontroller that has digital input. Of course popular microcontroller such and PIC, Ardu..

    The 801S Vibration Sensor Module is a sensitive micro shock detecting sensor that operates by changing its resistance when a shock or vibration is detected.

    This vibration sensor module is compatible with any microcontroller that has digital input. Of course popular microcontroller such and PIC, Arduino, Raspberry Pi is compatible. The direct interface is essential to use this sensor. This tutorial will show you the basic operation of how to use this sensor. with Arduino


    FEATURES OF 801S VIBRATION SENSOR MODULE:


    Outputs a logic HIGH when module senses a vibration
    On-board LED indicator
    A gold alloy plating ensures a long service life of the sensor
    3.3V and 5V logic compatible
    The sensor operates in any orientation and is extremely sensitive to any type of movements such as a light tap or vibration. Unlike many sensors that use a mechanical switching element, this sensor uses a resistive element that changes resistance with motion.

    The module output is normally low and outputs a series of random high pulses when a vibration or shock is detected. The on-board LED is normally ON and goes OFF momentarily or appears to flicker when a shock is detected.

    The module includes an LM393 comparator with a potentiometer to allow adjustment of basic sensitivity level. Turning the potentiometer CW decreases sensitivity.

    Module Connections
    There is a 3-pin header on the assembly for making connections.
    1 x 3 Header
    ‘-‘ = Ground
    Dout = Digital Output
    ‘+’ = Vcc 3V to 9V (3.3V or 5V typical)


    Connect the LED to Arduino this way:

    ARDUINO GND – Negative terminal of the LED
    ARDUINO PIN 13 – Positive terminal of the LED


    SAMPLE CODE

    int LED_Pin = 13;
    int vibr_Pin =3;
    
    void setup(){
      pinMode(LED_Pin, OUTPUT);
      pinMode(vibr_Pin, INPUT); //set vibr_Pin input for measurment
      Serial.begin(9600); //init serial 9600
     // Serial.println("----------------------Vibration demo------------------------");
    }
    void loop(){
      long measurement =TP_init();
      delay(50);
     // Serial.print("measurment = ");
      Serial.println(measurement);
      if (measurement > 1000){
        digitalWrite(LED_Pin, HIGH);
      }
      else{
        digitalWrite(LED_Pin, LOW); 
      }
    }
    long TP_init(){
      delay(10);
      long measurement=pulseIn (vibr_Pin, HIGH);  //wait for the pin to get HIGH and returns measurement
      return measurement;
    }
    

    There are no reviews for this product.

    Write a review

    Please login or register to review