This is an old revision of the document!


Earthquake Alarm

Introduction

I decided to do this project because natural disasters cause great damage to the world. The earthquake sensor detects the vibration during an earthquake and serves to beep directly and turn on the LED. To talk about the working logic, the aim of this project is to integrate the GY-87 with accelerometer, gyroscope, magnometer, barometer and temperature sensor as a multifunctional and sensitive integration, so that the LED flashes and an audible warning is given in case of a very small earthquake vibration. On the wall, it is aimed to inform people and to minimize the damage caused by the earthquake.

General Description

With arduino uno, instantaneous data is processed by GY-87 (Accelerometer, Gyroscope, Magnetometer, Barometer/Altitude Sensor andTemperature Sensor), enabling led to light and buzzer to beep during earthquake.

Hardware Design

  • Arduino Uno
  • GY-87
  • Buzzer
  • Jumper Wires
  • Green Led
  • Breadboard
  • Resistor

The GY-87 sensor module is a versatile component that combines multiple sensors in a single package. Its common features include a 3-axis accelerometer, a 3-axis gyroscope, a 3-axis magnetometer, and optionally, a barometer/altitude sensor and a temperature sensor. These sensors allow the module to measure linear acceleration, angular rate of rotation, magnetic field strength and direction, atmospheric pressure (altitude), and ambient temperature. The specific sensors included may vary depending on the module variant or manufacturer. It's important to consult the documentation provided by the manufacturer or supplier for accurate information about the features of a particular GY-87 module.

Software Design

This code is a basic earthquake alarm system using an MPU6050 sensor with an Arduino Uno. The MPU6050 sensor measures acceleration in three axes (X, Y, Z) and calculates the total acceleration. The code continuously reads the acceleration values from the sensor and compares the total acceleration to a predefined threshold.

If the total acceleration exceeds the threshold, indicating a significant movement or vibration, the alarm is triggered. The alarm is represented by an LED that blinks and a buzzer that emits a sound. The LED turns on and off rapidly, while the buzzer emits a continuous tone for a brief period.

The purpose of this code is to demonstrate how to use the MPU6050 sensor to detect vibrations or movements that could be indicative of an earthquake. When an earthquake-like motion is detected, the alarm is activated to alert the user.

Obtained Results

Care au fost rezultatele obţinute în urma realizării proiectului vostru.

Download

O arhivă (sau mai multe dacă este cazul) cu fişierele obţinute în urma realizării proiectului: surse, scheme, etc. Un fişier README, un ChangeLog, un script de compilare şi copiere automată pe uC crează întotdeauna o impresie bună ;-).

Fişierele se încarcă pe wiki folosind facilitatea Add Images or other files. Namespace-ul în care se încarcă fişierele este de tipul :pm:prj20??:c? sau :pm:prj20??:c?:nume_student (dacă este cazul). Exemplu: Dumitru Alin, 331CC → :pm:prj2009:cc:dumitru_alin.

Bibliografie/Resurse

pm/prj2023/tmiu/earthquaqealarm.1685292761.txt.gz · Last modified: 2023/05/28 19:52 by sevgi.zobu
CC Attribution-Share Alike 3.0 Unported
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0