Home / Regular Issue / JST Vol. 29 (4) Oct. 2021 / JST-2634-2021

 

Enhanced IoT-Based Climate Control for Oyster Mushroom Cultivation Using Fuzzy Logic Approach and NodeMCU Microcontroller

Muhammad Azizi Mohd Ariffin, Muhammad Izzad Ramli, Zarina Zainol, Mohd Nazrul Mohd Amin, Marina Ismail, Rosanita Adnan, Nor Diana Ahmad, Norhasiah Husain and Nursuriati Jamil

Pertanika Journal of Science & Technology, Volume 29, Issue 4, October 2021

DOI: https://doi.org/10.47836/pjst.29.4.34

Keywords: undefined

Published on: 29 October 2021

Urban farming has the potential to utilise unused space in the community to alleviate food shortages and increase the community’s income through local food production. When Internet of Things (IoT) technology is integrated with urban farming, it can further improve its efficiencies and yield. The work in this paper improved our previous work of using an IoT-based climate control system to regulate the cultivation environment of oyster mushrooms automatically. Even though the climate control system could produce two batches of mushroom yields, there were several limitations, such as less efficient climate control due to threshold-based corrective action, water wastage, and system instability. This paper aims to address these stated limitations by implementing a fuzzy logic algorithm and redesigned the climate control system. Two crisp input variables from DHT22 sensors representing temperature and humidity were fed into the Node MCU microcontroller’s fuzzy logic coded in C language. The temperature and humidity conditions were divided into five fuzzy trapezoidal membership functions resulting in 25 fuzzy rules to control the duration of running the water pump and ventilation fan. An internal, lightweight web server were managed all HTTP client requests. The enhanced system also included a safety measurement to avoid overheating the microcontroller and causing water wastage. Upon analysis of the data captured in two months, the result showed a decrease of 40% in water utilisation and an increase of mushrooms yield up to 226%. The enhanced climate control system also facilitated maintaining and controlling the temperature and humidity conducive for optimal mushroom cultivation.

  • Adenugba, F., Misra, S., Maskeliūnas, R., Damaševičius, R., & Kazanavičius, E. (2019). Smart irrigation system for environmental sustainability in Africa: An internet of everything (IoE) approach. Mathematical Biosciences and Engineering, 16(5), 5490-5503. https://doi.org/10.3934/mbe.2019273

  • Adhitya, R. Y., Ramadhan, M. A., Kautsar, S., Rinanto, N., Sarena, S. T., Munadhif, I., Syai’In, M., Soelistijono, R. T., & Soeprijanto, A. (2017). Comparison methods of fuzzy logic control and feed forward neural network in automatic operating temperature and humidity control system (Oyster mushroom farm house) using microcontroller. In 2016 International Symposium on Electronics and Smart Devices (ISESD) (pp. 168-173). IEEE Publishing. https://doi.org/10.1109/ISESD.2016.7886713

  • Algarín, C. R., Cabarcas, J. C., & Llanos, A. P. (2017). Low-cost fuzzy logic control for greenhouse environments with web monitoring. Electronics, 6(4), Article 71. https://doi.org/10.3390/electronics6040071

  • Alpay, Ö., & Erdem, E. (2018). The control of greenhouses based on fuzzy logic using wireless sensor networks. International Journal of Computational Intelligence Systems, 12(1), 190-203. https://doi.org/10.2991/ijcis.2018.125905641

  • Al-Saidi, M., & Elagib, N. A. (2017). Towards understanding the integrative approach of the water, energy and food nexus. In Science of the Total Environment (Vol. 574, pp. 1131-1139). Elsevier. https://doi.org/10.1016/j.scitotenv.2016.09.046

  • Ariffin, M. A. M., Ramli, M. I., Amin, M. N. M., Ismail, M., Zainol, Z., Ahmad, N. D., & Jamil, N. (2020). Automatic climate control for mushroom cultivation using IoT approach. In 2020 IEEE 10th International Conference on System Engineering and Technology (ICSET) (pp. 123-128). IEEE Publishing. https://doi.org/10.1109/ICSET51301.2020.9265383

  • Boonchieng, E., Chieochan, O., & Saokaew, A. (2018). Smart farm: Applying the use of NodeMCU, IOT, NETPIE and LINE API for a Lingzhi mushroom farm in Thailand. IEICE Transactions on Communications, E101B(1), 16-23. https://doi.org/10.1587/transcom.2017ITI0002

  • Chieochan, O., Saokaew, A., & Boonchieng, E. (2017). IOT for smart farm: A case study of the Lingzhi mushroom farm at Maejo University. In 2017 14th International Joint Conference on Computer Science and Software Engineering (JCSSE) (pp. 1-6). IEEE Publishing. https://doi.org/10.1109/JCSSE.2017.8025904

  • CircuitSchools Staff. (2020). DHT22 temperature and humidity sensor. Retrieved June 29, 2021, from https://www.circuitschools.com/dht22-temperature-and-humidity-sensor/

  • Climate-Data.org. (2021). Kuala Lumpur climate: Average temperature, weather by month, Kuala Lumpur weather averages. Retrieved February 28, 2021, from https://en.climate-data.org/asia/malaysia/kuala-lumpur/kuala-lumpur-715107/#climate-graph

  • Cruz-Del Amen, J. D., & Villaverde, J. F. (2019). Fuzzy logic-based controlled environment for the production of oyster mushroom. In 2019 IEEE 11th International Conference on Humanoid, Nanotechnology, Information Technology, Communication and Control, Environment, and Management (HNICEM) (pp. 1-5). IEEE Publishing. https://doi.org/10.1109/HNICEM48295.2019.9072902

  • Hamidizade, M., Taghavi, S. M., Martins, S. J., Herschlag, R. A., Hockett, K. L., Bull, C. T., & Osdaghi, E. (2020). Bacterial brown pit, a new disease of edible mushrooms caused by mycetocola sp. Plant Disease, 104(5), 1445-1454. https://doi.org/10.1094/PDIS-10-19-2176-RE

  • Hendrawan, Y., Anta, D. K., Ahmad, A. M., & Sutan, S. M. (2019). Development of fuzzy control systems in portable cultivation chambers to improve the quality of oyster mushrooms. IOP Conference Series: Materials Science and Engineering, 546(3), Article 032013. https://doi.org/10.1088/1757-899X/546/3/032013

  • Ibrahim, N. H. N., Brahim, A. R., Mat, I., Harun, A. N., & Witjaksono, G. (2018). IR 4.0 using IoT and LORAWAN to accelerate Lentinula Edodes growth. In 2018 2nd International Conference on Smart Sensors and Application (ICSSA) (pp. 28-32). IEEE Publishing. https://doi.org/10.1109/ICSSA.2018.8535954

  • Kashyap, M., Sharma, V., & Gupta, N. (2018). Taking MQTT and NodeMcu to IOT: Communication in internet of things. Procedia Computer Science, 132, 1611-1618. https://doi.org/10.1016/j.procs.2018.05.126

  • Kassim, M. R. M., Mat, I., & Yusoff, I. M. (2019). Applications of internet of things in mushroom farm management. In 2019 13th International Conference on Sensing Technology (ICST) (pp. 1-6). IEEE Publishing. https://doi.org/10.1109/ICST46873.2019.9047702

  • Krishnan, R. S., Julie, E. G., Robinson, Y. H., Raja, S., Kumar, R., Thong, P. H., & Son, L. H. (2020). Fuzzy logic based Smart Irrigation System using Internet of Things. Journal of Cleaner Production, 252, Article 119902. https://doi.org/10.1016/j.jclepro.2019.119902

  • Li, S., Ding, X., Kuang, Q., Ata-UI-Karim, S. T., Cheng, T., Liu, X., Tian, Y., Zhu, Y., Cao, W., & Cao, Q. (2018). Potential of UAV-based active sensing for monitoring rice leaf nitrogen status. Frontiers in Plant Science, 9, Article 1834. https://doi.org/10.3389/fpls.2018.01834

  • Mat, I., Kassim, M. R. K., Harun, A. N., & Yusoff, I. M. (2019). Smart agriculture using internet of things. In 2018 IEEE conference on open systems (ICOS) (pp. 54-59). IEEE Publishing. https://doi.org/10.1109/ICOS.2018.8632817

  • Najmurrokhman, A., Kusnandar, Daelami, A., Nurlina, E., Komarudin, U., & Ridhatama, H. (2020). Development of temperature and humidity control system in Internet-of-Things based oyster mushroom cultivation. In 2020 3rd International Seminar on Research of Information Technology and Intelligent Systems (ISRITI) (pp. 551-555). IEEE Publishing. https://doi.org/10.1109/ISRITI51436.2020.9315426

  • Navarro, E., Costa, N., & Pereira, A. (2020). A systematic review of IoT solutions for smart farming. Sensors, 20(15), Article 4231. https://doi.org/10.3390/s20154231

  • Nongthombam, J., Kumar, A., Ladli, B., Madhushekhar, M., & Patidar, S. (2021). A review on study of growth and cultivation of oyster mushroom. Plant Cell Biotechnology and Molecular Biology, 22(5&6), 55-65.

  • Poulsen, M. N., Neff, R. A., & Winch, P. J. (2017). The multifunctionality of urban farming: Perceived benefits for neighbourhood improvement. Local Environment, 22(11), 1411-1427. https://doi.org/10.1080/13549839.2017.1357686

  • Revathi, S., & Sivakumaran, N. (2016). Fuzzy based temperature control of greenhouse. IFAC-PapersOnLine, 49(1), 549-554. https://doi.org/10.1016/j.ifacol.2016.03.112

  • Saw S. H. (2007). The population of Peninsular Malaysia. Institute of Southeast Asian Studies.

  • Shakir, A. A., Hakim, F., Rasheduzzaman, M., Chakraborty, S., Ahmed, T. U., & Hossain, S. (2019). Design and implementation of SENSEP ACK: An IoT based mushroom cultivation monitoring system. In 2019 International Conference on Electrical, Computer and Communication Engineering (ECCE) (pp. 1-6). IEEE Publishing. https://doi.org/10.1109/ECACE.2019.8679183

  • Tang, K. H. D. (2019). Climate change in Malaysia: Trends, contributors, impacts, mitigation and adaptations. In Science of the Total Environment (Vol. 650, pp. 1858-1871). Elsevier. https://doi.org/10.1016/j.scitotenv.2018.09.316

  • Wahab, H. A., Manap. M. Z. I. A., Ismail, A. E., Ong, P., Ismon, M., Zainulabidin, M. H., Noor, F. M., & Mohamad, Z. (2019). Investigation of temperature and humidity control system for mushroom house. International Journal of Integrated Engineering, 11(6), 27-37. https://doi.org/10.30880/ijie.2019.11.06.004

  • Wong, C. L., Liew, J., Yusop, Z., Ismail, T., Venneker, R., & Uhlenbrook, S. (2016). Rainfall characteristics and regionalization in Peninsular Malaysia based on a high resolution gridded data set. Water, 8(11), Article 500. https://doi.org/10.3390/w8110500

  • Xia, J., Yang, Y., Cao, H., Zhang, W., Xu, L., Wang, Q., Ke, Y., Zhang, W., Ge, D., & Huang, B. (2018). Hyperspectral identification and classification of oilseed rape waterlogging stress levels using parallel computing. IEEE Access, 6, 57663-57675. https://doi.org/10.1109/ACCESS.2018.2873689

ISSN 0128-7680

e-ISSN 2231-8526

Article ID

JST-2634-2021

Download Full Article PDF

Share this article

Recent Articles