Trusted Academic Publisher
Serving Researchers Since 2012
IJERT-MRP IJERT-MRP

Real-Time Monitoring and Automation of Aquaponics using IOT Technology

DOI : 10.17577/IJERTV14IS090051

Download Full-Text PDF Cite this Publication

Text Only Version

Real-Time Monitoring and Automation of Aquaponics using IOT Technology

Kousalya C S, Felix M Philip, Srikanth K, Arthur James Rathinam

Department of Marine Science, Bharathidasan University, Tiruchirappalli 620 024, Tamil Nadu, India Department of Computer Science and IT, Jain University (Deemed-to-be), Kochi Campus, Kochi 682 042, Kerala, India

Abstract-This paper presents the design and development of a cost-effective Internet of Things based smart system for aquaponics using ESP32 microcontroller. Aquaponics and hydroponics are effective methods used in modern urban agriculture. Unlike traditional aquaculture, aquaponics requires less space and significantly reduces water consumption. Hydroponics is a method to growing plants in nutrient-rich water without soil, in contrast aquaponics combines both aquaculture and hydroponics in a closed loop system, where plant utilize nutrients from fish waste. The proposed system combines sensors for monitoring pH, temperature, water lever, and humidity and actuators such as a fish feeder, AC submersible pump, full spectrum grow light, and buzzer. A real-time clock module is used to schedule tasks, including automatic fish feeding in every 10 hours and timed control of grow light. The submersible pimp is controlled through a relay and is triggered automatically when the water level drops below the defined threshold. IoT based monitoring is achieved through a cellular module. The system improves operational efficiency, reduces manual intervention and supports sustainable aquaponics practices through smart monitoring and automation.

