This is an integrated disaster rescue ecosystem that enables real-time situational awareness, predictive risk analysis, and priority classification. It combines a multi-sensor wearable (ESP32, MAX30102, GSR, MPU6050, NEO-6M GPS, buzzer) and an underwater ROV (Arduino Uno, 4x thrusters, LiPo) with an AI-powered Flask central orchestrator.
Watch the multi-functional health & safety wearable in action:
(Note: Video playback might require viewing on standard GitHub web. A direct download or raw viewing might be necessary depending on your device.)
TRIDENT operates across three integrated layers:
- ESP32-based embedded firmware with multi-sensor integration
- Real-time vital signs, motion, and GPS monitoring
- Edge-based emergency detection and alert generation
- Web-based emergency response coordination interface
- AI-powered priority classification and resource allocation
- Real-time visualization of incidents and response teams
- Remote-controlled deployment system for emergency scenarios
- Sensor integration for environmental assessment
- Automated navigation to high-priority locations
The wearable hardware was designed meticulously integrating multiple bio-sensors and embedded modules.
CAD Flythrough:
The underwater ROV undergoes rigorous fluid dynamics analysis to ensure stability under water currents.
ROV Field Deployment:
- Python 3.7+
- Node.js 14+ (for frontend development)
- PlatformIO (for firmware development)
- Qt6 (for ROV control station)
-
Clone the repository
git clone <repository-url> cd trident
-
Install Python dependencies
pip install -r requirements.txt
-
Set up configuration
cp config/development.env.example config/development.env # Edit config/development.env with your settings -
Initialize database
python scripts/development/database_reset.py
-
Start the backend server
python src/backend/main.py
-
Access the dashboard
- Open browser to
http://localhost:5000 - Navigate to
/adminfor dashboard access
- Open browser to
trident/
โโโ src/ # Source code
โ โโโ firmware/ # ESP32 embedded firmware
โ โโโ backend/ # Flask API server
โ โโโ ml/ # Machine learning models
โ โโโ rov/ # ROV control system
โ โโโ frontend/ # Web interface
โโโ data/ # Data files and models
โโโ docs/ # Documentation
โโโ scripts/ # Utility scripts
โโโ assets/ # Static resources (Images, Videos, CADs)
โโโ config/ # Configuration files
# Start development server
python src/backend/main.py
# Run tests
python -m pytest src/backend/tests/
# Database operations
python scripts/development/database_reset.py
python scripts/development/add_sample_data.py# Flash ESP32
cd src/firmware
pio run --target upload
# Monitor serial output
pio device monitor# Serve static files (development)
python -m http.server 8080 --directory src/frontend/static# Launch ROV control station
python src/rov/communication/serial_interface.py- LSTM-based temperature forecasting
- Historical weather data analysis
- Real-time prediction API
- Graph-based risk propagation modeling
- Flood network analysis
- Storm path prediction
- Geospatial risk zone mapping
- Fall Detection: MPU6050 accelerometer analysis
- Vital Signs Monitoring: MAX30102 heart rate and SpO2
- Stress Assessment: GSR sensor integration
- Location Tracking: GPS with geofencing
- Automated severity scoring
- Multi-factor consideration (injuries, vulnerable populations)
- Resource availability optimization
- Real-time priority updates
- Team assignment and notification
- Status tracking and updates
- Resource deployment optimization
- Analytics and reporting
# Start all services
docker-compose up -d# Using scripts
./scripts/deployment/start_app.sh
# Manual deployment
gunicorn -w 4 -b 0.0.0.0:5000 src.backend.main:app# Run all tests
python -m pytest src/backend/tests/
# Specific test categories
python -m pytest src/backend/tests/test_api.py
python -m pytest src/backend/tests/test_priority_system.pypython src/rov/tests/test_rov_integration.py
python src/rov/tests/test_rov_deployment.py- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- General Emergency: 100
- Fire Department: 101
- Medical Emergency: 108
- Disaster Management: 108
- Mobile Applications: iOS and Android apps for field operations
- Advanced AI Integration: Deep learning for emergency prediction
- IoT Sensor Network: Expanded environmental monitoring
- Blockchain Integration: Secure emergency records
- Multi-language Support: Localization for global deployment
๐ก๏ธ TRIDENT - Your Shield in Times of Crisis











