A Low-Cost IoT Device for Environmental Monitoring and Embedded Solar Forecasting with On-Device Incremental Learning

📅 2026-08-09
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
This study addresses the high cost and limited spatial resolution of professional weather stations for hyper-local solar forecasting by developing a low-cost IoT device integrated with embedded neural networks. We propose a hybrid architecture that decouples training from inference, enabling on-device incremental gradient descent and autonomous model adaptation on ESP32 microcontrollers without cloud dependency. Field deployment achieved zero data loss, yielding an R² of 0.9165 and a Mean Absolute Error of 4.65%, significantly outperforming climatological baselines. This work validates the efficacy of edge incremental learning in resource-constrained environments, providing a high-accuracy, cost-effective solution for distributed solar energy prediction.
📝 Abstract
Hyperlocal meteorological sensing is essential for accurate solar photovoltaic forecasting, yet professional-grade meteorological stations require investments easily exceeding 1000~USD per node, making distributed deployments economically inaccessible. This work presents a modular internet of things (IoT) device based on the ESP32 microcontroller integrating temperature, humidity, luminosity, and solar irradiance sensors in an IP68-rated enclosure at a total hardware costs of about \$65~USD when components are sourced in Germany. A hybrid architecture decouples external model training, performed on a conventional computer using the software Python and the open-source library TensorFlow, from autonomous 24-hour solar voltage forecasting executed on-device via a three-layer feedforward network with 3{,}011 parameters (11.8\,KB). The network is trained offline on site-collected data and deployed on the microcontroller as static weight matrices without cloud connectivity. An on-device incremental gradient descent mechanism enables continuous model adaptation after deployment without external retraining. The system was evaluated through two field deployments: a short period of hardware and firmware validation in Ulm, Germany, and a 115-day deployment in Zapopan, Mexico, comprising 84~days of training and 31~days of autonomous operation with zero missing records. Over a clean 28-day daytime window, the embedded model attained a coefficient of determination of 0.9165 and a mean absolute error of 0.2975~V (4.65\% of the operational range), outperforming a climatology baseline (skill score 0.64) while not surpassing a 24-hour persistence baseline. A frozen-weight ablation confirms that the on-device update mechanism yields a small but statistically robust accuracy gain ($p = 0.001$), demonstrating that autonomous incremental learning is feasible on low-cost hardware without cloud connectivity.
Problem

Research questions and friction points this paper is trying to address.

Solar Forecasting
Low-Cost IoT
On-Device Incremental Learning
Environmental Monitoring
Innovation

Methods, ideas, or system contributions that make the work stand out.

On-Device Incremental Learning
Embedded Solar Forecasting
Low-Cost IoT
Edge AI
ESP32
🔎 Similar Papers
No similar papers found.
💼 Related Jobs
No related jobs found.
E
Erick Michel Lara Pinal
Universidad Autónoma de Guadalajara
A
Abhinav Das
Ulm University
S
Stephan Schlüter
Ulm University of Applied Sciences