Submitted:
10 June 2026
Posted:
11 June 2026
You are already at the latest version
Abstract
Keywords:
1. Introduction
2. Hardware Description
- Processing unit: Raspberry Pi Zero 2W with a 1GHz quad-core CPU, selected for its balance between processing power and low power consumption (2.5–3.0W).
- Sensing system: AS7331 UV sensor for three-band spectral measurement and temperature sensing, Ublox NEO-6M GPS module for geolocation, and DS3231 RTC module for precise timing.
- Actuation mechanism: Two LDX-227 digital servomotors with metal gears and a modified 270° range, providing sufficient torque (15 kg·cm to 17 kg·cm depending on the supply voltage) for operation in moderate wind conditions.
- Power supply system: Solar panel, LM2596 and MP1584EN regulators in a cascade configuration (Solar panel → Battery) and (Battery → System)
- : is the zenith angle
- : observer’s latitude
- : solar declination
- : hour angle
- : solar time
- Summer solstice (December): Azimuth: –, Maximum altitude:
- Winter solstice (June): Azimuth: –, Maximum altitude:
- Total range required: Azimuth: , Altitude:
3. Construction Instructions
3.1. Mechanical Assembly
3.2. Electrical Installation
3.2.1. Power Supply System
3.2.2. Communication System
3.3. Software Configuration
- > sudo raspi-config
- > pip install pigpio astral pyserial adafruit-blinka iorodeo-as7331
- > sudo pigpiod
3.4. Automatic System Execution
- > sudo nano /etc/systemd/system/myscript.service
- > sudo systemctl daemon-reload
- > sudo systemctl enable myscript.service
3.5. Operating and Startup Instructions
3.5.1. System Startup
3.5.2. Normal Operation
4. Results
4.1. Ultraviolet Radiation (UVA, UVB, UVC)
4.2. Measured Temperature
4.3. Solar Tracking: Azimuth and Elevation
4.4. Comparison with Different Positioning Sources
| Percentage Error | NREL SPA | NOAA | Stellarium |
|---|---|---|---|
| Error for Azimut point 1 | |||
| Error for Azimut point 2 | |||
| Error for Azimut point 3 | |||
| Error for Elevation point 1 | |||
| Error for Elevation point 2 | |||
| Error for Elevation point 3 |
5. Discussion
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Acknowledgments
Conflicts of Interest
References
- Conde, L.A.; et al. Evaluación del rendimiento y caracterización de diferentes tecnologías fotovoltaicas en las condiciones climáticas costeras y desérticas de Lima, Perú. Proceedings of the ISES Solar World Congress 2019 and the IEA SHC International Conference on Solar Heating and Cooling for Buildings and Industry 2019 2020, 773–783.
- Sucharitha, P.; et al. Review and implementation of a sun position tracker with two-axis control. IOP Conference Series: Materials Science and Engineering 2020, 981(4), 042073.
- Hernández Velázquez, J. Diseño y construcción de un seguidor solar para aplicaciones en solarimetría. Revista Iberoamericana de Producción Académica y Gestión Educativa 2018.
- Calderón Naranjo, C.P. Diseño y simulación de un seguidor solar para mejorar el rendimiento de paneles solares portátiles; Tesis de pregrado, Universidad Politécnica Salesiana: Cuenca, Ecuador, 2024.
- Cazani Ramos, A.A.; Nieto Nieto, P.M. Diseño de un sistema fotovoltaico de 200W con seguimiento solar de dos ejes para maximizar la eficiencia energética; Tesis de pregrado, Universidad Peruana de Ciencias Aplicadas: Lima, Perú, 2024.
- Muñoz Castro, J.D. Sistema autónomo de seguimiento solar asociado a un GPS; Tesis de pregrado, Benemérita Universidad Autónoma de Puebla: Puebla, México, 2024.
- Blanco-Muriel, M.; et al. Computing the solar vector. Solar Energy 2001, 70(5), 431–441. [CrossRef]
- Gualoto Cachago, J.A.; Potosí Díaz, R.A. Desarrollo de un seguidor solar automatizado usando un sistema embebido y algoritmo de posicionamiento solar (SPA); Universidad Politécnica Salesiana, 2022.
- Stinia, H.; et al. The Light-On Project: Design and construction of a solar tracking system through image processing. IOP Conference Series: Earth and Environmental Science 2021, 642(1), 012009.
- Suryanto, A.; et al. Two-axis solar tracking system based on Raspberry Pi images. IOP Conference Series: Earth and Environmental Science 2021, 700(1), 012016.
- Catota Sánchez, A.V.; Simbaña Simbaña, J.E. Diseño de un colector térmico mediante concentración parabólica de seguimiento solar en dos ejes; Tesis de pregrado, Universidad Politécnica Salesiana: Quito, Ecuador, 2020.
- Reda, I.; Andreas, A. Solar position algorithm for solar radiation applications. Solar Energy 2004, 76(5), 577–589. [CrossRef]
- Kalogirou, S.A. Solar Energy Engineering: Processes and Systems, 2nd ed.; Academic Press, 2014.
- Alfaro Lozano, L.; Llacza Rodríguez, A.; Sánchez Ccoyllo, O. Pronóstico con cobertura nacional del índice de radiación solar ultravioleta; Nota Técnica N.° 002-2016; Servicio Nacional de Meteorología e Hidrología del Perú (SENAMHI): Lima, Perú, 2016.
- ams-OSRAM. AS7331: UV-A/B/C Spectral Sensor Datasheet; 2022.
- Reda, I.; Andreas, A. Solar Position Algorithm for Solar Radiation Applications; NREL/TP-560-34302; National Renewable Energy Laboratory, 2008.
- Meeus, J. Astronomical Algorithms; Willmann-Bell, 1991.
- Iqbal, M. An Introduction to Solar Radiation; Academic Press, 2012.
- Duffie, J.A.; Beckman, W.A. Solar Engineering of Thermal Processes, 4th ed.; John Wiley & Sons, 2013. [CrossRef]
- Lorenzo, E. Energy collected and delivered by PV modules. In Handbook of Photovoltaic Science and Engineering; Wiley, 2011; pp. 905–970.
- Kasten, F.; Young, A.T. Revised optical air mass tables and approximation formula. Applied Optics 1989, 28(22), 4735–4738. [CrossRef]
- Gueymard, C.A. The sun’s total and spectral irradiance for solar energy applications and solar radiation models. Solar Energy 2004, 76(4), 423–453. [CrossRef]
- Michalsky, J.J. The astronomical almanac’s algorithm for approximate solar position (1950–2050). Solar Energy 1988, 40(3), 227–235. [CrossRef]
- Blanco-Muriel, M.; Alarcón-Padilla, D.C.; López-Moratalla, T.; Lara-Coira, M. Computing the solar vector. Solar Energy 2001, 70(5), 431–441. [CrossRef]
- Sengupta, M.; Habte, A.; Gueymard, C.; Wilbert, S.; Renné, D. Best Practices Handbook for the Collection and Use of Solar Resource Data for Solar Energy Applications; NREL/TP-5D00-68886; National Renewable Energy Laboratory, 2017.
- García Cueto, O.R. Análisis de la variación diurna de la temperatura del aire y su relación con la radiación solar; Tesis de maestría, Universidad Nacional Autónoma de México: Ciudad de México, México, 2012.
- Felber, R.; Stoeckli, S.; Calanca, P. Generic calibration of a simple model of diurnal temperature variations for spatial analysis of accumulated degree-days. International Journal of Biometeorology 2018, 62(4), 621–630. [CrossRef]
- Serrano, A.; Marín, M.J.; Antón, M.; Cancillo, M.L.; Vilaplana, J.M. Development of a Low-Cost Device for Measuring Ultraviolet Solar Radiation. Frontiers in Environmental Science 2022, 9, 737875.

















| System | Azimuth | Elevation | Azimuth Error | Elevation Error |
|---|---|---|---|---|
| Prototype | 0% | 0% | ||
| NREL SPA | ||||
| NOAA | ||||
| Stellarium |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.