Automated IoT-Based Mushroom Greenhouse Control System for Real-Time Environmental Management via Blynk Application
Main Article Content
Abstract
This research presents the development of an automated, IoT-based mushroom greenhouse control system for real-time environmental management, implemented
using the Blynk application. The proposed system integrates SHT30 temperature and humidity sensors with an ESP32 microcontroller to continuously monitor environmental conditions and automatically control water misting in mushroom cultivation houses year-round. Real-time data are transmitted to a cloud platform, enabling remote monitoring and both automatic and manual control via a mobile application.
Experimental results show that the system effectively maintains environmental conditions close to the optimal range for mushroom growth, with temperatures between 24.0-29.0 °C and relative humidity levels of 64-76%RH under normal conditions. The system demonstrates reliable adaptive operation by dynamically switching between Automatic Mode and Timer Mode under unfavorable weather conditions, such as rainfall or low temperatures, achieving 100% operational reliability. Sensor performance analysis indicates high measurement consistency, with coefficients of variation below 10% across all test scenarios.
The proposed system reduces manual labor by approximately 70% while improving the precision of humidity control, maintaining it within ±5% RH, and leading to more consistent cultivation performance. This research contributes to sustainable smart farming by providing a low-cost, scalable, and energy-efficient solution for adaptive management of mushroom greenhouses.
Article Details

