Development of an IoT-based Temperature Monitoring and Display System for Cocoa Bean Fermentation
Main Article Content
Abstract
Objectives: This study aimed to develop, implement, and evaluate a real-time temperature monitoring and display system for cocoa bean fermentation using Internet of Things (IoT) technology. The system was designed to address the limitations of traditional manual temperature measurement, which relies heavily on labor, provides low measurement frequency, and lacks continuous monitoring capability throughout the fermentation process. The goal was to create a practical and accurate solution appropriate for community-based cocoa producers seeking to improve process control and product quality.
Methods: The developed system consisted of nine DS18B20 temperature sensors installed at the geometric center of each fermentation bin. The sensors were connected to an ESP32 microcontroller, which transmitted data via Wi-Fi to an IoT platform for continuous recording and visualization at 15-minute intervals over a 7-day fermentation cycle. Field experiments were conducted at the “Kon Rak Cocoa” community enterprise in Nakhon Ratchasima Province. The accuracy of the IoT system was validated by comparing it with manual measurements, and the economic performance was assessed based on reductions in labor demand, operating costs, and overall payback period.
Results: The system successfully recorded temperature data continuously with an accuracy of ±0.5 °C and demonstrated strong agreement with traditional manual measurements (R² > 0.97). Temperature profiles indicated that the fermentation mass reached the optimal temperature range of 45–48 °C on days 4–6, aligning with previous studies on flavor precursor formation in cocoa fermentation. Economically, the system reduced labor requirements from three workers to occasional system supervision, resulting in annual savings of approximately 160,000 THB, a reduction in total production costs by about 10%, and a payback period of only 1.9 months. These findings demonstrate that the IoT-based system enhances measurement reliability, improves process control, reduces labor dependency, and offers strong potential for upgrading community-level cocoa fermentation through digital and smart-agriculture technologies.
Article Details

This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
References
Afoakwa, E. O., Paterson, A., Fowler, M., & Ryan, A. (2008). Flavor formation and character in cocoa and chocolate: A critical review. Critical Reviews in Food Science and Nutrition, 48(9), 840–857.
De Vuyst, L., Lefeber, T., Papalexandratou, Z., & Camu, N. (2010). The functional role of lactic acid bacteria in cocoa bean fermentation. In F. Mozzi, R. R. Raya, & G. M. Vignolo (Eds.), Biotechnology of lactic acid bacteria: Novel applications (pp. 301–325). Wiley-Blackwell.
Guzmán-Armenteros, T. M., Calva, M. C., & Vega-Sánchez, E. (2023). Monitoring cocoa bean fermentation parameters. Foods, 12(12), 2460.
Ho, V. T. T., Zhao, J., & Fleet, G. (2015). The effect of lactic acid bacteria on cocoa bean fermentation. International Journal of Food Microbiology, 205, 54–67.
Kongor, J. E., Hinneh, M., Van de Walle, D., Afoakwa, E. O., Boeckx, P., & Dewettinck, K. (2016). Factors influencing quality variation in cocoa (Theobroma cacao) bean flavour profile: A review. Food Research International, 82, 44–52.
Obinze, S., Ojimelukwe, P. C., & Eke, B. A. (2022). Box fermentation and solar drying improve the nutrient composition and organoleptic quality of chocolate from cocoa beans. Frontiers in Sustainable Food Systems, 6, Article 1023123.
Owusu, M., Petersen, M. A., & Heimdal, H. (2012). Effect of fermentation method, roasting and conching conditions on the aroma volatiles of dark chocolate. Journal of Food Process and Preservation, 36(5), 446–456.
Rodriguez-Campos, J., Escalona-Buendía, H. B., Contreras-Ramos, S. M., Orozco-Avila, I., Jaramillo-Flores, M. E., & Lugo-Cervantes, E. (2012). Effect of fermentation time and drying temperature on volatile compounds in cocoa. Food Chemistry, 132(1), 277–288.
Saguidon, J. R., & Dellosa, J., & Mendoza, R. N. (2024). Internet-of-Things (IoT)–based automated temperature monitoring and control system for enhanced cacao fermentation quality. In Proceedings of the 2024 6th International Conference on Electrical, Control and Instrumentation Engineering (ICECIE) (pp. 1–6). IEEE.
Saltini, R., Akkerman, R., & Frosch, S. (2013). Optimizing chocolate production through traceability: A review of the influence of farming practices on cocoa bean quality. Food Control, 29(1), 167–187.
Torres-Moreno, M., Torrescasana, E., Salas-Salvadó, J., & Blanch, C. (2015). Nutritional composition and fatty acids profile in cocoa beans and chocolates with different geographical origin and processing conditions. Food Chemistry, 166, 125–132.
Tzounis, A., Katsoulas, N., Bartzanas, T., & Kittas, C. (2017). Internet of Things in agriculture: Recent advances and future challenges. Biosystems Engineering, 164, 31–48.