This project implements a real-time vibration analysis dashboard using React for the frontend and Flask for the backend. It's designed to process and visualize vibration data for mechanical engineering applications.
vibration-analysis-project/
├── frontend/
│ ├── public/
│ ├── src/
│ │ ├── components/
│ │ │ └── VibrationDashboard.js
│ │ ├── App.js
│ │ ├── index.js
│ │ └── index.css
│ ├── package.json
│ └── tailwind.config.js
└── backend/
├── app.py
└── requirements.txt
-
Navigate to the
frontend
directory:cd frontend
-
Install dependencies:
npm install
-
Start the development server:
npm start
The frontend will be available at http://localhost:3000
.
-
Navigate to the
backend
directory:cd backend
-
Create a virtual environment:
python -m venv venv
-
Activate the virtual environment:
- On Windows:
venv\Scripts\activate
- On macOS and Linux:
source venv/bin/activate
- On Windows:
-
Install dependencies:
pip install -r requirements.txt
-
Start the Flask server:
python app.py
The backend API will be available at http://localhost:5000
.
Once both the frontend and backend are running, open your web browser and go to http://localhost:3000
. You should see the vibration analysis dashboard with real-time updates of amplitude and frequency data.
- Real-time data visualization
- Amplitude and frequency charts
- Simulated data generation (replace with actual sensor data in production)
- Basic machine learning analysis using PCA
- Frontend: React, Recharts, Tailwind CSS
- Backend: Flask, NumPy, scikit-learn
Contributions are welcome! Please feel free to submit a Pull Request.
This project is open source and available under the MIT License.