[go: up one dir, main page]

Skip to content

🌱 Automated Hydroponics (a method of growing plants without soil) using Arduino Mega.

License

Notifications You must be signed in to change notification settings

race2infinity/Hydroponics

Repository files navigation

NFT

Automated Hydroponics using Arduino Mega

Status GitHub Issues GitHub Pull Requests License

Tweet


🌱 Hydroponics is a subset of hydroculture, the method of growing plants without soil, using mineral nutrient solutions in a water solvent.

📝 Index

🎈 Description

  • Hydroponics is a subset of hydroculture, the method of growing plants without soil, using mineral nutrient solutions in a water solvent. Terrestrial plants may be grown with only their roots exposed to the mineral solution, or the roots may be supported by an inert medium, such as perlite or gravel.The nutrients in hydroponics can come from an array of different sources; these can include but are not limited to byproduct from fish waste, duck manure, or commercial fertilisers. [1]

  • Growing with hydroponics comes with many advantages, the biggest of which is a greatly increased rate of growth in your plants. With a proper setup, your plants will mature up to 25% faster and produce up to 30% more than the same plants grown in soil. [2]

  • Plants in a hydroponic system grow more quickly because they have food and water available to them all the time. They produce bigger crops because they can devote their energy to producing their crop rather than producing large roots such as would be needed in soil to seek out water and nutrients. Hydroponically-grown plants have smaller root systems because the roots do not need to go out looking for nutrients and water.

  • All of this is possible through careful control of the nutrient solution and pH levels. A hydroponic system will also use 70-90% less water than soil based plants because the system is enclosed, which results in less evaporation. Hydroponics is better for the environment because it reduces waste and pollution from soil runoff. [2]

📍 Problem Definition

  • Traditional agriculture isn’t possible in places with arid climates such as Arizona, Israel.

  • Similarly, hydroponics is useful in dense urban areas, where land is at a premium. In Tokyo, hydroponics is used in lieu of traditional soil-based plant growth.

  • Hydroponics is also useful in places which have land shortage problems, such as Singapore. With so little space available for planting, hydroponic systems take around 20 percent of the land usually required for crop growth. This allows the citizens to enjoy year-round local produce without the expense and delay of importation.

  • Finally, areas that don't receive consistent sunlight or warm weather can benefit from hydroponics. Places like Alaska and Russia, where growing seasons are shorter, can use hydroponic greenhouses, where light and temperature can be controlled to produce higher crop yields. [3]

  • Hydroponics allows farmers to adapt to any situation, whether it’s Antarctica’s frozen tundra, Saudi Arabia’s windswept and barren deserts, southern Arizona’s Sonoran Desert, or even a space station.

⚙️ Working

  • The entire system mainly consists of a grow box, a reservoir and a water reservoir.

  • The DC water pumps are attached to the nutrient solution, reservoir, water reservoir and the pH up down solutions. The water level sensor, temperature sensor, EC sensor, pH sensor are installed in the reservoir.

  • When the EC sensor detects low-salt levels it indicates nutrient deficiencies. Therefore, in such situations, the DC water pump pumps the nutrient solution to the reservoir. The presence of high salt levels / low water levels indicates that fresh water needs to be pumped to the reservoir.

  • Overlooking pH control can be perilous for plants, particularly those that rely on water supplies with high alkalinity. The pH of the nutrient solution is a major factor in determining the uptake rate of many essential nutrient ions. Run pH too high and the dreaded nutrient lockout looms. The pH sensor detects the pH level of the water and prompts the pH up / pH down pump to balance out the pH levels in the reservoir.

  • The grow box has a drainage system which allows continous flow of nutrient solution runs over the plants roots.

  • This type of system works very well because the roots of a plant absorb more oxygen from the air than from the nutrient solution itself. Since only the tips of the roots come in contact with the nutrient solution, the plant is able to get more oxygen which fascilitates a faster rate of growth.

  • All this can be monitored on the website for this project.

  • The below video shows a brief working of this project: (💡 PS - Due to financial constraints, we have not used the EC sensor & pH up / down solutions)

Video Demonstration

🎞️ Screenshots

Home Page Intro 1 Intro 2 Intro 3 Work 1 Work 2 About 1 About 2 Log in Sign up Sensor Data (Tabular) Sensor Data (Graphical)

🔩 Hardware Used

  1. Arduino Mega 2560 - The hardware will most likely fit perfectly in the UNO, the problem will be the program size that may not fit in the UNOs 32kB. Plus, such a project might be increased and a mega board will allow that more easily.

  2. Water-Level Sensor - A water-level sensor is a device used in the detection of the water level.

  3. pH Sensor - Optimal pH levels are critical to healthy plants and high yields in both soil and hydroponics gardening. Maintaining those optimal levels, especially in soilless growing systems, calls for frequent, accurate pH testing. Ideal pH levels maximize a plant’s nutrient uptake. Those nutrients, in turn, increase a plant’s vigor and productivity.

  4. EC Sensor - To maximize the benefits of growing hydroponically, it’s important to know how to fine-tune your nutrient regimen to ensure your plants are getting everything they need, in the right doses. To do that, you need to learn how to measure EC, or electrical conductivity, which tells you the amounts of fertilizer salts in your water, and use those readings to feed your plants the right mix of elements for optimal growth and yields.

  5. Water Temperature Sensor - The pH value of the solution changes with the temperature i.e. an increase in any solutions’ temperature will cause a decrease in it’s viscosity and an increase in the mobility of its ions in solution. An increase in temperature may also lead to an increase in the number of ions in solution due to the dissociation of molecules. As pH is a measure of the hydrogen ion concentration, a change in the temperature of the solution will be reflected by a subsequent change in pH. [4]

  6. Soil Moisture Sensor - This soil moisture sensor can be used to detect the moisture of soil or judge if there is water around the sensor, let's you know if the plants in the mesh pot require water or not.

  7. DHT22 Temperature/Humidity Sensor - The DHT22 is a humidity and temperature sensor with a single wire digital interface. The sensor is calibrated so you can get right to measuring relative humidity and temperature.

  8. ESP8266 - ESP8266 is a WiFi module which helps us track all the sensor data on the website.

  9. DC Water Pump - A DC Water Pump is used to pump water from the water reservoir to the substrate.

  10. 5V Relay - A relay is an electromagnetic switch operated by a relatively small electric current that can turn on or off a much larger electric current. It is going to be used to control the DC Water Pump

💻 Software Requirements

  • Arduino IDE
  • A Linux Environment
  • Git Version Control
  • Editor
  • ThingSpeak

🖥️ Arduino Libraries Used

  • DHT Sensor Library
  • ThingSpeak
  • WiFi101
  • Adafruit_IO_Arduino

🔧 Running the code

  1. Install Apache
  2. Install MySQL
  3. Install PHP
  4. Clone or Download the repository
$ git clone https://github.com/Hydroponics/Reddit-Bot.git
  1. Move the Hydroponics folder to /var/www/
$ sudo mv Hydroponics/ /var/www
  1. In your browser, open localhost

🔍 Conclusion

The aim of this project is to:

  • Reduction of water wastage caused by traditional agriculture systems
  • Providing a scaled down solution for urban gardening
  • Growing healthier plants at a faster rate due to a controlled growing environment
  • Simplifying the process of Hydroponics using IOT and Internet Programming

🗒️ References

[1] Hydroponics - Wikipedia
[2] Hydroponic Systems 101 - Fullbloom Hydroponics
[3] How Hydroponics Works - Bambi Turner
[4] pH Meters in Hydroponics - Med-Tek
[5] Urban Hydroponic Oasis - Paul Langdon

✍️ Authors