Technical Brief

Realization of an Inexpensive Embedded Mini-Datalogger for Measuring and Controlling Photovoltaic System

[+] Author and Article Information
Naim Houcine

Laboratory for Analysis and Applications
of Radiation (LAAR),
Department of Physics,
University of Science and Technology of Oran (USTO),
B.P. 1505, El M'nouar,
Oran 31024, Algeria
e-mail: naim_houcine@hotmail.fr

Hassini Abdelatif

Institute of Maintenance and Industrial Security,
University of Oran,
BP 05 Route de l'Aéroport,
Es-Senia Oran 31024, Algeria
e-mail: hassini.abdelatif@univ-oran.dz

Benabadji Noureddine

Laboratory for Analysis and Applications
of Radiation (LAAR),
Department of Physics,
University of Science and Technology of Oran (USTO),
B.P. 1505, El M'nouar,
Oran 31024, Algeria
e-mail: benanour2000@yahoo.com

Falil Fatima Zohra

Laboratory for Analysis and Applications
of Radiation (LAAR),
Department of Physics,
University of Science and Technology of Oran (USTO),
B.P. 1505, El M'nouar,
Oran 31024, Algeria
e-mail: falilfatimaz@yahoo.fr

Bouadi Abed

Laboratory for Mobilization and Optimization
of Industrial Systems (LAMOSI),
Department of Physics,
University of Science and Technology of Oran (USTO),
B.P. 1505, El M'nouar,
Oran 31024, Algeria
e-mail: abed_bou@yahoo.fr

1Corresponding author.

Contributed by the Solar Energy Division of ASME for publication in the JOURNAL OF SOLAR ENERGY ENGINEERING: INCLUDING WIND ENERGY AND BUILDING ENERGY CONSERVATION. Manuscript received June 18, 2014; final manuscript received November 8, 2014; published online December 29, 2014. Assoc. Editor: Santiago Silvestre.

J. Sol. Energy Eng 137(2), 024502 (Apr 01, 2015) (5 pages) Paper No: SOL-14-1185; doi: 10.1115/1.4029232 History: Received June 18, 2014; Revised November 08, 2014; Online December 29, 2014

This article describes the design and the realization of an automatic recording device for measurements and controls of multiple physical parameters, in order to manage and monitor a mini central photovoltaic (PV) electricity. It is based on an 8-bit microcontroller, a PIC16F716, which is the lowest cost in the midrange portfolio from Microchip. The automatic recording device (or datalogger) measures the following parameters: the current sourced by a set of PV panels to solar batteries, the voltage across these batteries, the internal and the external temperatures, through a 4 channel multiplexed 8-bit analog–digital converter (ADC) integrated module. This datalogger is clocked with a real time clock and calendar (RTCC), which controls also the periodic measurements. These are stored in an external 8 kB flash electrically erasable/programable read-only memory (EEPROM), a 24LC64, using the I2C protocol, which allows us to easily increase the storage capacity by adding, if necessary, in parallel, up to eight external flash EEPROM.

Copyright © 2015 by ASME
Your Session has timed out. Please sign back in to continue.


