Enhanced Solar Tracking System Using Internet of T
Enhanced Solar Tracking System Using Internet of T
Received: 20 August 2023, Accepted: 15 November 2023, Published: 29 December 2023, Publisher: UTP Press, Creative Commons: CC BY 4.0
*E-mail: eenora@usm.my
ABSTRACT
Solar energy has grown in popularity in recent years. Conventional solar panels cannot provide enough energy to meet
consumer demand. Therefore, more solar panels are needed to meet consumer demand. The Internet of Things (IoT)
Solar Tracker maximises solar energy collecting by connecting the physical and digital worlds. This study integrates IoT
to improve solar tracker performance. Blynk uses the NodeMCU ESP8266 control unit to monitor voltage, current, and
power usage. This research uses the Arduino IDE, a photoresistor sensor, and a current sensor, INA219. This work advances
solar energy efficiency. By comparing solar panel electrical qualities in different environments, this research succeeded.
To assess solar panel efficiency, 5 V and 12 V fans were used as loads. The results demonstrated that load configuration
deliberately influences power and energy production. Solar panels produced greater power and energy under 12 V fan
loads than 5 V loads. This observation assists solar energy system analysis and design. Second, the IoT solar tracker was
tested for electricity harvesting. The solar tracker harvested more solar energy than a fixed orientation. After tracking the
sun, it enhances voltage, current, power, and energy by 30%. Web dashboards and smartphone apps allow real-time IoT
device monitoring and control. The interactive web dashboard displayed solar panel data. Track electrical properties
and sunshine intensity. IoT devices influence solar tracker decisions and promote sustainable energy.
INTRODUCTION
expensive compared to the other solar cells due to its for the sun's movement. In contrast, the sensor solar
complex manufacturing process. Figure 1 shows the tracker uses a photoresistor sensor to detect sunlight.
working principle of converting light to electricity; The sensor solar tracker is more accurate than the time-
visible light strikes the junction of P and N [4]. based solar tracker [8]-[10]. The solar tracker system has
two movement types: single-axis and dual-axis. The
The manufacturing process of solar panels starts with single-axis system is the solar tracker that only moves
the fabrication of wafers from silicon ingots [5]. Then, on one axis. In comparison, the dual-axis system is the
the wafer is fabricated to become a solar cell. The solar solar tracker moving in vertical and horizontal axis
cell is connected in series and sorted according to its simultaneously [11].
efficiency during tabbing. The solar panel has several
layers, starting with Tedlar composite, ethylene vinyl The efficiency of dual axis solar tracker is higher than
acetate (EVA) film, solar cells, and tempered safety glass that of a single axis, and the dual-axis solar tracker can
in the lamination process [6]. The laminated solar panel be implemented in different locations without changing
will use a framing process to increase its durability. the original longitude coding. The usage of solar trackers
The solar panel will be tested and sorted according can increase the efficiency of electricity generation by
to its efficiency. The components of the solar panel nearly 40% [12]. The movement of single-axis and dual-
containing tempered glass, solar cells, EVA film, and axis solar trackers are displayed in Figure 3 [5].
Tedlar composite are displayed in Figure 2 [7].
the tracker system using only a web dashboard or Phase 2 of the research focuses on data collection from
mobile phone application. The web dashboard and the hardware to the user, using the current sensor
mobile application that had been proposed is the and the Blynk application as a GUI for monitoring
Blynk. The Blynk contains a web dashboard and mobile parameters such as power consumption, current,
application that is suitable for the affordable price for voltage, power, and energy consumption [10]. The user
making the prototype and for mass production. The can also monitor the parameter through an Organic-
Blynk application Graphical User Interface (GUI) can Light-Emitting-Diode (OLED) screen attached to the
be designed to suit the user's needs. The frequency solar tracking device. Phase 2 begins with the circuit
data used to transmit to Blynk Cloud is 115200 Bits testing and verifying the IoT solar tracking device. The
Per Second. circuit shield of the solar tracking device. The solar tracking
device is built with a Light Dependent Resistor (LDR)
The IoT solar tracker uses the embedded sensor and sensor and an Arduino Uno Microcontroller. The second
processor to read and write the data for monitoring solar phase also contains the circuit testing for the solar
panel parameters such as power consumption, current, tracker's Internet of Things data monitoring device.
and voltage [11],[14]. The IoT role of the solar tracking The Microcontroller that was used for this system is
device is monitoring electrical parameters. The IoT for NodeMCU ESP8266. The Blynk cloud is connected to
monitoring uses a simple current sensor and calculation the Microcontroller to monitor data.
controlled by the microcontroller. The microcontroller will
send the data from the solar tracker to the user through Proposed System
the internet. Important parameters such as power The system is divided into a monitoring system and a
consumption, voltage generated, current draw, and solar tracker. The first part is a solar tracker that uses
energy saving can be monitored by using a smartphone Arduino Uno as a microcontroller, an LDR sensor as
or computer anywhere around the globe [7]. an input device, and a servo motor as an actuator. The
second part is the monitoring system, which uses the
METHODOLOGY NodeMCU ESP8266 as the controller, the INA219 current
sensor as an input device, and OLED as an output device.
The research is divided into two phases, which are a solar The monitoring system also uses IoT technology to send
tracker device and an IoT monitoring device. It aims to the data to the user over the internet.
design an IoT solar tracker device that is affordable in
price using Arduino IDE as a programming compiler. Solar Tracker
Phase 1 of the research is software development, which The dual-axis solar tracker is developed as the first part
includes web dashboard design for the consumers, of the system. The solar tracker contains a solar panel,
whereas Phase 2 is hardware development, which is LDR sensor, Arduino Uno, and servo motor. The LDR
data collection from the hardware to the user [15]. sensor will sense the intensity of light and send a signal
to the microcontroller, and the servo motor will move
Phase 1 started with software development, including accordingly based on the signal received by the sensor.
circuit design. The web dashboard and mobile The block diagram of the dual-axis solar tracker starts
application were designed during Phase 1. The web with the input from the LDR sensor and sends it to
dashboard and mobile application use the Blynk the microcontroller for processing the data. The servo
application, where the developer can set up the GUI for motor will be controlled using Arduino uno based on
this project. The developer can use all the free versions the calculation of voltage change when the LDR sensor
of the Blynk application since it is an open-source drops the resistance value. There are four LDR sensors
service. The software debugging had been implemented that were used to detect sunlight. Two of the LDR
simultaneously with the mobile application and web sensor are used to detect sunlight from east to west,
design development. The Arduino Ide is used to compile and another two LDR sensors are used to detect south
and debug the program of this research. Next, the circuit to north, making this system work in any direction
design using Fritzing software was executed. The Fritzing without manual calibration. Figure 4 below shows the
software is a computer-aided drawing (CAD) software block diagram of the dual-axis solar tracking system
that is free and provides many components and libraries. using Arduino Uno, LDR sensor, and servo motor.
Start
Establish Connection
between controller and
Blynk Server
NO
Display Current in
unit 'W'
NO
Calculated
Energy
Upload Data
To Server
End
Parameter Value
Start
Establish Connection
between controller
and Blynk Server
Calculated
Energy
Upload Data
to Server
End
The circuit diagram of the IoT solar tracker is an INA219 Table 2 Specification of IoT monitoring device
current sensor with I2C protocol. The SCL and SDA of
the INA219 current sensor are connected to NodeMCU Parameter Value
pins D1 and D2, respectively. The OLED display also Power Supply 5 V/3.2 A
uses I2C protocol and uses the same connection as the
Voltage Rating 26 V
INA219 current sensor. The pin D1 and D2 of NodeMCU
is SCL and SDA pin. The circuit and schematic diagrams Current Rating 3.2 A
of the IoT monitoring system are in Figures 12 and 13, Prototype Dimension
100 mm x 100 mm x 50 mm
respectively. (L x W x H)
Theoretical Calculation
The theoretical calculation discusses the calculation
made before developing the project. The main law used
for this project is Ohm's Law. Ohm's Law calibrates the
INA219 current sensor since it provides shunt voltage
Figure 13 Schematic diagram of the IoT
monitoring system by connecting V+ and V- to the load. V+ and V- of the
INA219 current sensor are the terminals of the shunt
Project Specification resistor, as in Figure 15 [9].
A physical prototype of the IoT monitoring system
had been developed using the breadboard consisting
of NodeMCU ESP8266, 0.96-inch OLED display LDR,
and INA219 current sensor. The device can monitor
up to 26 V of DC voltage and 3.2 A of current. The
component fits in an enclosure box with dimensions
of 100 mm (L) x 100 mm (W) x 50 mm (H). The monitoring
device is powered by a USB connection with 5 V voltage
and 3.2 A current. Project specifications are in Table Figure 15 Schematic diagram of the INA219
2, and the physical prototype monitoring device is in current sensor
Figure 14.
The voltage drop from the shunt resistor is sent through
the I2C protocol to the microcontroller. The calculation
of the shunt voltage equated as:
The load's power can easily be calculated using Ohm's RESULTS AND DISCUSSION
Law, as:
Analysis of Different Load
Pload = Vdrop x I load (3) Different load types have been used to study the
behaviour of the monitoring system. The section
With the power obtained using the INA219 current will discuss when using a 5 V fan as a load and
sensor, the microcontroller can calculate energy using: the monitoring system's behaviour with different
conditions. The different conditions are with shielding,
E Joule = P x t (4) without shielding, and artificial light. The data for
shielding is taken when the cloud obstructs the
The microcontroller calculates energy by multiplying sunlight. The artificial light used in this study is a
the power obtained with the time. The energy obtained conventional table lamp, and the data taken is at
by microcontroller operation is in unit Joule because room temperature during daylight. The data without
the microcontroller stores data every 1 second due to shielding is taken when the sunlight is at the highest
the clock cycle. The energy needed to convert from intensity. The obtained voltage, current, and power
Joule to Watt-hour since it is normal practice in energy using the sensor are obtained from Equations 1,2 dan 3
monitoring to monitor energy in a unit of Watt-Hour, respectively. The microcontroller receives data from
equated as: the sensor, and calculations are made and displayed
on the OLED display.
E Wh = P x t (5)
3600
Analysis of 5 V DC Fan
The percentage error between the sensor and the The result obtained from a 5 V DC fan is current,
multimeter can be calculated as: voltage, power, and energy. Three lighting conditions
Table 3 The data of IoT solar tracker with 5V fan as the load
were tested using the solar tracker with shielding, The power and energy calculations align with these
without shielding, and artificial light. The data show observations. The measurements without the shield
each measuring device's voltage and current values (direct sunlight) yield higher power and energy
(multimeter and sensor) under different conditions. values than those with the shield (appearance of
The result provides insight into the solar panel's cloud) or under artificial light. The statement further
performance and the effect of different variables. The emphasises the importance of direct sunlight for
data shielding is when the cloud obstructs the sunlight, maximising solar panels' power generation and
and without shielding, it is when the solar panel receives energy production.
sunlight directly without any cloud. The artificial table
lamp is used indoors at room temperature, and the Considering the percentage errors, the measurements
data is recorded during daylight. The data is taken in without the shield show a lower error at 0.3739%,
10 minutes duration with 2-minute intervals to study indicating a relatively accurate representation of
the behaviour of the IoT Solar tracker system with 5 V the reference values. The measurements with the
load. The data of the experiment are as in Table 3. The shield and under artificial light exhibit slightly
data from the table for power and energy was plotted higher percentage errors, suggesting some degree
in bar chart form for further analysis, as in Figure 16. of deviation from the reference values due to the
respective conditions. The percentage error also
indicates that the monitoring system was well-
functioning with tolerable error compared to the
physical multimeter. The shield may reduce external
interference. Wind, dust, temperature variations, and
EMI can cause measurement inaccuracies without a
barrier. The shield prevents these disturbances, which
is crucial in sensitive studies that require accuracy.
Analysis of DC Fan 12 V
Power (mW) Energy (mWh)
The result obtained by the 12 V DC fan includes current,
With Shield Without Shield Artificial Light
voltage power, and energy. The solar panel monitoring
Figure 16 The bar chart for the 5 V fan device was tested in three conditions: with shielding,
cloudy, with limited sunlight available; without
Comparing the measurements taken with and without shielding, where the sunlight is at its peak intensity;
the shield, it is evident that the shield (obstructed by a and artificial light, which is the data taken indoors
cloud) significantly impacts the solar panel's electrical in daylight with a room temperature of around 25°C.
parameters. The average voltage and current values are The data were compared between the multimeter and
slightly higher when the cloud does not obstruct the sensor to give more insight into the usability of the
solar panel, indicating that direct sunlight significantly monitoring device. The percentage error indicates how
contributes to increased electrical output. The data much the error of the monitoring device to precisely
confirms that cloud limits sunlight reaching the solar measure the solar panel with a 12 V DC fan. The data
panel, reducing power generation. is taken 10 minutes in duration with a 2-minute
interval. Figure 17 shows the bar chart of the 12 V fan
Besides, the measurements taken under artificial light analysis. Protecting experiments and measurements
(indoor testing with a table lamp) show slightly lower are the outside factors that can affect measurements.
voltage and current values than those without the Wind, rain, dust, and other environmental conditions
shield (direct sunlight at the highest intensity). The impair measurement accuracy. A shield manages the
data suggests that the artificial light source may not environment to reduce additional consequences.
match the intensity or spectrum of natural sunlight Controlling artificial light ensures uniformity. In
while providing illumination. The general luminance contrast, weather, time, and season affect daytime
value of the table lamps is 400-500 lumen. As a result, natural light. Measurements can be inaccurate in
the electrical output of the solar panel under artificial uneven lighting. Furthermore, shields block ambient
light is slightly lower than that under direct sunlight. light that disrupts research. Without a barrier, sunlight
and building light enter. Stray light can reflect, refract, in power generation and energy production. The solar
and cast shadows, causing measuring inaccuracies. panel's average voltage and current values were like
those of the first data set. The data suggests that the
Table 4 The Data of IoT solar tracker with 12 V fan as a load monitoring device can accommodate and adapt to the
higher voltage load.
intensity of the sunlight. The data is taken around 12.00 p.m. that the solar panel receives more direct sunlight,
without any obstruction of the cloud. The graph of leading to a higher current flow. This is reflected in
power throughout this experiment is as in Figure 19. the higher current readings observed throughout the
test duration.
Table 5 The data of solar panels with and without solar
tracker The power and energy consumption values also
demonstrated distinct variations between the
two conditions. The solar panels with the tracker
consistently exhibited higher power and energy
consumption than those without the tracker. This is
primarily due to the increased voltage and current
values achieved with the tracker, as power is calculated
by multiplying voltage and current. Consequently, the
solar panel's overall energy output and consumption
increased when the tracker was utilised.
IoT Device
The result is also displayed using web dashboards
and mobile phone applications. The readings taken
Figure 19 The power graph for solar panels with and
for the 5 V fan include voltage, current, power, energy
without solar tracker
estimation, and energy capacity. The energy estimation
and cost data are based on Equations 3.5 and 3.6. The
The provided data based on Table 5 and Figure 19
web dashboard for the 5 V fan as a load is shown in
presents the results of a test conducted to compare the
Figure 20. The condition for this experiment is the
performance of a solar panel with and without a solar
value taken indoors with artificial light and room
tracker. When analysing the electrical parameters, it is
temperature.
evident that the solar panels with the tracker exhibited
some notable differences from those without the
tracker.
interface to the user. All the data is stored in a cloud server The user will also be notified if there is an increase
provided by the sensor through the internet. The data in power generation with a predefined value by
displayed on the web dashboard are live feed data from the developers. The notifications can be sent to the
the sensor. The primary purpose of the current graph is to smartphone through the email or the application.
estimate the intensity of the sunlight received by the solar The notification also can be set to trigger a warning
panel. Users can quickly understand the intensity of the to the user through the web dashboard. The mobile
sunlight by just looking at the current graph because the notification triggers when the Power reaches 20 mW,
intensity of the sunlight is directly proportional to the value as in Figure 23. 20 mW may be a significant power
of the current produced by the solar panel theoretically. generation or solar panel system event. Notification
Besides the web dashboard, the data from the mobile triggers inform users of important events or conditions.
application was also recorded. The data from the web The 20 mW threshold may be useful for notifying users
dashboard is the same as in mobile applications. The mobile because it represents a noticeable or important power
application is designed to make an interactive way for the generation level in the system's operation.
user to monitor electrical parameters for the solar tracking
device on the go. Figures 21 and 22 show the Blynk mobile
application displays value and graph, respectively.
CONCLUSION
fixed orientation. It can follow the sun's movement and Renewable Energy System For Rural Electrification,"
increase voltage, current, power, and energy generation Solar Energy, vol. 188, pp. 1068–1083, Aug. 2019, doi:
by about 30%. Furthermore, implementing IoT devices, 10.1016/j.solener.2019.07.008.
including web dashboards and mobile applications,
offered real-time monitoring and control capabilities. [8] N. AL-Rousan, N. A. Mat Isa, and M. K. Mat Desa,
"Efficient Single And Dual Axis Solar Tracking System
The web dashboard provided an interactive graphical
Controllers Based On Adaptive Neural Fuzzy Inference
interface displaying live feed data from the solar panel.
System', Journal of King Saud University - Engineering
The users can understand the intensity of sunlight Sciences, vol. 32, no. 7, pp. 459–469, Nov. 2020, doi:
received and track electrical parameters. Integrating 10.1016/J.JKSUES.2020.04.004.
IoT devices further enhances the ability of solar
tracker systems to make knowledgeable decisions and [9] S. Das, P. K. Sadhu, S. Chakraborty, S. Banerjee, and T. Saha,
contribute to sustainable energy practices. "Design And Implementation Of An Intelligent Single
Axis Automatic Solar Tracking System," Mater Today
ACKNOWLEDGEMENTS Proc, vol. 61, no. 4, pp. 383–387, May. 2021, doi:
10.1016/J.MATPR.2021.04.428.
The authors would like to thank the Department of
Research and Innovation Universiti Sains Malaysia for [10] R. Vinodhkumar and S. John, "IoT Based Dual-Axis Solar
giving the opportunity and support throughout the Tracking System," in IOP Conference Series: Materials
Science and Engineering, IOP Publishing Ltd, Sep. 2020.
completeness of this work.
doi: 10.1088/1757-899X/912/3/032024.
[4] M. K. Hsiao, K. Zhang, M. Gou, andY. Liang, "Development and [14] F. Thabit, O. Can, A. O. Aljahdali, G. H. Al-Gaphari, and
application of graphene silk solar panel concept in smart bus H. A. Alkhzaimi, "A Comprehensive Literature Survey
stop design," Energy Reports, vol. 9, pp. 142–150, Apr. 2023, Of Cryptography Algorithms For Improving The Iot
doi: 10.1016/j.egyr.2022.12.007. Security," Internet of Things, p. 100759, Mar. 2023, doi:
10.1016/J.IOT.2023.100759.
[5] O. C. Onar and A. Khaligh, "Energy Sources," Alternative
Energy in Power Electronics, pp. 81–154, Jan. 2015, doi: [15] M. D. Mudaliar and N. Sivakumar, "IoT-based real-
10.1016/B978-0-12-416714-8.00002-0. time energy monitoring system using Raspberry Pi,"
Internet of Things (Netherlands), vol. 12, Dec. 2020, doi:
[6] Energy.gov Portal. "Solar Photovoltaic Manufacturing 10.1016/J.IOT.2020.100292.
Basics, Department of Energy." Accessed: Dec. 11, 2022.
[Online]. Available: https://www.energy.gov/eere/ [16] L. Prasetyani, M.J.F. Arifianto, D. Subagio, and W. Sarfat,
solar/solar-photovoltaic-manufacturing-basics "Experimental analysis design of solar panel energy
monitoring prototype," In 2020 7th International
[7] K. Murugaperumal, P. Ajay, and D. V. Raj, "Feasibility Conference on information technology, computer, and
Design And Techno-Economic Analysis Of Hybrid