The accurate measurement of solar radiation is essential for applications in agriculture, renewable energy, and environmental monitoring. Traditional pyranometers provide high-precision readings but are often costly and inaccessible for large-scale deployment. This study explores the feasibility of using low-cost ambient light sensors combined with statistical and machine learning models based on linear, random forest, and support vector regressions to estimate solar irradiance. To achieve this, an Internet of Things-based system was developed, integrating the light sensors with cloud storage and processing capabilities. A dedicated solar radiation sensor (Davis 6450) served as a reference, and results were validated against meteorological API data. Experimental validation demonstrated a strong correlation between sensor-measured illuminance and solar irradiance using the random forest model, achieving a coefficient of determination (R2) of 0.9922, a root mean squared error (RMSE) of 44.46 W/m2, and a mean absolute error (MAE) of 27.12 W/m2. These results suggest that low-cost light sensors, when combined with data-driven models, offer a viable and scalable solution for solar radiation monitoring, particularly in resource-limited regions.
Due to changing weather conditions, productivity needs to be enhanced and resources must be used more efficiently in agriculture. Precision agriculture relies on systems that can gather real-time environmental data to address these issues. However, the high cost of commercial weather stations often limits their adoption in rural areas. This study introduces a low-cost weather station designed for precision agriculture applications. The system consists of three main modules. The first module is the weather station, which gathers data on temperature, relative humidity, barometric pressure, solar radiation, wind speed and direction, and precipitation. It then transmits this data via LoRa communication to the local console module. This console receives the data, displays it on a screen, and sends it through Wi-Fi to the cloud server module. The cloud server presents the information via an interactive interface and is responsible for storing, processing, and analyzing the data records collected. The system was installed in the municipality of Ojocaliente, Zacatecas, Mexico, where performance and validation tests were conducted over a one-month period using sensors and reference measurements to evaluate the accuracy and stability of the data. The results showed high operational reliability and a strong correlation between the recorded values and the reference data. This confirms that the proposed solution provides a scalable, low-cost, and reliable alternative for environmental monitoring in precision agriculture.