Stufin
Home Quick Cart Profile

Tilt Sensor Vibration Alarm Vibration Switch Module for Arduino

Buy Now on Stufin

Component Name

Tilt Sensor Vibration Alarm Vibration Switch Module for Arduino

Overview

The Tilt Sensor Vibration Alarm Vibration Switch Module is a versatile IoT component designed for use with Arduino boards, enabling users to detect tilt, vibration, and movement in a wide range of applications. This module combines the functionality of a tilt sensor, vibration sensor, and alarm switch in a single compact package.

Functionality

  • Tilt Detection: The module can detect the tilt angle of an object or device, providing an analog output signal that varies in proportion to the degree of tilt.
  • Vibration Detection: The built-in vibration sensor allows the module to detect vibrations, shakes, or movements, triggering an output signal when a predefined threshold is exceeded.
  • Alarm Switch: The module features an integrated alarm switch that can be used to trigger an external alarm, buzzer, or LED indicator in response to tilt or vibration detection.

Key Features

  • High Sensitivity: The module is sensitive to even slight tilts, vibrations, or movements, ensuring accurate detection in a variety of applications.
  • Adjustable Sensitivity: The sensitivity of the vibration detection can be adjusted via a onboard potentiometer, allowing users to fine-tune the module to their specific requirements.
  • Analog Output: The module provides an analog output signal (0-5V) that can be easily read by Arduino boards, enabling users to process and analyze the data.
  • Digital Output: The module also offers a digital output signal (0/5V) that can be used to directly trigger an alarm or switch.
  • Operating Voltage: The module operates within a wide voltage range of 3.3V to 5V, making it compatible with most Arduino boards.
  • Compact Design: The module is designed to be compact and lightweight, making it ideal for use in a variety of applications, including robotics, automation, and IoT projects.
  • Easy to Use: The module is simple to integrate into Arduino projects, with clear labeling and a straightforward interface.

Operating Voltage

3.3V to 5V

Current Consumption

10mA (typical)

Tilt Detection Range

60

Vibration Detection Range

Adjustable via onboard potentiometer

Analog Output Range

0-5V

Digital Output

0/5V (TTL level)

Operating Temperature

-20C to 80C

Dimensions

35mm x 25mm x 10mm (LxWxH)

Applications

  • Robotics and Automation
  • IoT Projects (Smart Home, Industrial Automation)
  • Vibration Monitoring and Analysis
  • Tilt and Angle Measurement
  • Alarm and Security Systems
  • Industrial Control and Monitoring

Package Includes

1 x Tilt Sensor Vibration Alarm Vibration Switch Module for Arduino

1 x Jumper Wires (for connection to Arduino board)

Conclusion

The Tilt Sensor Vibration Alarm Vibration Switch Module for Arduino is a versatile and powerful IoT component that offers a range of features and capabilities, making it an ideal choice for a variety of applications. Its compact design, ease of use, and adjustable sensitivity make it a valuable addition to any Arduino-based project.

Pin Configuration

  • Tilt Sensor Vibration Alarm Vibration Switch Module for Arduino
  • Pin Description:
  • The Tilt Sensor Vibration Alarm Vibration Switch Module for Arduino has 3 pins, which are:
  • 1. VCC (Power Supply Pin)
  • Description: This pin is used to supply power to the module.
  • Function: Provides a voltage supply to the internal circuitry of the module.
  • Connection: Connect to the 5V or 3.3V power supply pin of your Arduino board.
  • 2. GND (Ground Pin)
  • Description: This pin is used to provide a common ground reference for the module.
  • Function: Acts as a return path for the power supply and provides a reference point for the sensor.
  • Connection: Connect to the GND pin of your Arduino board.
  • 3. OUT (Output Pin)
  • Description: This pin provides an output signal based on the tilt or vibration detected by the sensor.
  • Function: The output signal is HIGH when the module detects a tilt or vibration, and LOW when it does not.
  • Connection: Connect to a digital input pin on your Arduino board to read the output signal.
  • Connection Structure:
  • To connect the Tilt Sensor Vibration Alarm Vibration Switch Module to your Arduino board, follow these steps:
  • Connect the VCC pin of the module to the 5V or 3.3V power supply pin of your Arduino board.
  • Connect the GND pin of the module to the GND pin of your Arduino board.
  • Connect the OUT pin of the module to a digital input pin on your Arduino board (e.g., D2, D3, D4, etc.).
  • Example Connection:
  • | Module Pin | Arduino Pin |
  • | --- | --- |
  • | VCC | 5V |
  • | GND | GND |
  • | OUT | D2 |
  • In this example, the VCC pin is connected to the 5V power supply pin, the GND pin is connected to the GND pin, and the OUT pin is connected to digital input pin D2 on the Arduino board.
  • Note: Make sure to use a suitable power supply and to connect the GND pin to the Arduino's GND pin to ensure proper operation and to avoid damage to the module or the Arduino board.

