Internet Earthquake Alert! Project of 4 Electrical Connections!

by cristinepotu7171 in Circuits > Arduino

2503 Views, 28 Favorites, 0 Comments

Internet Earthquake Alert! Project of 4 Electrical Connections!

earthquake thumb.jpg
Phone Danger Alarm! Earthquake Alert Via Internet!


How to get an earthquake alert on your phone in a few minutes! This project requires only 4 electrical connections, a very easy project even for beginners.

Supplies

ESP32-WeMos-LOLIN32-pinout-mischianti (1).png
MPU6050-Module-Pinout.jpg
snapshot92.png
snapshot96.png

1.Esp32 Wemos Lolin

2.MPU6050 accelerometer/gyroscope sensor

3.Remote XY application

4.Visuino software

Schematic Diagram

ESP32-WeMos-LOLIN32-pinout-mischianti (1).png

The electrical scheme is extremely simple, only 4 connections.

We make the 4 connections as follows:

1) MPU6050 SCL pin to pin 22- ESP32

2) MPU6050 SDA pin to pin 21- ESP32

3) MPU6050 Vcc pin to 5V-ESP32 pin

4) MPU6050 GND pin to GND-ESP32 pin

Operating Principle

grafic_cutremur_poza_functionare_principiu.jpg
360_F_290599077_1ER1qYKHOg6xCtpsXYaASvzULiaJOFsG.jpg
images (1).jpg

The operating principle is based on the difference in travel speed between the two types of waves of an earthquake: the P wave, the first one that is felt, with a travel speed of about 6km/sec and is practically harmless, and the S wave, the one that causes destruction and loss of human life with a speed of 4km/s. Practically, the greater the distance from the epicenter, the longer the time between the detection of the 2 types of wave. This small project focuses on this aspect.

Construction

snapshot92.png
snapshot93.png


The construction itself requires the creation of an account in the XY Remote application. After creating the account, we declare which microcontroller we use, which type of communication protocol and the graphics and alarm sound that will appear on the phone screen. See in detail in the attached video.

Software and Code

IMG_20230303_105048.jpg
snapshot95.png
snapshot98.png
snapshot96.png

Visuino software is used to create the programming code. Since it is necessary to fill in some columns with the data of each connection, such as the password of the wifi network, the SSID of the network, the type of sound of the alarm, watch the video tutorial and modify the attached code accordingly.

Download Visuino link: https://www.visuino.com/downloads/

Phone Aplications

snapshot99.png
snapshot97.png
snapshot100.png

The XY Remote mobile application is downloaded and installed from the Play Store for Android or the App Store for iPhone. Choose the 'cloud' connection and fill in the data from the 'MY TOKEN' section on the desktop, as you will see in the attached video.

Start the Devices

snapshot101.png
earthquake thumb.jpg
IMG_20230303_150807.jpg
snapshot87.png

Connect the USB cable to the ESP32 board, start the XY Remote mobile application. By pressing the cloud connection icon, the seismograph and the alarm speaker symbol will appear on the screen. We move the detector with the MPU6050 slightly and the seismograph will show the movement on the graph. Depending on the intensity, the audio alarm will start, and the text "EARTHQUAKE" will flash on the screen.

I hope you liked my project, for any questions we can chat in the comments section!