The Earthquake Detection and Alert System detects P-waves (Primary waves) before the arrival of S-waves (Secondary waves) from an earthquake. This early detection allows for timely alerts to people and can also be integrated with building dampers to reduce earthquake impact.
- .gitignore: Specifies files and directories to be ignored by Git.
- README.md: This file.
- backend/: Contains server-side code.
- nano.txt: Details for working with Nano sensors.
- nodemcu.txt: Details for working with NodeMCU.
- package-lock.json: Lock file for Node.js dependencies.
- package.json: Node.js project dependencies and scripts.
- public/: Static files like HTML, CSS.
- src/: Source code for the application.
- tailwind.config.js: Configuration file for Tailwind CSS.
- Node.js: Ensure you have Node.js installed. Download Node.js.
- Hardware:
- Adxl 355: Configure as described in
nano.txt
. - NodeMCU: Follow instructions in
nodemcu.txt
for integration.
- Adxl 355: Configure as described in
-
Clone the Repository:
git clone https://github.com/PragatiBasnet29/earthquake_and-_alter_system.git cd earthquake_and-_alter_system`
-
Install Dependencies:
Install the necessary Node.js packages:
npm install
-
Configuration:
Configure any environment variables or settings required by your application. This might involve setting up a
.env
file or similar configuration files. -
Run the Application:
Start the server:
npm start
This will start your Node.js server. Check the
scripts
section inpackage.json
for any additional commands if required.
The static files are located in the public/
directory. If you need to build or process frontend assets, refer to tailwind.config.js
for the Tailwind CSS setup.
- Monitor Alerts: The application provides real-time notifications for earthquake detection. Ensure that the hardware components (sensors, NodeMCU) are correctly configured and connected.
- Integration with Building Dampers: The system can be integrated with building dampers to reduce the impact of earthquakes on structures.
- Nano Sensors: Refer to
nano.txt
for detailed instructions on setting up and configuring the Nano sensors used in this project. - NodeMCU Integration: Follow the instructions in
nodemcu.txt
for integrating the NodeMCU with your system to facilitate the earthquake detection mechanism.
Contributions are welcome! Please fork the repository and submit a pull request with any changes or improvements you'd like to suggest.
This project is licensed under the MIT License. See the LICENSE file for more details.
For any questions or issues, feel free to reach out to [email protected].
- Proper code block formatting and consistency for commands.
- Improved headings for clarity and better user experience.
- Consistent markdown structure and organization.
Make sure to replace the placeholders like [email protected]
before finalizing the file.