Keywords: Aquaponics, ESP32, IoT, Hydroponics, Smart Agriculture, pH Sensor, Water Level Monitoring.

  1. INTRODUCTION

    The growing international need for sustainable food production has put a lot of focus on advanced agricultural systems with the capability to maximize resources and maintain high productivity. Conventional farming poses problems like land shortages, water shortages, and exposure to climate fluctuations, especially in urban and semi-urban areas. Controlled- environment systems like hydroponics and aquaponics have therefore become practical alternatives. Aquaponics, for instance, has the potential to provide a closed-loop system by integrating aquaculture with hydroponics, thus conserving water, recycling nutrients, an maintaining low environmental impact [1], [2].

    Notwithstanding these benefits, aquaponics systems are very responsive to environmental and water quality parameter fluctuations such as pH, temperature, dissolved oxygen, and nutrient concentration. Manual observation and control of the parameters are tedious and frequently inadequate to provide the precise balance needed for maximum plant and fish growth [3]. Therefore, a demand is on the rise for real-time monitoring and automation technologies that can stabilize

    system conditions, enhance reliability, and facilitate scalable use of aquaponics in various contexts [4].

    The high-speed evolution of the Internet of Things (IoT) has given a promising technological platform to overcome these limitations. IoT facilitates direct interconnection between sensors, microcontrollers, and cloud platforms, enabling real- time monitoring, automatic actuation, and distant access through mobile or web applications [5]. Recent research has shown the viability of IoT-based aquaponic systems utilizing low-cost microcontrollers like Arduino and ESP32, incorporating sensors for monitoring water quality, actuators for pumps and aeration, and dashboards for user interface [6], [7]. These methods emphasize the role of IoT in improving resource efficiency, minimizing labor needs, and enhancing system robustness. Though, current implementations are mostly restricted to threshold-based automation and experimental trials at small scales. Important features like adaptive control methods, interoperability, energy efficiency, and human-centered design are mostly neglected [8]. Additionally, although Arduino-based implementations have been commonly cited, incorporating more powerful platforms like ESP32 for ubiquitous Wi-Fi/Bluetooth communication and cloud integration is not well explored in literature [9].

    Impelled by these obstacles, this research introduces the design and implementation of an IoT-integrated automated aquaponics system based on ESP32 microcontrollers, real- time sensing, and cloud monitoring for performance improvement and convenience. The system is equipped with sensors for water and environmental characteristics, uses relay-controlled actuators for pumps and feeders, and supports pulse-width modulation (PWM) strategies for smart lighting control. Through the intersection of affordability and cutting-edge connectivity, the suggested framework elucidates the possibility of scalable, intelligent aquaponics solutions for urban residential and commercial use.

    Fig .1. Proposed architecture of the automated aquaponic system

  2. REVIEW OF LITERATURE

    Urban agriculture has come to the fore in recent times as a measure of addressing land and water limitations of accelerated urbanization. Hydroponics and aquaponics have emerged as effective means of sustainable food production within space-constrained environments [1]-[2]. Aquaponics, being the integration of aquaculture with hydroponics, produces a closed- loop system wherein effluent from fish acts as plant nutrient input, hence minimizing resource consumption and maximizing productivity [3]. Early studies on aquaponics were largely concerned with conceptual models, but current research has underscored the necessity of automation as well as on-line monitoring of all major parameters like water temperature, pH, and dissolved oxygen to maintain ecosystem stability [4]-[5].

    Automation has been identified as a force behind efficiency and dependability in aquaponic systems. Real-time monitoring, especially, facilitates on-line anomaly detection and quick decision-making [6]. A number of authors have designed IoT-based aquaponics systems with microcontrollers for automating monitoring and control. Arduino-based systems, for instance, have been utilized in measuring water quality parameters and pump, feeder, and aerator control through relay modules with GSM notification [7]-[8]. Such designs show the possibility of low-cost automation for small farming.

    Recent developments indicate a move towards ESP32-based designs, which include built-in Wi-Fi and Bluetooth connectivity, increased processing capabilities, and direct cloud integration. ESP32-based designs frequently employ mobile apps like Blynk or Arduino IoT Cloud for real-time visualization of data and remote actuation, hence enhancing convenience and scalability [9]-[10]. Such systems enable concurrent monitoring of pH, water level, temperature, and humidity, while actuators for feeding, illumination, and aeration are handled automatically.

    Control strategy-wise, the majority of IoT-based aquaponics systems are based on threshold- based actuation, where

    pumps and feeders respond when sensor values move outside predetermined ranges [11]. Systems with more sophistication use closed-loop control strategies and adaptive designs to control water quality across changing environmental conditions [12]. In addition to binary control, PWM-based light intensity profiling has been used to replicate natural light cycles, thus improving photosynthesis and plant growth [13].

    In spite of all progress, there are still a few gaps in research. Most current systems use rule- based logic without the use of predictive analytics or machine learning for aaptive optimization [14]. Also, topics such as energy efficiency, interoperability, and quality of service (latency, reliability) are not frequently addressed [15]-[16]. Little investigation has also been done on user experience for mobile dashboards and alert systems, which are most important for non- technical users.

    Overall, the literature surveyed here indicates that automation based on IoT can enhance aquaponics substantially by allowing real-time monitoring, effective control, and scalability. The shift from Arduino to ESP32 is indicative of the movement toward smaller, networked, and smarter systems, but future research has to prioritize intelligent control, energy-efficient operation, and standardization for wider implementation.

  3. SYSTEM ARCHITECTURE

    Basic architecture of the proposed aquaponics system as shown in fig.1. A key component of the system is the ESP32 microcontroller. We initially planned to implement the project using Arduino UNO. However, we later switched it to an ESP32 microcontroller due to its compact size and input Wi-Fi and Bluetooth, which make it more suitable for enabling real-time monitoring. ESP32 receives the signals from the sensors and operates the actuator according to the signal it receives. For example, if the water level sensor input is low, microcontroller activates the pump. The feeder and light are controlled by Real Time Counter.

  4. METERIALS AND METHODS

    In this project, we designed a cost effective, ESP32 based IoT system to monitor and control an aquaponics setup. The basic steps involved in this project are following:

    1. Suitable Conditions for Aquaponics Range:

      In aquaponics, each parameters have an optimum range. Variations in these parameters may affect the growth of fish and plant as well. To create a healthy aquaponics system, we should keep the ideal values. Given Table 1 shows the suitable environmental parameter of aquaponics.

    2. Selection of Components

      1. Sensors: These are the electronic devices that convert physical signals into electrical signals. Types of sensors used in this aquaponics setup are

        Table 1 Suitable aquaponics range

        PARAMETER

        OPTIMAL RANGE

        Water temperature

        20°C- 28 °C

        pH level

        6.5<8.5

        Photoperiod

        12-16 hr/day

        Feeding time

        Every 10hrs

        Humidity

        50%-70%

        Air temperature

        18°C- 30 °C

        Water level

        75-90% of Total capacity

        1. Water level sensor: It always monitors the optimum water level, 75-90% of the total water in the fish tank. Whenever the water level is low, it informs the microcontroller to tell the AC pump to fill to the optimum water level

        2. Temperature sensor: The suitable temperature range of the fish tank and plant bed is 20°C-28°C, so we use this sensor to track the optimum water temperature.

        3. pH sensor: It consists of two components: a pH sensor probe and a signal conditioning module to process the probe signal. pH is the measure of acidity and alkalinity of the water; the optimum pH range is 6.5-8.5.

        4. Humidity sensor: It measures the moisture content level in the atmosphere; suitable humidity is 50%-70%. It also monitors the air temperature, which is important for plant growth.

      2. Actuators: Actuators are the electronic devices that convert electrical signals into any other format of energy, such as mechanical energy or thermal energy. Actuators used in this setup are

        1. AC Pump: We use a 220v AC pump to keep the optimum water level in the fish tank according to the water level sensor signal input. Whenever the water level is low, the pump becomes activated and refills the water.

        2. Fish feeder: We use a DC motor and a container to build a customized an automated feeder. Motor is controlled by a relay, which triggered the motor based on the time input from an RTC module. Motor rotates the container 45°at every 10 hours to deliver the feed.

        3. Buzzer: It provides an alert sound if any abnormality occurs in the system, such as temperature, humidity, and pH variation in the system.

        4. Grow light: We use a full spectrum halogen light to simulate natural sunlight. provides the optimum light for photosynthesis in plants. The intensity of the light is controlled by a MOSFET driver.

      3. Other components:

        1. RTC module: There is an optimum photoperiod and feeding; this module keeps the feeding time and photoperiod in this aquaponics setup.

        2. Relay: We use a 4-channel 5V relays for the AC pump and feeder to minimize the size.

        3. MOSFET driver: We use a MOSFET driver module to connect the grow light to the PWM pin of the ESP32. The relay module cannot enable the pulse width modulation; because of that, we use MOSFET, which can enable PWM

    3. Testing and Calibration

      We tested all the components to confirm the proper working of the sensors and actuators and

      Fig .2. Testing of humidity sensor

      calibrated the sensors as well for better accuracy. We set a threshold level in each parameter. For example, if any variation in temperature, the buzzer produces a sound alert. The given Fig. 2 represents the testing of humidity sensor.

    4. Connection of Circuit

      All the sensors, actuators, and modules were interfaced with an ESP32 microcontroller. A 4-channel 5V relay was used to switch the AC pump and fish feeder and use an IRLZ44N MOSFET driver to connect the grow light to the PWM pin of the ESP32.

    5. Coding and Uploading

      We wrote the codes in the Arduino IoT Cloud software application and uploaded them into the ESP32 board and connected it with the Arduino IoT Remote app to enable real- time monitoring. It reads the continuous sensor value, and based on that, it drives the actuators, such as the pump feeder, buzzer, and light, with the help of the relay module.

    6. PCB Designing and Prototyping

      The printed circuit board designing was done by Proteus 8 Professional software application which allows schematic

      capture and board layout. Proposed circuit was designed first and verified through simulation. Once the schematic was complete and verified, and everything looked fine, a basic PCB layer was created. The finalized design was then exported as Gerber files, which are essential for PCB fabrication.

      After a successful PCB fabrication, digital printing, print transformation using heat transform method, copper etching, drilling and cleaning were completed. All the components were placed in their designated slots. For prototyping, a readymade PCB enclosure was used for safety and proper mounting of the circuit. Two separate enclosures were used, first one is considered as master unit where ESP32, sensors were placed and another one is considered as slave unit, high voltage components such as relay, MOSFET driver were placed here. This separate enclosure setup protects the system from sudden voltage fluctuations and ensures the systems safety. The hardware components are integrated inside an enclosure as shown in Fig.3.

      Fig .3. Components to be placed inside the enclosures

      Fig. 4. A small indoor aquaponics setup

      Fig.5. Final placement of the components in aquaponics setup

    7. Final Setup

    After Successful Prototyping, a small-scale aquaponics setup was assembled using basic components to create a working model using Nutrient Film Technique (NFT). The initial setup consisted of a small fish tank, NFT channels that placed above the tank for growing plants, a submersible pump to circulate nutrient rich water to the plant root and an aerator to maintain dissolved oxygen level in the fish tank. For this setup ornamental fish such as Gold fish and ornamental plant Table roses were chosen to culture in this setup. The given Fig .4. illustrates the small indoor aquaponics setup

    After the successful implementation of a small aquaponics setup, the designed prototype was integrated into setup.

    Water level sensor, pH sensor, water Temperature sensors were dipped into the fish tank water while humidity sensor placed above the plant bed. Actuators such as feeder installed in the fish tank, grow light in plant bed and a 230V AC submersible pump placed in a supplementary water tank. Whenever the water level dropped, pump refill

    Fig.6. Water level sensor graph from Arduino IoT remote dashboard

    the main tank from this supplementary tank. The given Fig 5 shows the placement of each component.

  5. RESULT AND DISCUSSION

    1. Data monitoring:

      In this system, sensor data can be monitored both online and offline through Arduino IoT remote application and serial data monitoring, respectively.

      1. Water level sensor: The given Fig 6 shows the reading from water level sensor in the aquaponics setup. The water level efficiently regulated water within the pre-defined range. It activated the 220V AC pump when the water level dropped below 75% and turned off once the but when water level reached the 90% of the fish tank. This automation ensures the reliable water supply for the both fish tank and plant bed without human supervision.

      2. Water temperature sensor: Water temperature was continuously monitored to ensure the optimum range of water temperature for both fish and plant growth. The reading constantly ranged between 20°C- 28 °C, which is more suitable for the systems productivity. The below-given figure shows the reading from water temperature sensor in the fish tank.

      3. pH sensor: Given Fig.7. and Fig.8. shows the pH range reading from the pH sensor in the system. Keeping an optimum pH range is essential for survival of the fish and supports the productivity. Reading from the images indicate that the system maintains a suitable pH range which is ranged between 6.8<8.5.

      4. Humidity and Air temperature sensor: The given Fig. 9. and Fig. 10. show the readings from the humidity sensor; which measures both humidity and air temperature variation and both are important for plant growth. These

        readings helped to understand the environmental conditions in the surrounding of the aquaponics system and also to validate any need of ventilation or cooling solution. The air temperature sensor tracks the fluctuations throughout the day, which remained in the range between 18°C- 30 °C. Humidity: variations in the humidity level ranged between 50%-70% showing a favourable microclimate for the plant growth.

    2. Offline Monitoring:

    In the absence of internet connectivity, the ESP32 collect the sensor data locally and transmitted it through serial communication such as USB cable. The given Fig.11. presents the data table that obtained through serial monitoring.

    Fig .7. Water temperature reading from Arduino IoT dashboard

    Fig .8. pH value reading from Arduino IoT dashboard

    Fig .9. Air temperature sensor reading from Arduino IoT remote dashboard

    Fig .10. Humidity reading from Arduino IoT remote application

    Fig .11. Offline monitoring from Arduino IoT cloud

  6. CONCLUSION