Code Examples

Tilt Sensor Vibration Alarm Vibration Switch Module for Arduino
Overview
The Tilt Sensor Vibration Alarm Vibration Switch Module is a versatile IoT component designed for use with Arduino boards. This module combines the functions of a tilt sensor, vibration alarm, and vibration switch, making it an ideal solution for various applications, such as robotics, home automation, and industrial monitoring.
Technical Specifications
Operating Voltage: 3.3V to 5V
 Tilt Sensor Range: 0 to 180
 Vibration Alarm Threshold: Adjustable
 Vibration Switch Output: Digital (High/Low)
 Communication Interface: Analog and Digital Inputs/Outputs
Pinout
VCC: 3.3V to 5V Power Supply
 GND: Ground
 OUT: Digital Output (Tilt/Vibration Detection)
 AOUT: Analog Output (Tilt Angle Measurement)
Example 1: Simple Tilt Detection and Alarm
In this example, we'll use the Tilt Sensor Vibration Alarm Vibration Switch Module to detect tilts and trigger an alarm when the module is tilted beyond a certain angle.
```c++
const int tiltPin = 2;  // Digital Input for Tilt Detection
const int alarmPin = 13; // Digital Output for Alarm
void setup() {
  pinMode(tiltPin, INPUT);
  pinMode(alarmPin, OUTPUT);
}
void loop() {
  int tiltState = digitalRead(tiltPin);
  if (tiltState == HIGH) {
    // Tilt detected, trigger alarm
    digitalWrite(alarmPin, HIGH);
  } else {
    digitalWrite(alarmPin, LOW);
  }
  delay(50);
}
```
Example 2: Vibration Switch and LED Indicator
In this example, we'll use the vibration switch function to control an LED indicator.
```c++
const int vibPin = 3;  // Digital Input for Vibration Switch
const int ledPin = 12; // Digital Output for LED Indicator
void setup() {
  pinMode(vibPin, INPUT);
  pinMode(ledPin, OUTPUT);
}
void loop() {
  int vibState = digitalRead(vibPin);
  if (vibState == HIGH) {
    // Vibration detected, turn on LED
    digitalWrite(ledPin, HIGH);
  } else {
    digitalWrite(ledPin, LOW);
  }
  delay(20);
}
```
Example 3: Analog Tilt Angle Measurement
In this example, we'll use the analog output to measure the tilt angle of the module.
```c++
const int analogPin = A0; // Analog Input for Tilt Angle Measurement
void setup() {
  Serial.begin(9600);
}
void loop() {
  int sensorValue = analogRead(analogPin);
  float tiltAngle = map(sensorValue, 0, 1023, 0, 180);
  Serial.print("Tilt Angle: ");
  Serial.print(tiltAngle);
  Serial.println(" degrees");
  delay(50);
}
```
Note: These examples are for demonstration purposes only and may require modifications to suit your specific project requirements. Additionally, ensure that you connect the module to your Arduino board according to the pinout diagram and Technical Specifications provided above.