This project is a smart hydroponics monitoring and control system that integrates Django with MySQL to store and manage sensor data. The system uses machine learning (LSTM and other techniques) to predict water quality, schedule sensor calibration and maintenance, and provide automated control of actuators.
- Sensor Data Collection: Data from multiple sensors across different locations (Greenhouse, Water Test Bed, Water Bed, Water Bio Filter, and Fish Tank) are collected and stored in MySQL.
- Alerts & Notifications: The system triggers alerts for:
- Sensor calibration and maintenance needs.
- Water quality deviations.
- Data Visualization: Display sensor data using tables and charts.
- Machine Learning Predictions: LSTM-based predictions for:
- Water quality trends.
- Sensor maintenance schedules.
- User Management:
- Admin: Can manage sensors, users, and control devices.
- User: Can register, log in, and view sensor data.
- Device Control: Ability to turn devices ON/OFF based on sensor conditions.
- Collects data from multiple sensors using RS485 communication.
- Sends data to MySQL via RS485 to USB converter.
Devices controlled by the system:
- EXHAUST FAN
- WATER PUMP
- WATER BLENDER
- EVAPORATOR COOLER
- AERATION PUMP
- SOLENOID VALVE 1
- GREENHOUSE LIGHT
- FISH FEEDER
- SOLENOID VALVE 2
- NAIMER LAMPS
- SOLENOID VALVE 3
- GREENHOUSE SHADING
- WATER AERATOR
- SOLENOID VALVE 4
- Uses Jetson Nano for data processing.
- A 7-inch LCD Display provides a graphical interface.
- 10-Port USB Hub for device connectivity.
- Power managed via 220VAC Power Distribution Unit.
- Django (Backend): Handles user authentication, sensor data storage, and control logic.
- MySQL (Database): Stores sensor readings, user data, and device states.
- Machine Learning: LSTM and other models predict water quality and maintenance needs.
- JavaScript (Frontend): For interactive charts, tables, and control buttons.
- Bootstrap & DataTables: Enhances UI for data presentation.
- Clone the Repository
git clone https://github.com/llenny18/hydroatlantis.git
cd hydroatlantis- Install Dependencies
pip install -r requirements.txt- Run Database Migrations
python manage.py migrate- Start the Django Server
python manage.py runserver- Login/Register as an Admin or User.
- View sensor data in tables and charts.
- Receive alerts for water quality and sensor issues.
- Control devices remotely from the dashboard.
- Digital Transformation Center - Developer & Researcher