Application of the Mamdani Fuzzy Logic Multi Output Method to Maintain Electrical Conductivity in Hydroponic Media for Lettuce (Lactuca sativa L.) and Bok Choy (Brassica rapa L.)

Nyi Mekar Saptarini, Mohamad Nurkamal Fauzan


Nutrition in hydroponic cultivation affects the electrical conductivity (EC) that must be controlled to fulfill the plant’s requirement. The aim of this study was to determine the application of the Mamdani fuzzy logic with multi output to maintain the EC value, mixed volume in the tank and real time monitoring the current condition of the system. Case studies on lettuce (Lactuca sativa L.) and bok choy (Brassica rapa L.). The controlled system was NodeMCU and Arduino nano with analog pH, EC meter as input and pumps as an actuator. The results show that this application maintains an average EC value of 1.96 mS/cm and an average mixed volume of 53.4%. Plant conditions were sent to Android device in real time monitoring. The comparison data of manual and automatic (Mamdani fuzzy logic) monitoring were similar.

Keywords: Lactuca sativa L., Brassica rapa L., Mamdani, multi output, real time monitoring

Full Text:



dos Santos JD, da Silva ALL, Costa JdL, Scheidt GN, Novak AC, Sydney EB, et al. Development of a vinasse nutritive solution for hydroponics. Journal of Environmental Management 2013;114:8-12.

Jones JB. Hydroponics: a practical guide for the soilless grower. Boca Raton, Fla: CRC Press; 2005.

Bae JH, Cho YR, Lee YB. Field survey for well water quality in hydroponics farms. Journal of Bio-Environmental Control 1995;4:80-88.

Samarakoon UC, Weerasinghe PA, Weerakkody WAP. Effect of Electrical Conductivity [EC] of the Nutrient Solution on Nutrient Uptake, Growth and Yield of Leaf Lettuce (Lactuca sativa L.) in Stationary Culture. The Tropical Agricultural Research 2006;18:1-9.

Suhl J, Oppedijk B, Baganz D, Kloas W, Schmidt U, van Duijn B. Oxygen consumption in recirculating nutrient film technique in aquaponics. Scientia Horticulturae 2019;255:281-91. Accessed on: 17.02.2020.

Hyun-Ju K, Young-Son C, Oh-Keun K, Myung-Whan C, Jae-Bok H, Soon-Do B, Weon-Tae J. Effect of pH and EC of Hydroponic Solution on the Growth of Greenhouse Rose. Asian Journal of Plant Sciences 2005;4:348-55.

Shahrulakram MAI, Johari J. Water storage monitoring system with pH sensor for pharmaceutical plants. In Proceedings of 2016 6th International Conference on System Engineering and Technology (pp. 46-52). ICSET. Bandung, Indonesia, 2016. Accessed on: 18.02.20.

Valdez J, Becker J. Understanding the I2C Bus. Texas Instrument 2015;SLVA704:1-7.

Soni D, Makwana A. A survey on mqtt: a protocol of internet of things(IoT). In International Conference on Telecommunication, Power Analysis and Computing Techniques (pp. 1-8). ICTPACT. Chennai, India, 2017.

OASIS. (October, 2014). MQTT Version 3.1.1. OASIS Standard. Available from Accessed on: 15.02.20.

Khanna P, Singh A. Google Android Operating System: A Review. International Journal of Computer Applications 2016;147(4):26-29.

Khawas C, Shah P. Application of Firebase in Android App Development-A Study. International Journal of Computer Applications 2018);179(46):49-53.

Emmadi SSR, Potluri S. Android based instant messaging application using firebase. International Journal of Recent Technology and Engineering 2019;7(5):352-55.

ECMA-404. (2013, October). The JSON Data Interchange Format. ECMA International. 1st Edition. 1-16. Available at Accessed on: 12.02.20.

Izquierdo SS, Izquierdo LR. Mamdani fuzzy systems for modelling and simulation: A critical assessment. JASSS 2018;21(3):1-18.

Izzuddin TA, Johari MA, Rashid MZA, Jali MH. Smart irrigation using fuzzy logic method. ARPN Journal of Engineering and Applied Sciences 2018;13(2):517-22.

Joelianto E, Sutrapradja H, Nganro N. Development of PID control system using fuzzy logic based on pH and EC control in NFT lettuce hydroponics. In Proceedings of the Instrumentation and Control System Seminar. (pp. 142-147). SIK 2003. Bandung, Indonesia, 2003.

Lee CC. Fuzzy Logic in Control Systems: Fuzzy Logic Controller-I. IEEE Transactions on Systems, Man, and Cybernatics 1990;20(2):404-18.

Lee CC. Fuzzy Logic in Control Systems: Fuzzy Logic Controller-II. IEEE Transactions on Systems, Man, and Cybernatics 1990;20(2):419-35.


  • There are currently no refbacks.