A Low-Cost IoT Device for Environmental Monitoring and Embedded Solar Forecasting with On-Device Incremental Learning
Erick Michel Lara Pinal, Abhinav Das, Stephan Schlüter
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.
Create a lesson
Related papers
From Multimode Near-Field Coupling to Friis
Mats Gustafsson
Distributed Sensing on a 110-kV Overhead-Line Maintenance Operation on an Operational Optical Ground Wire
Konstantinos Alexoudis, Torm Järvelill, Hendrik Johann Kerm et al.
Stable Filters for Generative Modeling of Graph Signals
Martin Schmidt, Gonzalo Mateos
Learning Array Signal Topologies as Conditional Neural Manifolds
Julian P. Merkofer, Vincent van de Schaft, Ruud J. G. van Sloun
QUBO Formulations of the Downlink MIMO Scheduling Problem in 5G Base Stations
Olli Apilo, Jorma Kilpi
Massive MIMO ISAC Under Target-Angle Uncertainty: CRLB Outage Analysis and Robust Resource Allocation
Smriti Uniyal, Tianyu Fang, Van-Dinh Nguyen et al.