Real-Time Weather Forecasting Using BME280 and STM32 Microcontroller
DOI:
https://doi.org/10.70112/ajcst-2025.14.1.4341Keywords:
Weather Monitoring, Forecasting System, BME280 Sensor, STM32 Microcontroller, Real-Time DataAbstract
Weather has a significant impact on human activities and important decisions, such as planning a trip, landing an airplane, and planting crops. These decisions are greatly aided by precise weather prediction and monitoring. This study presents the design and construction of a low-cost, mobile weather monitoring and forecasting system capable of gathering, reporting, and storing various meteorological parameters. The system was initially designed using Proteus software and implemented with a BME280 sensor, which measures environmental variables including altitude, wind speed, precipitation, temperature, pressure, humidity, and heat index. This sensor was integrated with an STM32-bit microcontroller that processes the weather parameters. A storage module was embedded to store data, while real-time weather conditions are displayed on an LCD screen. The system processes the weather information and displays the current weather conditions on the LCD. The corresponding data, stored in the embedded storage system, is collected and presented in this study. The results demonstrate the system's ability to accurately present real-time weather conditions based on sensor data. The constructed system is portable, cost-effective, and accurate in providing weather information across different locations.
References
[1] R. Mohd, M. A. Butt, and M. Z. Baba, “Comparative study of rainfall prediction modeling techniques (A case study on Srinagar, J&K, India),” Asian J. Comput. Sci. Technol., vol. 7, no. 3, pp. 13-19, Nov. 2018, doi: 10.51983/ajcst-2018.7.3.1901.
[2] P. Kapoor and F. A. Barbhuiya, “Cloud based weather station using IoT devices,” in Proc. IEEE Region 10 Conf. (TENCON), Kochi, India, 2019, pp. 2357-2362, doi: 10.1109/TENCON.2019.8929528.
[3] A. Munandar, H. Fakhrurroja, M. I. Rizqyawan, R. P. Pratama, J. W. Wibowo, and I. A. F. Anto, “Design of real-time weather monitoring system based on mobile application using automatic weather station,” in Proc. 2nd Int. Conf. Autom., Cognit. Sci., Opt., Micro Electro-Mech. Syst., Inf. Technol. (ICACOMIT), Jakarta, Indonesia, 2017, pp. 44-47, doi: 10.1109/ICACOMIT.2017.8253384.
[4] M. Kusriyanto and A. A. Putra, “Weather station design using IoT platform based on Arduino Mega,” in Proc. Int. Symp. Electron. Smart Devices (ISESD), 2018, pp. 1-4.
[5] R. Murugan, F. S. Thomas, G. GeethaShree, S. Glory, and A. Shilpa, “Linear regression approach to predict crop yield,” Asian J. Comput. Sci. Technol., vol. 9, no. 1, pp. 40-44, 2020, doi: 10.51983/ajcst-2020.9.1.2152.
[6] M. J. Alam, S. A. Rafi, A. A. Badhan, M. N. Islam, S. I. Shuvo, and A. M. Saleque, “Low cost IoT-based weather station for real-time monitoring,” in Proc. IEEE 2nd Int. Conf. Circuits Syst. (ICCS), Chengdu, China, 2020, pp. 127-133, doi: 10.1109/ICCS51219.2020.9336596.
[7] P. Kedia, “Localised weather monitoring system,” Int. J. Eng. Res. Gen. Sci., vol. 4, no. 2, pp. 315-322, 2016.
[8] K. E. Ukhurebor, “A cost-effective weather monitoring device,” Arch. Curr. Res. Int., vol. 7, no. 4, pp. 1-9, 2017.
[9] G. Verma, P. M., Farheen, and Shaista, “Real-time weather prediction system using IoT and machine learning,” in Proc. IEEE Conf., 2020, pp. 322-324.
[10] S. Shargunam and G. Rajakumar, “Predictive analysis on sensor data using distributed machine learning,” Asian J. Comput. Sci. Technol., vol. 11, no. 1, pp. 1-4, Apr. 2022, doi: 10.51983/ajcst-2022.11.1.3071.
[11] R. Antonio, P. Ponce, O. Mata, A. Molina, and A. Meier, “Local weather station design and development for cost-effective environmental monitoring and real-time data sharing,” Sensors, vol. 23, no. 22, p. 9060, 2023, doi: 10.3390/s23229060.
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2025 Centre for Research and Innovation

This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.