Available online at https://journal. com/index. php/ijrcs/index International Journal of Research in Community Service e-ISSN: 2746-3281 p-ISSN: 2746-3273 Vol. No. 3, pp. 130-137, 2024 Development of Hydroponic Application based on Web and Internet of Things for the Community to Monitor pH and Total Dissolved Solids Simon Prananta Barus1*. Yonathan Arya Dhamma2 Informatics Engineering Study Program. Faculty of Science. Technology and Mathematics. Matana University. Serpong. Indonesia *Corresponding author email: simon. barus@matanauniversity. Abstract Humans need to consume vegetables for the health of their bodies. To meet the needs of these vegetables, vegetables are not only grown with soil media, but also with soilless media such as hydroponics. Hydroponic cultivation needs to be monitored. Advances in IT, sensor technology and the Internet of Things (IoT) mean that monitoring can be done online. pH levels and Total Dissolved Solids (TDS) levels are important indicators for determining nutritional conditions in hydroponic cultivation. This data is not only to be monitored, but also to be used as a dataset for artificial intelligence needs and a reference for the community to obtain data on the best hydroponic cultivation results. Thus, the aim of this research is to develop a hydroponic application based on web and IoT for the community to monitor pH and TDS. Three phases were carried out, i. , study of literature, application development with Patas model and report writing. pH and TDS levels are obtained from a pH and TDS sensor connected to an IoT device. NodeMCU ESP8266. The NodeMCU ESP8266 sends the data to the web application . ith PHP) on the web server . ith Apach. to be stored in the database . ith MySq. Three important data are stored in the database, i. , plants, hydro ponic cultivation, and cultivation monitoring. This hydroponic application based on web and IoT were successfully built. Monitoring via this application can be detailed or summary . Furthermore, it is necessary to try out hydroponic cultivation and add sensors to complete the dataset. Keywords: Internet of things (IoT), patas model, pH, total dissolved solids (TDS), web application Introduction One of the important factors of human health is by consuming vegetables. Currently, there is limited land. However, limited land is not a major obstacle to consuming vegetables independently. These limitations can be overcome by planting vegetables through hydroponic media. Hydroponics is a method of cultivating plants without soil as a growing medium (The Editors of Encyclopaedia Britannica, 2. With this independence, it can support national food security (Gabrieli, 2. This food security supports the Sustainable Development Goals (SDG. , which is included in SDGs Goal number 2, i. to end hunger, achieve food security, improve nutrition, and promote sustainable agriculture (SDGS Indonesia, 2. Not only limited land conditions, but also soil conditions that do not support vegetables to grow well, hydroponics can be one solution (Barus, et al. , 2. Hydroponic plant cultivation allows plants to grow in a controlled environment. Therefore, its success depends heavily on monitoring and managing critical parameters, such as pH. Total Dissolved Solids (TDS), temperature, humidity, light, and others. Monitoring needs data. Data is new oil, but it has only been slightly utilized (Hirsch. Data is not only important in monitoring, but also for the needs of artificial intelligence, such as machine learning, deep learning, and others. Conventional monitoring in hydroponic cultivation is usually carried out by recording the output from sensors or other devices into a notebook. There are some limitations to manual monitoring of these critical parameters, such as measurement inaccuracy, delays in problem detection, and the need for human intervention. To address these challenges, information technology (IT), sensor technology and the Internet of Things (IoT) offer solutions that can improve monitoring efficiency and accuracy. There are five core functions in IoT, i. , demand and supply management, maintenance, information systems, remote access, and services (Adryan, et al. , 2. These advances can realize online monitoring. Online monitoring can be done anytime, from anywhere . onnected to the Interne. and Barus et al. / International Journal of Research in Community Service. Vol. No. 3, pp. 130-137, 2024 in real-time through a web-based application. IoT sensors installed in hydroponic systems can measure these critical parameters continuously and send the data to an integrated management platform. There are many online monitoring of hydroponic cultivation that have been built-in, such as monitoring irrigation (Nandika and Amrina, 2. , plant health conditions from leaf images (Himawan, 2. , daily recording . emperature, humidity, pH. TDS, and wate. (Suroso, 2020. Bogdan, 2. , automation of pH, temperature, turbidity, and maintenance of electrical conductivity in a greenhouse environment (Anjini, et al. , 2. , monitoring nanobubblebased hydroponics (Safira, et al. , 2023. , and some more complete monitoring and data utilization (Nguyen, et al. Tatas, et al. , 2022. Lembaga Penelitian dan Pengabdian kepada Masyarakat, n. However, only a few integrated applications have been built and datasets that are not open or shared with the public. This is a challenge in this research to try to build its own application which will later be developed to become a large system and dataset owned for the development of smart systems and future research. The two main indicators to determine the quality and availability of nutrients in hydroponic cultivation are pH and TDS. An inappropriate pH level can interfere with nutrient absorption by plants, and TDS levels provide an indication of the concentration of nutrients available in the solution. As a first step, these two indicators were chosen to be Thus, this study aims to develop hydroponic applications to monitor pH and TDS in hydroponic This application will not only monitor pH and TDS conditions in real-time but also collect and analyze the data to support artificial intelligence, such as expert systems, fuzzy logic, machine learning or deep learning. Materials and Methods Materials The IoT device used is NodeMCU version 1 with an ESP8266 WiFi microcontroller chip. Figure 1. In the documentation it says that. AuNodeMCU is an open source Lua based firmware for the ESP32 and ESP8266 WiFi SOCs from EspressifAy (NodeMCU documentation, n. Figure 1: NodeMCU version 1 ESP8266 pH data is obtained through a pH sensor. Figure 2. The pH sensor is used to measure the acidity or alkalinity of the hydroponic cultivation solution. The specifications of the pH sensor used can be seen in Table 1. Figure 2: pH Sensor Barus et al. / International Journal of Research in Community Service. Vol. No. 3, pp. 130-137, 2024 No. Table 1: pH Sensor Spesifications pH Sensor Specifications Working voltage: 5V Working current: 5-10mA pH detection range: 0-14 Temperature detection range: 0-80 deg celcius Response time: <5s Settling time: <60s Module size: 42mm x 32mm x 20mm Equipped with 4 M3 bolts TDS data is obtained through TDS sensors. Figure 3. TDS sensors are used to measure the concentration of dissolved solids in hydroponic cultivation solutions. The specifications of the TDS sensor used can be seen in Table 2. Figure 3: TDS Sensor No. Table 2: TDS Sensor Specifications TDS Sensor Specifications Adapter board dimensions: 42x32 mm TDS probe length: 83cm Input voltage: 3. 3 - 5. Output signal: 0 - 2. Working current: 3 - 6 A TDS measurement range: 0 - 1000 ppm Interface module: XH2. 54-3P Electrode interface: XH2. 54-2P The software used is MySql . atabase management system (DBMS)). Apache . eb serve. C . rogramming language for IoT). JavaScript and PHP . rogramming language for the we. The C program is embedded in the ESP8266. Apache and MySql are installed on the server computer. JavaScript program for the front end and PHP program for the back end. Methods The research method in this research consists of three phases, as shown in Figure 4, i. , study of literature, application development with PATAS model and report writing. Barus et al. / International Journal of Research in Community Service. Vol. No. 3, pp. 130-137, 2024 Figure 4: Research flow Study of Literature Study of literature aim to understand existing knowledge, identify research gaps, and identify appropriate research A lot of previous research has discussed the Internet of Things (IoT) as applied to hydroponic systems. There are those who just monitor the condition of the plants, but there are also those who record the condition of the plants but the numbers are small. However, a dataset of hydroponic cultivation results is not yet available. Application Development Application development in this research uses the Patas model. The Patas model has seven phases, i. requirements, selection of devices, modification, evaluation, implementation, and maintenance, see Figure 5. In this research, all phases of the Patas model were not carried out, from the user requirements phase to the evaluation phase Figure 5: Patas model (Barus, 2. From the analysis results, three entities were obtained, i. Plant. Hydroponic Cultivation, and Cultivation Monitoring. The relationship between these entities can be seen in Figure 6. Each entity has its own attributes. These three entities are implemented in the MySql database management system (DBMS). Figure 6: Entity Relationship Diagram Barus et al. / International Journal of Research in Community Service. Vol. No. 3, pp. 130-137, 2024 Report Writing Report writing plays an important role in the process of scientific communication and knowledge dissemination. Report writing is a tool for disseminating knowledge, building strong scientific arguments, and advancing the fields of science and technology. Some of the activities in writing reports are the preparation of report structure, preliminary preparation, literature review, description of research methods, presentation of results, analysis and interpretation, discussion, conclusion, and preparation of bibliography. Results and Discussion The monitoring architecture. Figure 6, illustrates the work of a monitoring application. The monitoring application works as follows. IoT devices (NodeMCU ESP8. are connected to a pH sensor . and a TDS sensor . NodeMCUs ESP8266 read data from pH and TDS sensors through analog pins. After being processed by NodeMCU ESP8266, the data is sent to a web application located on a web server via WiFi with the Hypertext Transfer Protocol (HTTP) protocol to be stored in a database (MySql DBMS). Furthermore, online monitoring is carried out through a web application that can be accessed from a PC . ersonal compute. , notebook, smartphone, or Figure 6: Monitoring architecture This hydroponic application has two forms, namely a form to enter plant data and a hydroponic cultivation form. Not only forms, but also monitoring tables and dashboards are available. Therefore, before monitoring is carried out, plant data and hydroponic cultivation must first be entered, then readings from pH sensors and TDS sensors are carried out until harvest. The data reading by the sensor is based on a predetermined timer. Plant data can be entered through the plant form. Figure 7. The plant data includes plant id, name, type of plant, pH level min, pH level max. TDS level min. TDS level max, and plant description. Next, the data is used for hydroponic Figure 7: Plant form Barus et al. / International Journal of Research in Community Service. Vol. No. 3, pp. 130-137, 2024 Hydroponic plant cultivation data can be entered through the plant cultivation form. Figure 8. The plant cultivation data includes cultivation no, plant id, seeding date, transplanting date, harvesting date, planting method, location, and cultivation description. Figure 8: Hydroponics cultivation form The pH and TDS data recorded through the sensor and stored in the database can be seen in the report of hydroponics plant cultivation monitoring. Figure 9. If there is no data saved, a "No Records Found" notification will However, if available, a monitoring report with data will be displayed, i. , the date and time of data collection, pH level. TDS level, and notes. If the pH or TDS level is lower or higher than the reference recorded in the plant data, then the pH or TDS level is red. Hydroponic cultivation data and subsequent monitoring data can be used as a dataset of hydroponic plant cultivation results. Figure 9. Hydroponic plant cultivation monitoring A summary of the monitoring of pH and TDS levels is made in the form of a dashboard. Figure 10. Not only a summary of the ph level and TDS level, but also a comparison with the previous ph level and TDS level. It is red when the condition is down and green when it is up. However, for more detailed data needs, it can be seen in the report of hydroponic plant cultivation monitoring. Barus et al. / International Journal of Research in Community Service. Vol. No. 3, pp. 130-137, 2024 Figure 10. Monitoring dashboard Hydroponic application based on web and IoT to monitor pH and TDS have been successfully developed. With this application, the hydroponic cultivation carried out can be recorded . and monitored, especially pH levels and TDS levels. Thus, hydroponic cultivation datasets, plant data from seedling to harvest will be obtained. This has not been seen in previous studies. The application of this application can be started with the hydroponic cultivation of the wick method. Some of the things that need to be considered in the application are, sensor condition, sensor calibration, electricity availability, signal to connect to the Internet, stable web server. This can be an obstacle in recording and monitoring. Conclussion The application of web-based water pH and TDS monitoring and Internet of Things (IoT) for plants with hydroponic media has been successfully carried out. The pH and TDS data is obtained through pH and TDS sensors which are then sent by the WiFi microcontroller ESP8266 sent to a web application on the Apache web server where the data is then stored in the MySql DBMS. Through the web application, hydroponic cultivation can be monitored for its nutrient levels, especially pH levels and TDS levels, in detail or a summary . Thus, hydroponic cultivation can be monitored from anywhere and anytime if it is connected to the Internet. In addition, the monitoring data becomes a dataset that can be used for many things in the future, such as predictions or classifications based on artificial intelligence, imitating the success of a good harvest for the community. For the application to run well and smoothly, it is necessary to pay attention to the energy source for the microcontroller and the server and Internet connection, as well as the calibration of the sensors. Further development needs to add features so that the application is more reliable, such as recording temperature, humidity, light, and growth images. This application should also be applied to various types of hydroponic plant cultivation so that it can have various plant datasets that can be a Acknowledgments We gratefully acknowledge the support and research funding provided by Matana University. References