This project simulates a hydroponic system for tomato plants using C programming. The system allows users to input and monitor key environmental factors such as pH level, temperature, humidity, and nutrient requirements to ensure the optimal growth of tomatoes in a hydroponic setup.
Why was it created?- To model a real-world hydroponic system using programming concepts.
- To apply structured programming techniques in C.
- To store and retrieve sensor-like data for environmental monitoring.
User Interface & Input Handling
- The program presents a menu where the user selects parameters to modify.
- The user inputs values for pH, temperature, light exposure, humidity, and nutrients.
- User Interface & Input HandlingThe program presents a menu where the user selects parameters to modify.The user inputs values for pH, temperature, light exposure, humidity, and nutrients.
Data Validation
- The system ensures correct ranges (e.g., pH must be between 5.5 and 6.5).
- If incorrect values are entered, the system prompts for re-entry.
- Data ValidationThe system ensures correct ranges (e.g., pH must be between 5.5 and 6.5).If incorrect values are entered, the system prompts for re-entry.
File Storage & Processing
- The collected data is stored in files for tracking and later retrieval.
- Information like light exposure time, humidity, and nutrients is saved.
- File Storage & ProcessingThe collected data is stored in files for tracking and later retrieval.Information like light exposure time, humidity, and nutrients is saved.
Microcontroller Pin Assignment (Conceptual)
- VCC & GND pins control light exposure variables.
- ADC7 & AVCC pins manage humidity inputs.
- Microcontroller Pin Assignment (Conceptual)VCC & GND pins control light exposure variables.ADC7 & AVCC pins manage humidity inputs.
23 projects • 3 followers
Final-year Computer Engineering student at APU with a focus on software development and robotics.
Comments
Please log in or sign up to comment.