An affordable smart system for aquaponics was successfully designed and developed to minimize the manual labour and save time. This smart system was integrated with a group of sensors, actuators, a processing unit, online and offline data monitoring and software application. The AC pump was switched on according to the signals from the water level sensor. Whenever one of the monitored parameters rose above or fell below its threshold range, the system triggered an alert through the buffer. One of the major benefits of this system was light intensity controlling. The grow light and feeder modules operated properly based on the input signal from the real-time clock. This system is suitable for large- scale applications and significantly limits the need for manual monitoring. For future development, additional automation features, remote control functions, Google Home integration and advanced research paths can be examined.

ACKNOWLEDGEMENT:

The first author thank Department of Computer Science and Information Technology, Jain University, Kochi Campus for providing lab facility during the internship programme of study.

REFERENCES

  1. United Nations. (2018).

    https://www.unpopulation.org/en/development/desa/population/theme/ urbanization/index.html..

  2. Este, M. D. , & Sanesi, G. (n.d.). URBAN AGRICULTURE: A CASE STUDY IN BARI.

    https://www.researchgate.net/publication/336315217

  3. Khairi, M., Shahrieel, M., Aras, M., Khamis, A., Harun, M. H., Zambri, M., Aras, S. M., Nizam, H., Shah, M., Haniff Harun, M., & Yusof, A.

    A. (2018). Design and development of intelligent aquaponics system. In International Journal of Engineering & Technology (Vol. 7, Issue 3). www.sciencepubco.com/index.php/IJET

  4. da Costa, T. P., da Costa, D. M. B., & Murphy, F. (2024). A systematic review of real-time data monitoring and its potential application to support dynamic life cycle inventories. In Environmental Impact Assessment Review (Vol. 105). Elsevier Inc. https://doi.org/10.1016/j.eiar.2024.107416

  5. Junge, R., König, B., Villarroel, M., Komives, T., & Jijakli, M. H. (2017). Strategic points in aquaponics. In Water (Switzerland) (Vol. 9, Issue 3). MDPI AG.

  6. D, S. H., Shree, N. J., & D, A. A. (2020). Design and Implementation of Real Time Monitoring of Aquaponic System Using Atmega328p, IoT and Proteus Design Tool. International Journal of Research and Analytical Reviews. https://doi.org/10.13140/RG.2.2.23983.36002

  7. Gerovitch, S. (2003). Automation.

  8. Shaji, N., Sunil, S., Johanson, T., Joseph, R., & Joy, M. T. (n.d.). IoT- Based Smart Aquaponics System with Remote Monitoring and Actuator Control. International Journal on Emerging Research Areas. https://doi.org/10.5281/zenodo.12542131

  9. M. Manju, S. Hariharan, V. Karthik, & B. Sreekar. (2017). Real Time Monitoring of the Environmental Parameters of an Aquaponic System Based on Internet of Things.

  10. Jose, J. A. C., Chu, T. S. C., Jacob, L. H. M., Rulloda, L. A. R.,

    Ambrosio, A. Z. M. H., Sy, A. C., Vicerra, R. R. P., Choi, A. E. S., & Dadios, E. P. (2025). An automated small-scale aquaponics system design using a closed loop control. Environmental Challenges, 19. https://doi.org/10.1016/j.envc.2025.101127

  11. Ali, Z. H., Arafat Ali, H., Badawy, M., Ali, H. A., & Badawy, M. M. (2015). Recent Research Directions Article in International Journal of Computer Applications · October. In International Journal of Computer Applications (Vol. 128, Issue 1). https://www.researchgate.net/publication/320532203

  12. Dawa, M., Lausa, S. M., & Tibon, M. R. (2022). Internet of Things (IoT) basedAquaponics Management System Adaptive to Climate Change. AIP Conference Proceedings, 2502.

    https://doi.org/10.1063/5.0108681

  13. Gaikwad, S. V, & Mohite-Patil, T. (2022). Real Time Multi Parameter Monitoring in Smart Aquaponic IoT. International Research Journal of Engineering and Technology. www.irjet.net

  14. J, M. H., R, N. K., Bhaskar, D. S., Professor, A., & Engineering, C. (2023). IOT BASED AQUAPONICS MONITORING SYSTEM (Vol.

    11, Issue 6). www.ijcrt.org

  15. Murad, S. A. Z., Harun, A., Mohyar, S. N., Sapawi, R., & Ten, S. Y. (2017). Design of aquaponics water monitoring system using Arduino microcontroller. AIP Conference Proceedings, 1885.

    https://doi.org/10.1063/1.500244

  16. W Ibrahim, W. H., Abdul Rasid, R., Hariyanto, N. S., Mohd Faizal, N. A., & Mazlan, N. N. (2023). Smart Home Aquaponic System Monitoring and Control with Internet of Things Using Mobile Application. Journal of Chemical Engineering and Industrial Biotechnology, 9(1), 2025. https://doi.org/10.15282/jceib.v9i1.8723