Zweibel, K., 1990, Harnessing Solar Power the Photovoltaics Challenge, Plenum Publishing, New York.
Brower, M., 1990, Cool Energy The Renewable Solution to Global Warming. Union of Concerned Scientists, MIT Press, Cambridge, MA.
Blaesser, G., 1997, “PV System Measurements and Monitoring: The European Experience,” Sol. Energy Mater. Sol. Cells, 47(1–4), pp. 167–176. [CrossRef]
Wilshaw, A., Pearsall, N., and Hill, R., 1997, “Installation and Operation of the First City Center PV Monitoring Station in the United Kingdom,” Sol. Energy, 59(1–3), pp. 19–26. [CrossRef]
Kim, M., and Hwang, E., 1997, “Monitoring the Battery Status for Photovoltaic Systems,” J. Power. Sources, 64(1–2), pp. 193–196. [CrossRef]
Ross, J. N., Markvart, T., and He, W., 2000, “Modelling Battery Charge Regulation for a Stand-Alonephotovoltaic System,” Sol. Energy, 69(3), pp. 181–190. [CrossRef]
Dakkaka, M., and Hasana, A., 2012, “A Charge Controller Based on Microcontroller in Stand-alone Photovoltaic Systems,” Energy Procedia, 19, pp. 87–90. [CrossRef]
Eke, R., Kavasoglu, A. S., and Kavasoglu, N., 2012, “Design and Implementation of a Low-Cost Multi-Channel Temperature Measurement System for Photovoltaic Modules,” Measurement, 45(6), pp. 1499–1509. [CrossRef]
Masheleni, H., and Carelse, X. F., 1997, “Microcontroller-Based Charge Controller for Stand-Alone Photovoltaic Systems,” Sol. Energy, 61(4), pp. 225–230. [CrossRef]
Carmine, A., 1999, Advanced Assembler Language and MVS Interfaces: For IBM Systems and Application Programmers, 2nd ed., Wiley, New York.
Ameur, S., Laghrouche, M., and Adane, A., 2001, “Monitoring a Greenhouse Using a Microcontroller-Based Meteorological Data Acquisition System,” Renewable Energy, 24(1), pp. 19–30. [CrossRef]
Benabadji, N., 2007, “Microcontroller Drives LCD With Just One Wire,” EDN, 52, pp. 104–105.
Koutroulis, E., and Kalaitzakis, K., 2003, “Development of an Integrated Data-Acquisition System for Renewable Energy Sources Systems Monitoring,” Renewable Energy, 28(1), pp. 139–152. [CrossRef]
Muñoz, F. J., Jiménez, G., Fuentes, M., and Aguilar, J. D., 2013, “Power Gain and Daily Improvement Factor in Stand-Alone Photovoltaic Systems With Maximum Power Point Tracking Charge Regulators. Case of Study: South of Spain,” ASME J. Sol. Energy Eng.135(4), p. 041011. [CrossRef]
Messikh, L., Chikhi, S., Chikhi, F., and Chergui, T., 2008, “Mise au point d'un régulateur de charge/décharge de batterie avec seuils adaptatifs de tension pour les applications photovoltaïques,” Rev. Energ. Renouv., 11(2), pp. 281–290 (in French). Available at: http://www.cder.dz/download/Art11-2_12.pdf
Benghanem, M., 2009, “Low Cost Management for Photovoltaic Systems in Isolated Site With New IV Characterization Model Proposed,” Energy Convers. Manage., 50(3), pp. 748–755. [CrossRef]
Gagliarducci, M., Lampasi, D. A., and Podesta, L., 2007, “GSM Based Monitoring and Control of Photovoltaic Power Generation,” Measurement, 40(3), pp. 314–321. [CrossRef]
Mahjoubi, A., Mechlouch, R. F., and BenBrahim, A., 2011, “A Low Cost Wireless Data Acquisition System for a Remote Photovoltaic (pv) Water Pumping System,” Energies, 4(1), pp. 68–89. [CrossRef]
Mukaro, R., and Carelse, X, F., 1999, “A Microcontroller-Based Data Acquisition System for Solar Radiation and Environmental Monitoring,” IEEE Trans. Instrum. Meas., 48(6), pp. 1232–1238. [CrossRef]
Jucá, C. S., Carvalho, C. M., and Brito, T., 2011, “A Low Cost Concept for Data Acquisition Systems Applied to Decentralized Renewable Energy Plants,” Sensors, 11(1), pp. 743–756. [CrossRef] [PubMed]
Chin, C. S., Babu, A., and McBride, W., 2011, “Design modeling and Testing of a Standalone Single Axis Active Solar Tracker Using matlab/simulink,” Renewable Energy, 36(11), pp. 3075–3090. [CrossRef]
Benghanem, M., 2010, “A Low Cost Wireless Data Acquisition System for Weather Station Monitoring,” Renewable Energy, 35(4), pp. 862–872. [CrossRef]


Grahic Jump Location
Fig. 5

The three pushbuttons keyboard and the output RA4 (day/night tasks control)

Grahic Jump Location
Fig. 4

2 × 16 LCD display module in 4-bit mode using only 5 I/O lines

Grahic Jump Location
Fig. 3

LCD display module in 8-bit classic mode

Grahic Jump Location
Fig. 2

The PIC16F716 circuit with its 4 MHz quartz

Grahic Jump Location
Fig. 1

Diagram of the prototype device

Grahic Jump Location
Fig. 6

The measurements circuitry for the 4 analog channels

Grahic Jump Location
Fig. 7

Section external EEPROM

Grahic Jump Location
Fig. 8

Detailed and completeness of the device constructed




Some tools below are only available to our subscribers or users with an online account.

Related Content

Customize your page view by dragging and repositioning the boxes below.

Related Journal Articles
Related eBook Content
Topic Collections

Sorry! You do not have access to this content. For assistance or to subscribe, please contact us:

  • TELEPHONE: 1-800-843-2763 (Toll-free in the USA)
  • EMAIL: asmedigitalcollection@asme.org
Sign In