Back to Projects

Electronics · Sensors · Sustainable Agriculture

Automated Hydroponic Garden

An Arduino-powered hydroponic garden designed to grow lettuce without soil while making watering and environmental monitoring easier. The project combines a water-recirculation system, sensors, and a mobile app to explore a more water-efficient way of growing food.

2024

Science and Technology School Contest

ArduinoSensorsBluetoothMIT App Inventor

How It Started

This project started as a team initiative in our school science fair to explore alternatives to traditional agriculture, especially in regions of Peru like Puno, where water scarcity and difficult growing conditions affect local farmers. Hydroponics seemed like an interesting way to address this problem, while also combining electronics, programming, and agriculture in one project.

Exploring how lettuce can grow without soil

System Design & Construction

The garden uses the Nutrient Film Technique (NFT), where a nutrient-rich water solution circulates through PVC channels and reaches the plants' roots without the need for soil.

The structure was built using three PVC pipes supported by a wooden frame, with 12 openings for lettuce seedlings. A submersible water pump circulates the nutrient solution from an 8.5L reservoir through the pipes and back into the system, creating a cycle.

Preparing the pipes, fittings and wooden supports
Painting the assembled channels
Preparing the planting holes in the PVC channels
Securing the wooden frame around the PVC channels
Preparing the PVC channels in the workshop

Electronics & Automation

The circuit was built around an Arduino Uno, with a DHT11 sensor for temperature and humidity, an MQ-135 for air quality, a Bluetooth module, and a 5V relay module.

Two rechargeable lithium-ion batteries were used to power the electronics. The components were connected through a breadboard, with resistors added to the three LEDs to limit the current. These LEDs served as simple visual indicators of air quality, while the relay allowed the Arduino to switch an external load.

After testing the connections, the circuit was mounted inside a plastic enclosure to keep the Arduino, batteries, and wiring together and make the setup easier to handle alongside the garden.

Arduino, sensors, relay and battery-powered electronics
Wiring and assembling the garden controller

Water Pump Control

A 12V pump circulates the nutrient solution through the garden. When the battery-powered electronics were connected, we could turn the pump on and off from the app through Bluetooth, using a relay controlled by the Arduino.

For everyday watering, we simply connected the pump directly to a 12V DC adapter plugged into a wall outlet, without needing to use the app.

The nutrient-solution reservoir

Mobile App & Monitoring

A mobile app was developed using MIT App Inventor to check the garden's conditions and control the pump. The app displays temperature, humidity, and air-quality readings received through Bluetooth. It also uses color-coded indicators to make the air-quality levels easier to understand. We included ON/OFF controls for the water pump and a section about common diseases in hydroponic lettuce, so the app could also serve as a quick reference when caring for the plants.

The monitoring interface and pump controls in MIT App Inventor
Programming the mobile app in MIT App Inventor
Using the monitoring app on an Android phone

Testing & Results

We tested the garden for approximately 30 days with 12 lettuce seedlings. The nutrient solution was circulated twice a day for 30 minutes, and we replaced the water weekly.

Throughout the experiment, we took pictures and tracked the plants' growth. By Day 8, the lettuce had grown an average of 5 cm. We also estimated that the garden used around 30 liters of water during the first week, or approximately 2.5 liters per plant. For comparison, we used an approximate soil-growing reference of 0.5 liters per plant per day.

Preparing the lettuce seedlings
Tracking lettuce growth from Day 1 to Day 8
Team members with the completed hydroponic garden1 / 5

Our completed garden at school