This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
เนื้อหาข้อมูล
References
P. Katepan, R. Dokmaithes, T. Mekhora, and T. Srithawan, “Cost and return analysis on jew’s ear mushroom growing of large farmers association in Bang Phae District, Ratchaburi Province,” J. Manag. Sci. Nakhon Pathom Rajabhat Univ., vol. 8, no. 2, pp. 111-124, Dec. 2021, https://doi.org/10.14456/jmsnpru.2021.35
W. Suksawang, S. Dumnil, A. Wannakayont, and N. Lonkunthosh, “Development of a mushroom house with a combination of technology,” J. MCU Nakhondhat, vol. 9, no. 11, pp. 181-195, Nov. 2022.
W. Phongngen, S. Petchhan, and R. Yajo, “Application with the internet of things technology control in smart farms mushroom,” Appl. IoT Technol. Control Smart Farms Mushroom, vol. 5, no. 1, pp. 172-182, May 2018.
Thai Meteorological Department, Climate Center, Meteorological Development Division, “Weather conditions in Thailand 2023,” Bangkok, Thailand, Jan. 2024.
P. Chant-aon and Y. Borisutdhi, “Agricultural entrepreneurship: The challenge occupation for new generations; X, Y and Z Generations,” J. Greater Mekhong Subreg. Res. Dev., vol. 1, no. 1, pp. 82-98, Apr. 2022.
S. Sajit, C. Srison, S. Phoiem, W. Philuek, and R. Chalongsuppunyoo, “The development of humidity and temperature control system in fairy mushroom cultivation house banphotphisai phitthayakhom school with a smartphone system,” EAI Journal, vol. 2, no. 2, pp. 39-49, Dec. 2022.
B. Khammon and W. Sanchana, “A prototype of home lighting control system with Blynk Application,” J. Acad. Inf. Technol., vol. 5, no. 1, pp. 71-80, Jun. 2024.
K. T. Tun, H. M. Oo, and C. T. Nwe, “Automatic plant watering system using Arduino,” Int. J. Creat. Innov. Res. All Stud., vol. 2, no. 3, pp. 178-186, Jul. 2019.
M. Mediawan, M. Yusro, and J. Bintoro, “Automatic watering system in plant house using Arduino,” IOP Conf. Ser.: Mater. Sci. Eng., vol. 434, no. 012220, Dec. 2018.
P. S. Bains, R. K. Jindal, and H. K. Channi, “Modeling and designing of automatic plant watering system using Arduino,” Int. J. Sci. Res. Sci. Technol., vol. 7, no. 3, pp. 676-680, Dec. 2017, https://doi.org/10.13140/RG.2.2.12722.09922
J. Kumar, N. Gupta, A. Kumari, and S. Kumari, “Automatic plant watering and monitoring system using NodeMCU,” in Proc. 9th Int. Conf. Cloud Comput., Data Sci. Eng. (Confluence), 2019, pp. 545-550.
K. Wongwut, C. Chaisermvong, and D. Angamnuaysiri, “The development of smart farming system for sea lettuce cultured process,” Int. Sci. J. Eng. Technol. (ISJET), vol. 8, no. 2, pp. 47-53, Dec. 2024.
K. Thapwiroch, A. Kumlue, N. Saoyong, P. Taprasan, and S. Puengsungewan, “Easy- Mushroom Mobile Application Using the Internet of Things (IoT),” Indones. J. Educ. Res. Technol., vol. 1, no. 1, pp. 1-6, Mar. 2021.
S. K. Nagothu, O. P. Kumar, and G. Anitha, “Weather based Smart watering system using soil sensor and GSM,” in Proc. Int. Conf. Eco-Friendly Comput. Commun. Syst., 2014, pp. 261-265, https://doi.org/10.1109/Eco-friendly.2014.60
R. A. R. Siregar et al., “Automatic watering systems in vertical farming using the Adaline algorithm,” in Proc. Int. Seminar of Science and Applied Technology (ISSAT 2020), 2020, pp. 429-435, https://doi.org/10.2991/aer.k.201221.070
S. Bhardwaj, S. Dhir, and M. Hooda, “Automatic plant watering system using IoT,” in Proc. 2nd Int. Conf. Green Comput. Internet Things (ICGCIoT), 2018, pp. 659-663.
W. Wongthai, S. Chanmee, and S. Lohawet, “An enhancement of an automatic plant watering system,” in Proc. 22nd Int. Comput. Sci. Eng. Conf. (ICSEC), 2018, pp. 1-4.
G. Eragamreddy and K. R. Sree, “Solar powered auto watering system for irrigation using embedded controller,” in Proc. Int. Conf. Energy, Commun., Data Anal. Soft Comput. (ICECDS), 2017, pp. 2424-2428.
M. Ojha, S. Mohite, S. Kathole, and D. Tarware, “Microcontroller-based automatic plant watering system,” Int. J. Comput. Sci. Eng. (IJCSE), vol. 5, no. 3, pp. 25-36, Apr. 2016.
D. Divani, P. Patil, and S. K. Punjabi, “Automated plant watering system,” in Proc. Int. Conf. Comput. Power, Energy Inf. Commun. (ICCPEIC), Apr. 2016, pp. 180-182.
M. Suresh et al., “Monitoring and Automatic Control of various Parameters for Mushroom Farming,” IOP Conf Ser Mater Sci Eng., vol. 1055, no. 1, p. 012011, Feb. 2021.
J. Jongpluempiti, P. Vengsungnle, S. Prapakarn, N. Pannucharoenwong, and P. Punnok, “Supervisory control for wireless automatic environment control in oyster mushroom house,” FEAT J. Farm Eng. Autom. Technol., vol. 6, no. 1, pp. 40-49, Jan. 2020.
P. Isaranontakul and C. Rukphong, “The Android Application of control fog watering Indian Oyster Mushroom,” J. Inf. Sci. Technol., vol. 9, no. 1, pp. 1-8, Jan. 2019, https://doi.org/10.14456/jist.2019.1
K. -W. Lee, J. -O. Jeon, K. -J. Lee, Y. -H. Kim, C. -J. Lee, and M. -J. Jang, “Analysis of growth environment of Flammulina velutipes using the smart farm cultivation technology,” J. Mushrooms, vol. 17, no. 4, pp. 197-204, Dec. 2019, https://doi.org/10.14480/JM.2019.17.4.197
T. Sornnen, N. Sukla, P. Luekajorn, and K. Daoden, “Developing Android applications with MIT App Inventor for smart mushroom farm systems,” Technol. Innov. URU J., vol. 4, no. 2, pp. 15-23, Dec. 2021.
J. L. Chong, K. W. Chew, A. P. Peter, H. Y. Ting, and P. L. Show, “Internet of Things (IoT)-based environmental monitoring and control system for home-based mushroom cultivation,” Biosensors, vol. 13, no. 1, pp. 1-24, Jan. 2023, https://doi.org/10.3390/bios13010098
Y. Surige et al., “IoT-based monitoring system for oyster mushroom farms in Sri Lanka,” Int. J. Res. Comput. (JIRC), vol. 1, no. 1, Jan. 2022, https//doi.org/10.1109/ICAC54203.2021.9671112
D. A. Setiawati, S. G. Utomo, Murad, and G. M. D. Putra, “Design of temperature and humidity control system on oyster mushroom plant house based on IoT,” IOP Conf. Ser.: Earth Environ. Sci., vol. 712, no. 1, Apr. 2021, https://doi. org/10.1088/1755-1315/712/1/012002
A. A. Shakir et al., “Design and implementation of SENSEPACK: An IoT-based mushroom cultivation monitoring system,” in Proc. Int. Conf. Electr., Comput. Commun. Eng. (ECCE), Apr. 2019, https://doi.org/10.1109/ECACE.2019.8679183
J. Islam et al., “Design and development of microcontrollerbased wireless humidity monitor,” IOSR J. Electr. Electron. Eng. (IOSR-JEEE), vol. 13, no. 2, pp. 41-46, Mar. 2018, https://url.in.th/TmvKf
S. Kamonkunanon et al., “The development of factor control of production process for cool group of mushrooms in smart farm using Internet of Things technology,” Life Sci. Environ. J., vol. 24, no. 1, pp. 1-13, Jan. 2023.
A. Marzuki and S. Y. Ying, “Environmental monitoring and controlling system for mushroom farm with online interface,” Int. J. Comput. Sci. Inf. Technol., vol. 9, no. 4, pp. 17-28, Aug. 2017.
I. S. P. Pratama and M. Z. Agung, “Temperature and humidity control system with long range in mushroom barn using fuzzy logic,” J. Teknol. Inf. Pendidik., vol. 16, no. 2, pp. 93-102, Jun. 2023,
A. D. Fakhrudin, N. F. A. Hakim, A. H. S. Budi, “Implementasi Protokol TCP dan UDP pada Sistem Monitoring dan Otomasi Rumah Jamur Berorientasi WSN,” TELKA, vol. 9, no. 2, pp. 130-144, Jun. 2023.
G. Panumonwatee, S. Suwitthayaporn, P. Kamnimnual, and N. Thainthong, “The Application of Internet of Things (IoT) technology using MQTT for hydroponic gardening management: An approach to autonomous farming,” Sci. Technol. Nakhon Sawan Rajabhat Univ. J., vol. 15, no. 1, pp. 27-41, Jan. 2023.
S. Velliangiri, R. Sekar, and P. Anbhazhagan, “Using MLPA for smart mushroom farm monitoring system based on IoT,” Int. J. Netw. Virtual Organ, vol. 22, no. 4, pp. 334-347, Jan. 2020.
K. Bunluewong and O. Surinta, “Semi-automated mushroom cultivation house using Internet of Things,” Eng. Access, vol. 7, no. 2, pp. 181-188, Jul. 2021, https://doi.org/10.14456/mijet.2021.24
S. Singh, S. Anand, Simran, and S. S. J., “Smart mushroom cultivation using IoT,” Int. J. Eng. Res. Technol. (IJERT), vol. 8, no. 11, pp. 247-251, Nov. 2020.
A. Subedi, A. Luitel, M. Baskota, and T. D. Acharya, “IoT-based monitoring system for white button mushroom farming,” in Proc. MDPI, Jan. 2020, pp. 1-6.
M. A. Mohd Ariffin et al., “Automatic climate control for mushroom cultivation using IoT approach,” in Proc. IEEE 10th Int. Conf. Syst. Eng. Technol. (ICSET), 2020, pp. 123-128.
S. Chantamunee et al., “IoT for smart farm: A case study of the Lingzhi mushroom farm at Maejo University,” in Proc. Int. Joint Conf. Comput. Sci. Softw. Eng. (JCSSE), Nakhon Si Thammarat, Thailand, Sep. 2017.
C. Thirawanutpong and P. Yuttana, “Smart control in mushroom farms using internet of things and solar technology,” J. Ind. Technol. Thepsatri Rajabhat Univ., vol. 15, no. 2, pp. 102-111, Jul. 2020.
H. Rahman et al., “IoT enabled mushroom farm automation with Machine Learning to classify toxic mushrooms in Bangladesh,” J Agric Food Res, vol. 7, Mar. 2022.
E. Rohadi et al., “The design and evaluation of an automatic watering system using fuzzy Mamdani,” J. Phys.: Conf. Ser., vol. 1402, no. 2, no. 022088, Dec. 2019. https:iopscience. iop/article/10.1088/1742-6596/1402/2/022088
E. Boonchieng, O. Chieochan, and A. Saokaew, “Smart farm: Applying NodeMCU, IoT, NETPIE and LINE API for a Lingzhi mushroom farm in Thailand,” IEICE Trans. Commun., vol. E101-B, no. 1, pp. 16-23, Jan. 2018.
F. Masykur, A. Prasetyo, I. Widaningrum, A. F. Cobantoro, and M. B. Setyawan, “Application of MQTT protocol in the Internet of Things to monitor mushroom cultivation,” in Proc. 7th Int. Conf. Inf. Technol., Comput., Electr. Eng. (ICITACEE), Sep. 2020, pp. 135-139.
P. Khlaichom et al., “The development of automatic environmental control systems for straw mushroom farms based on Internet of Things,” Technol. Innov. URU J., vol. 5, no. 1, pp. 25-39, Jan. 2022.
H. T. Hoa and C.-L. Wang, “The Effects of Temperature and Nutritional Conditions on Mycelium Growth of Two Oyster Mushrooms (Pleurotus ostreatus and Pleurotus cystidiosus),” Mycobiology, vol. 43, no. 1, pp. 14-23, Mar. 2015, https://doi.org/10.5941/MYCO.2015.43.1.14
E. Dawadi, P. B. Magar, S. Bhandari, S. Subedi, S. Shrestha, and J. Shrestha, “Nutritional and post-harvest quality preservation of mushrooms: A review,” Heliyon, vol. 8, no. 12, Art. no. e12093, Dec. 2022, https://doi.org/10.1016/j.heliyon.2022.e12093
Wajiran et al., “Control and real-time monitoring system for mushroom cultivation fields based on WSN and IoT,” Journal of Physics: Conference Series, vol. 1655, no. 1, Nov. 2020, https://doi.org/10.1088/1742-6596/1655/1/012003