Remote Monitoring and Control of Photovoltaic Energy Production by Arduino-Gsm Sim900
Remote Monitoring and Control of Photovoltaic Energy Production by Arduino-Gsm Sim900
Science (IJAEMS)
Peer-Reviewed Journal
ISSN: 2454-1311 | Vol-10, Issue-5; Jul-Aug, 2024
Journal Home Page: https://ijaems.com/
DOI: https://dx.doi.org/10.22161/ijaems.105.19
Institute for Energy Management (IME), University of Antananarivo, PB 566, Antananarivo 101, Madagascar
Received: 27 Jul 2024; Received in revised form: 11 Aug 2024; Accepted: 17 Aug 2024; Available online: 24 Aug 2024
Abstract— The monitoring system is a key element in any energy production installation, making it possible
to monitor operating parameters in real time and optimize production. In this article, we present a model of
a monitoring system based on the Arduino microcontroller and the GSM module, compatible with any type
of solar installation. Our monitoring system uses current, voltage and temperature sensors to measure the
operating parameters of a photovoltaic system. We simulated the operation of this system using Proteus
software, and the simulation results demonstrated the correct operation of our model. Based on these results,
we created a prototype of our monitoring system. The latter is capable of sending measured operating
parameters as SMS notifications to a smartphone, thus enabling real-time remote monitoring.
Keywords— Renewable energies, photovoltaics, microcontroller, Arduino, GSM, monitoring,
surveillance, optimization
given the increase in the cost of conventional energies and necessary to install charge accumulators or batteries to
the limitation of their resources. store the energy supplied by the solar modules and meet all
2.1. 1. Photovoltaic solar cell of the needs. This type of installation is suitable for sites
that cannot be connected to the network.
The photovoltaic cell is the basic element of photovoltaic
solar panels. It is a silicon-based semiconductor device
which delivers a voltage of around 0.5 to 0.6 V.
This type of check is carried out regularly or irregularly, capabilities. This family of 8-bit microcontrollers
for example after rain or strong wind which could cause is an industrial standard in its own right;
damage. • Raspberry Pi microcontrollers , which are
2.1.5.2. Component control advanced platforms.
It is a control which consists of periodically carrying out a 2.2.1. Arduino microcontroller
visual and electrical inspection of the various components Arduino is an open-source programmable electronics
of the photovoltaic solar power plant. platform, which consists of a microcontroller board (from
2.1.5.3. Cleaning the AVR family) and software which constitutes an
To ensure the performance of installed modules, it is integrated development environment (IDE). This allows
necessary to protect them against dust and shade. Monthly you to write, compile and transfer the program to the
cleaning is therefore very useful to remove dust and microcontroller card.
possible debris. Arduino can be used to build independent interactive
2.2. Microcontrollers objects (rapid prototyping) or be connected to a computer
to communicate with its software.
Microcontrollers are microprocessor-type information
processing units to which internal peripherals are added, 2.2.1.1. Hardware part
allowing their components to perform assembly without An Arduino board is generally built around an Atmel AVR
requiring the addition of additional components. They are microcontroller (like the ATmega328 or ATmega2560 for
today widely used in many public or professional recent versions, or the ATmega168 or ATmega8 for older
applications, depending on their needs. versions), as well as complementary components that
Among the most common microcontrollers, we can cite: facilitate the programming and interfacing with other
circuits. Each card has at least a 5V linear regulator and a
• CMOS microcontrollers, such as Microchip PICs
16 MHz crystal oscillator (or a ceramic resonator in some
;
models). The microcontroller is pre-programmed with a
• Motorola's 16HC11, which features numerous “boot loader” which eliminates the need for a dedicated
peripherals such as counters, pulse width programmer.
modulation (PWM), analog-to-digital converters There are thirteen versions of Arduino boards to date.
(ADC), digital I/O, and serial links; Among the most used in the fields of training and research,
• microcontrollers based on Intel's 8051 we can cite the Arduino Uno and the Arduino Mega 2560.
architecture (like those from ST, Atmel or The following table summarizes their main characteristics.
Philips), which offer advanced computing Table 1: Arduino UNO vs Mega 2560 Comparison Chart
Arduino Mega 2560 Arduino Uno
Microcontroller ATmega2560 ATmega328
Dimension 101mm*53mm 69mm*54mm
Operating voltage 5V 5V
Supply voltage (recommended) 7-12V 7-12V
Supply voltage (limits) 6-20V 6-20V
Digital I/O Pins 54 (14 of which have a PWM output) 14 (6 of which have a PWM
output)
Analog Input Pins 16 (usable as digital I/O pins) 6 (usable as digital I/O pins)
Maximum current available per I/O pin (5V) 40 mA (WARNING: 200mA 40 mA (WARNING: 200mA
cumulative for all I/O pins) cumulative for all I/O pins)
Maximum intensity available for 3.3V output 50 mA 50 mA
Maximum intensity available for 5V output Power supply function used – 500 mA Power supply function used –
max if USB port used alone 500 mA max if USB port used
alone
Flash Program Memory 256 KB of which 8 KB are used by the 32 KB (ATmega328) of which
boot loader 0.5 KB is used by the boot loader
SRAM (volatile memory) 8 KB 2 KB (ATmega328)
EEPROM (non-volatile memory) memory 4 KB 1 KB (ATmega328)
Clock speed 16 MHz 16 MHz
SPI/I2C AVAILABL AVAILABLE
This board contains everything a microcontroller needs to • Power supply: 3.4 to 4.4 V;
function. It is also compatible with printed circuits
• Power consumption: 1.5 mA in standby and 2 A
designed for Arduino Uno, Duemilanove or Diecimila
in communication;
cards .
• Operating temperature: -20°C to +70°C;
Figure 7 shows the Arduino Mega 2560 microcontroller
board. • Dimensions: 57 x 55 x 11 mm.
2.2.4. Sensor
A sensor is a technical component which detects a physical
event linked to the operation of a system (presence of a
room, temperature, etc.) and translates it into a signal
usable by the system (generally electrical, in the form of a
low voltage signal ).
The information detected by a sensor can be very varied,
which implies a wide variety of sensor needs. Among the
most common and frequent are position, presence, speed,
temperature and level sensors.
2.2.5. Mounting the control system on Proteus
The proposed system consists of communication module
circuit, battery level indicator circuit, ammeter module,
temperature sensor, photo resistor and microcontroller
Fig.7: Arduino MEGA2560 board module.
The battery level indicator circuit measures voltages across
2.2.3. GSM/ GPRS module the solar panel batteries and across the solar panels
themselves.
The GSM/GPRS module is an interface board compatible
with Arduino. It allows you to send and receive SMS, data The ammeter module allows you to measure the current
or voice communications from the mobile network. This used by the load and the current supplied by the PV
module is based on the SIM900 circuit and is controlled via modules.
AT commands from an Arduino board. The temperature sensor allows you to know the
temperature inside the inverter.
The photoresistor mounted on the surface of the solar
modules makes it possible to monitor the solar irradiation
received by the module.
The current (p1, p2) and voltage (V1, V2) communication
buses are connected to the photovoltaic installation (figure
10).
For the simulation, we propose an installation of 4
Fig.8: Sim900 12V/100W solar collectors in parallel and two 12V/150Ah
batteries also in parallel. A 300W load is connected to the
batteries.
The module has a remote patch antenna and
Figure 10 shows the data processing circuit diagram.
communication between the module and the Arduino board
is carried out via an asynchronous serial link (UART) or a
software serial link.
Here are the main characteristics of the SIM900 module:
• Quad-band: 850/900/1800/1900 MHz;
• GPRS data rate: up to 85.6 kbps;
• Serial interface: UART, with TTL or RS-232
voltage level;
This article can be downloaded from here: www.ijaems.com 234
©2024 The Author(s). Published by Infogain Publication, This work is licensed under a Creative Commons Attribution 4.0 License.
http://creativecommons.org/licenses/by/4.0/
Rafanjanirina et al. International Journal of Advanced Engineering, Management and Science, 10(5) -2024
III. RESULTS
Fig.13: Simulation of the SIM900 GSM module
We simulated a solar collector with a nominal voltage of
12V on ISIS by connecting it to a 12V/10W lamp (Figure
11). The illumination of the lamp and the intensity increase We verified the SMS transmission of the GSM/Arduino
as the voltage across the solar panel rises from 12 to 18V system by uploading the program in Appendix 1 to the
(Figure 12). microcontroller. Proteus virtual interfaces show the SMS
sent by the system to a recipient (Figure 14).
Fig.20: Prototype
The Arduino platform and the SIM900 GSM module are 2023.
reliable and proven components, which guarantee the [4] Greening -e, Maintenance and monitoring of photovoltaic
sustainability of the system over time. However, it is installations for self-consumption, Blog, available at https:
//greening-e.com/fr/maintenance-et-surveillance-des-
important to note that the lifespan of each component used
installations-photovoltaiques-pour-lautoconsumption /,
in the electrical installation can have an impact on the
accessed January 12, 2023.
overall reliability of the system. [5] Wikipedia, Photovoltaic monitoring, Article. Available at:
The target groups that can use this remote control platform https:
are numerous. Firstly, technicians in a photovoltaic plant //fr.wikipedia.org/wiki/Monitoring_photovolta%C3%AFqu
can benefit from this system to monitor and maintain the e, accessed January 12, 2023.
installation remotely, reducing costs and travel time.
Additionally, home users can also use this platform to
monitor and control their own PV installation, allowing
them to maximize their solar energy production and reduce
their electricity bill.
V. CONCLUSION
As part of this project, we carried out photovoltaic system
control system simulations with the use of Arduino and
SIM 900 on Proteus software. We also designed a
prototype to test how the system works.
The main objective of this project is the automatic
management of a photovoltaic system using an electronic
command and control platform. Thanks to this system, we
can remotely monitor energy production, be informed in
the event of an anomaly or malfunction, and know the
available energy storage capacity.
The system is based on the use of Arduino for data
collection and processing, as well as the use of SIM 900 for
remote communication via SMS. The simulations carried
out on Proteus made it possible to validate the operation of
the system and to correct any bugs or errors.
In terms of improvement prospects, we can consider the
use of another electronic system such as Raspberry Pi
instead of Arduino, which would allow broader and more
complex management of the photovoltaic system. We
could also consider presenting the different parameters
(current, voltage, energy, temperature, etc.) in the form of
curves or graphs for more intuitive visualization and deeper
analysis of the data.
REFERENCES
[1] Daher, DH (2017). Modeling and experimental analysis of a
photovoltaic solar power plant in a maritime desert
environment, Doctoral thesis, University of Lyon, France.
[2] Bressan, M. (2014). Development of a supervision and
control tool for a photovoltaic solar installation, Master's
thesis, University of Perpignan Via Domitia , France.
[3] Arduino DC, Difference Between Uno and mega2560,
Forum, available at https://forum.arduino.cc/t/difference-
between-uno-and-mega-2560/321793, accessed January 12,