This shows you the differences between two versions of the page.
pm:prj2023:tmiu:earthquaqealarm [2023/05/26 18:39] sevgi.zobu |
pm:prj2023:tmiu:earthquaqealarm [2023/05/28 23:20] (current) sevgi.zobu |
||
---|---|---|---|
Line 29: | Line 29: | ||
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. | 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. | ||
- | {{ :pm:prj2023:tmiu:resim_2023-05-26_182707052.png?300 |}} | + | {{ :pm:prj2023:tmiu:earthquake_alarm_sevgi_zobu_erasmus.png?300 |}} |
</note> | </note> | ||
Line 38: | Line 38: | ||
<note tip> | <note tip> | ||
- | **work in progress** | + | 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. | ||
</note> | </note> | ||
Line 45: | Line 49: | ||
<note tip> | <note tip> | ||
- | Care au fost rezultatele obţinute în urma realizării proiectului vostru. | + | The MPU6050 sensor combined with an Arduino Uno can be used to detect vibrations or movements. |
+ | |||
+ | By measuring the acceleration in three axes (X, Y, Z) and calculating the total acceleration, the sensor can provide an indication of significant motion. | ||
+ | |||
+ | The threshold value for total acceleration can be adjusted to customize the sensitivity of the earthquake alarm. | ||
+ | |||
+ | When the total acceleration exceeds the threshold, the alarm system is triggered, indicating the possibility of an earthquake. | ||
+ | |||
+ | The LED and buzzer serve as visual and auditory indicators to alert the user when an earthquake-like motion is detected. | ||
+ | |||
+ | This project demonstrates the potential of using sensor technology for earthquake detection and early warning systems. | ||
</note> | </note> | ||
- | ===== Conclusion ===== | + | |
===== Download ===== | ===== Download ===== | ||
<note warning> | <note warning> | ||
- | 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ă ;-). | + | {{:pm:prj2023:tmiu:earthquake_alarm_sevgi_zobu_erasmus.rar|}} |
- | 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**. | ||
- | </note> | ||
- | ===== Jurnal ===== | ||
- | <note tip> | ||
- | Puteți avea și o secțiune de jurnal în care să poată urmări asistentul de proiect progresul proiectului. | ||
</note> | </note> | ||
+ | |||
+ | |||
+ | |||
+ | |||
===== Bibliografie/Resurse ===== | ===== Bibliografie/Resurse ===== | ||
<note> | <note> | ||
- | Listă cu documente, datasheet-uri, resurse Internet folosite, eventual grupate pe **Resurse Software** şi **Resurse Hardware**. | + | [[https://maker.robotistan.com/deprem-alarmi-yapimi/]] |
+ | [[https://microcontrollerslab.com/earthquake-detector-arduino/?utm_campaign=DonanimHaber&utm_medium=referral&utm_source=DonanimHaber]] | ||
+ | [[https://forum.donanimhaber.com/arduino-deprem-algilayici-mpu-6050-kodlari--141886213]] | ||
+ | [[https://www.circuits-diy.com/interfacing-gy-87-imu-mpu6050-hmc5883l-bmp085-module-with-arduino/]] | ||
</note> | </note> | ||
<html><a class="media mediafile mf_pdf" href="?do=export_pdf">Export to PDF</a></html> | <html><a class="media mediafile mf_pdf" href="?do=export_pdf">Export to PDF</a></html> | ||