SciELO - Scientific Electronic Library Online

 
vol.23 issue4Hardware Implementation of a Non-Linear Observer for a Diabetes Mellitus Type 1 Mathematical ModelHindi Visual Genome: A Dataset for Multi-Modal English to Hindi Machine Translation author indexsubject indexsearch form
Home Pagealphabetic serial listing  

Services on Demand

Journal

Article

Indicators

Related links

  • Have no similar articlesSimilars in SciELO

Share


Computación y Sistemas

On-line version ISSN 2007-9737Print version ISSN 1405-5546

Comp. y Sist. vol.23 n.4 Ciudad de México Oct./Dec. 2019  Epub Aug 09, 2021

https://doi.org/10.13053/cys-23-4-3261 

Articles

Meteorological Portable System Consulted Via Wi-Fi

Víctor Garduño Mendieta1 

Romeo Urbieta Parrazales2 

José de Jesús Medel Juarez2  * 

1 Instituto Politécnico Nacional, Unidad Profesional Interdisciplinaria de Ingeniería y Ciencias Sociales y Administrativas, México. vicgardm@yahoo.com.mx

2 Instituto Politécnico Nacional, Centro de Investigación en Computación, México. rurbieta@cic.ipn.mx, jjmedelj@gmail.com


Abstract

In this paper, we present the implementation scheme of an acquisition meteorological system via Wi-Fi, which transfers online measuring data using a portable system. Taking into account the Arduino development board advantages and the emergence programmable devices available in the market for IOT (Internet of Things), our development uses Shields group technologies. In such a way, the Arduino development board and emergence programmable devices become a portable device known as meteorological portable station, measuring different weather data, such as temperature, atmospheric pressure, humidity, rain, dew point, wind, and its direction. This allows recognizing the weather in a specific zone via portable station and the weather information captured and consulted through the internet.

Keywords: Meteorology; measurement; data acquisition; Wi-Fi system; IOT device

1 Introduction

The meteorological variables correspond to the real life with different ambient conditions and times evolution, representing parameters significative for a specific zone. The uncertainty generated among the analog variables coming from a physical reality such as temperature, pressure, and humidity, in the other, have different evolution conditions, and in each of them, the specific tolerance, changes. It is part of Data Acquisition Systems (DAS) fact, given the structure to Meteorological Station (MS). Such that the atmospheric conditions quality, measures depend of three essential computational elements: hardware, firmware, and software.

To measure the physical variables we need reconfiguring the DAS obtaining different ranges adjusting adaptively. So that the development involves electronics knowledge, in particular of digital circuits; programming in Arduino, squirrel, PHP, and HTML, as well as MySQL databases and the management of cloud-specific concepts such as PaaS, SaaS and IaaS (platform, service, and infrastructure as a service, respectively).

Physical devices hardware components are the sensors integrated into a Sparkfun® Weather Shield card; Redboard card or Arduino UNO® type, also the manufacturer Sparkfun® as an electronic application development card and, Electric Imp® (which is made up of the device); this even together with the manufacturer Sparkfun®.

The components of the firmware are in Arduino cards, Electric Imp and the operating system of the Imp; operating in Redboard or Arduino UNO® type, Agent Imp and Device Imp (Development environment in Arduino IDE, Electric Imp IDE).

The software components require that the firmware developing the communication interface between the hardware elements are in the cloud in an applicative manner. The data recorded by the analog sensor inside the portable weather station digitized and stored in a server associated in the cloud (www.Hostinger.mx) being accessing through a web page (www.meteorologic4.org), which contains functions of visualization, consultation, and graphing, observed illustratively viewed in Figure 1.

Fig. 1 Cloud computing concept 

2 INFOTECH Model

The adaptive acquisition system begins with the method of digital design for developing a portable meteorological station, determining the nature of variables, the operations range, and using the knowledge obtained by the software generation. It allows programming hardware elements in accessible manner, permitting to collect meteorological data, compared and correlating with other meteorological stations.

According to meteorological stations distribution in Mexico (shown in Figure 2), its orography and taking into account the quantitative measurements, our interest is to integrate a system operating online offering the meteorological information considering a specific zone.

Fig. 2 National meteorological stations net 

The proposal of this research is in the field of the meteorological variables acquiring and offering in time different measures in specific zone, in such a way that they should not have a level of uncertainty major of 3% concerning the globalized data.

In this form, for software development for embedded systems methodology commonly considers the property Information and Documentation Fund for Industry (INFOTEC®) model, distinguishing in it the hardware and software components with respect to atmospheric cycle conditions. Schematically, presented in Figure 3.

Fig. 3 INFOTEC® IV, V and, VI element selecting 

The hardware was part of the selection of properties based on maximum sampling requirements and maintenance time, accuracy, transmission and operating levels, focusing on the development of software for adaptive acquisition, applications, and atmospheric operations, interconnections that integrate and test the atmospheric variables.

Generating the interconnection between the different devices that make up the meteorological base, allowing having a portable Wi-Fi consulting system. After defining the methodology as presented in Figure 3, we describe different design phases considering the embedded weather climate device, as shown in Figure 4.

Fig. 4 INFOTEC® model phases design 

The next step defines the solution, incorporating the elements complying with the measuring objectives of the variables involved, being compacted and connected wirelessly via Wi- Fi®. Figure 5a presents the blocks diagram. This figure has a particular interest for noting that the Arduino-type Redboard development, building the infrastructure for signals coming from the Shield, receiving the contains of a set of agglutinated sensors; likewise as serialized obtaining data, sent to the Electricimp in its physical part.

Fig. 5 Sparkfun® weather shield 

It is responsible for converting and transporting them appropriately to the cloud, providing by Electricimp device agent, having the function of giving them a correct accommodation into the database located in a Hostinger server, incorporating in the Meteorologic4.org domain from www.meteorologic4.org page in addition to www.wunderground.com, indicating that this page accepts the prototype as a portable weather station.

Response sending by the global meteorological cloud atmospheric net, giving a complement with physical location on map, relative height, and location and historical coordinates of securities delivered.

The diagrams correspond to programming in different languages involved in a general scheme, as well as specific Unified Modeling Language (UML) concepts.

So that, the specific software was codified using languages such as Squirrel, which is a mixture with C, C++ and Java, Html and PHP in different sections such as the web page and the database connector file, applied in MySQL, PhP-Admin and the formats similar to Excel databases. The configurations are based on the creation of a mail account with the Hostinger server, the generation of a database, the transfer of serial information from the sensors, the transfer to the cloud, corresponding to the Hostinger server, as well as the high connection with Weather-Underground.

The central part is described in Figures 7, 8 and 8. Figure 7 shows the flow diagram considering the Arduino-type Red-board program. We also present collecting the values of the meteorological sensors and sending them to the Electric-Imp Device serially in hexadecimal. Figure 8 describes the Electric-Imp Device diagram flow, which takes the values that arrive from Arduino wheatear station. It orders them in the appropriate chain format according to the place and passes them to the Electric-Imp Agent. Figure 8 presents the flow diagram of Electric Imp Agent, sending the information through Internet. It requires the data backup raising in the rented server service (Hostinger): a database, which is collecting data online. The great problem was the fact of ordering the data in different formats, which opens the possibility of requesting registration as a free personal weather station, presented in Weather-Underground.

Fig. 6 Block diagram solution 

Fig. 7 Redboard Arduino program flowchart 

Fig. 8 Electric Imp Device flow diagram 

Figure 7 shows the process followed to Arduino-type Redboard program developed board, in which libraries, pins, constants, and variables, allow the connection with the Shield with sensors, which is a physical structured net of the sensors. We also perform some calculations such as humidity and dew point or making adjustments in the form, forming the chaining for the Electricimp. The programming language of the Arduino type Redboard are obtained in a freeway from the page www.arduino.cc.

Figure 8 shows the program used by the Electricimp operation in its physical part, confirming the program so, that it can activate the starter manager of the physical device, configure the ports, read data from Redboard, serialize the information, define the necessary synchrony sending the information to the Electricimp Agent.

In Figure 9, it is shown the configuration through programming the links of the associated pages, the identifications, and the passwords. In addition, sectioning and configuring, the file received the physical part of the Electricimp. We also use transferring the device boot via Internet via Wi-Fi, available also in IOS for cell phone applications, using Android. The manufacturer provides a development platform in Squirrel available at www.electricimp.com, where previous schedule registration is available for both, the physical device and the Electricimp agent.

Fig. 9 Electric Imp Agent flow diagram 

As regards Weather Underground, the format requirements to requested chain and the registration of the personal station are present in www.wunderground.com/member/settings. In a particular scheme, the system page corresponds to https://www.wunderground.com/dashboard/pws/ICIUDADD206, which is the place viewed by Meteorologic4 near to Mexico City International Airport.

3 Results

In this section, we present the performance of the system based on integration developed in a Meteorologic4 near to Mexico City International Airport. The following steps are done:

  • — Selecting the development platforms and perform the software operation interfaces obtaining information given an acquisition data hardware structure similar to a portable weather station.

  • — Establishing the remote communication interface via Wi-Fi.

  • — Developing a web page, monitoring the environment variables.

The following three figures show a small part of the development for Arduino-type Redboard, then a small section of the development for Electricimp Device and Electricimp Agent, observed on the WEB page: see figures 10, 11 and12.

Fig. 10 Programming environment in Arduino 

Fig. 11 Electricimp (device and Agent) environment Programming 

Fig. 12 Meteorologic4.org web page 

The meteorological station with alternatives registration process requires:

  • — Intercommunication with neighboring meteorological systems providing information to the portable meteorological station characterizing the specific microclimate, with more information, around the weather in coming days and the historical data consultation.

  • — Another important factor to consider is the uncertainty based on the difference between the physical and historical measures taken into account, as well as, there are sources of uncertainty such as the results of the instrument calibration, the uncertainty of the pattern or reference given by satellite information. The repeatability of readings, reproducibility of measurements by different observers, instruments or other elements. The characteristics of the instrument itself, such as resolution, hysteresis, drift; variations in environmental conditions, the definition of the measuring itself, the particular model of measurement, and the variations in the influence magnitudes. Fortunately, the manufacturer SparkFun specifies in its sensors the calibration from the factory, describing the uncertainty level, results which was checked following the procedure of the National Center for Metrology CENAM, in which the level of uncertainty for temperature was less than 0.1%. In this form, the device covers the application requirements as a portable weather station.

  • Figures 13 and 14a, 14b, present the configuration of Weather-Underground for the Meteorologic4 personal weather station and the information provided in it, such as geolocation and historical information.

Fig. 13 Weather-Underground Configuration 

Fig. 14a Portable station data and its historical 

Fig. 14b Portable station data and its historical, part b 

Figures 15, 16, and 17 present the portable weather station location shown in the portability and geolocation:

  • — Environment monitoring, reconfiguration according to the microclimate meteorological variables. Figure 18 shows the cell phone screen, when the Electricimp accomplishes the initialization. Figure 19 shows the Arduino Internet reconfiguration.

Fig. 15 Portable prototype 

Fig. 16 Geolocation prototype 

Fig. 17 Information on an IPad and the location of the prototype 

Fig. 18 Electric imp initialization cell phone screen 

Fig. 19 Electricimp reconfiguration 

4 Development Features

The station has the following technical features:

  • — Portable weather station operation with a minimum number of measurement sensors and Wi-Fi interconnection perform.

  • — Portable weather station software configuring.

  • — Carrying out the communication interfaces between the sensors, Redboard, the Electric Imp Device, the Electric Imp Agent, the Electric Imp Agent and the Hostinger server, the Electric Imp Agent and the DataSparkfun and the Electric Imp Agent and the Weather-Underground service.

  • — Capturing, digitizing, conditioning, correlating and sending sensor data to the website www.meteorologic4.org.

  • — Reconfiguring the Arduino Redboard data acquisition system, according to the place location.

5 Conclusions

The original motivation was to produce a prototype data acquisition system connected via Wi-Fi in such a way that it was portable and in the process it grew up to be a weather station. It is a large limitation, if we do not count the knowledge or economical resources for large weather stations or paying continuously for its class of services. It is a portable weather station with observable, correlated parameters with other databases and reconfigurable web page using as a means of communication the internet, whose data is viewed as a graph or as a table.

The website has a link that allows to change the file dot, which modifies Redboard's behavior and correlates with Weather Underground information, additional to the information obtained by meteorologic4.org, such as cloud formation, sunrise and sunset times, or today's sunny and next few days; GPS geolocation, in addition to the history. In terms of portability, the prototype is easy. In this paper, we concluded that the main objective was fulfilled and that, furthermore, the possibility of remote reconfiguration opens the door to the possibility of modifying ranges or parameters considering the sensors connections involved to be operated with Arduino development board in adaptive manner.

Using the devices such as Elcetric-Imp, Cayenne, Blynk among others, we open up the possibility for making up applications knowing as the IoT, allowing to observe the weather measurable variables via internet and Wi-Fi platform using an app application for cellular phones and PC with different features and global geolocalization.

As a future work, we propose that the system will be expanded its wired and wireless connection possibilities, for example with the use of an Ethernet, Irda, bluetooth, satellite or similar card, which would facilitate communication with the prototype especially where the internet coverage is not very good.

Referencias

1. Aragón, J. (2015). Acerca del niño. Meteorología y climatología. http://cambioclimaticoyciudades. weebly.com/blog. [ Links ]

2. CINU México. (2015). Meteorología, Clima y Agua. Centro de Información de las Naciones Unidas, http://www.cinu.mx/temas/medio-ambiente/meteorologia- clima-y-agua/. [ Links ]

3. Instituto de Meteorologías. (2015). Línea de tiempo de la climatología y meteorología. Instituto de Meteorología. http://documents.mx/documents/linea-de-tiempo-de-la-climatologia-y-meteorologia.html. [ Links ]

4. ITEM. (2016). Commission for Agricultural Meteorology. WMO http://www.wmo.int/pages/prog/wcp/agm/cagm/cagm_en.php. [ Links ]

5. Laboratorio Metrológico. (2016). Métodos de medición. http://laboratoriometrologico.com/sitio/contenidos_mo.php?it=272. [ Links ]

6. Lozano, J. (2014). Interfaces e Interacción Física. abril 2016, de http://dtic.upf.edu, http://www.cva.itesm.mx/biblioteca/pagina_con_formato_version_oct/apaweb.html. [ Links ]

7. Melero, C. (2008). Primeras teorías meteorológicas en occidente (siglos VI y V a. de c.). http://www.tiempo.com/ram/377/primeras-teorias-meteorologicas-en-occidente-siglos-vi-y-v-a-de-c/. [ Links ]

8. MetAs. (2005). La guía metas. MetAs & Metrólogos Asociados, http://www.metas.com.mx/guiametas/La-Guia-MetAs-05-07-metodos-de-medicion.pdf. [ Links ]

9. OCPY. (2011). Antecedentes Históricos de la Meteorología. CONAGUA.ORG: http://www.conagua.gob.mx/ocpy/Contenido.aspx?id=eb3c78e0-9399-4da1-b395-841ec1fbed11%7CClima%7C3%7C0%7C0%7C0%7C0. [ Links ]

10. Pérez, V.D. (2007). Los diferentes lenguajes de programación para la web. Maestros de la web, http://www.maestrosdelweb.com/los-diferentes-lenguajes-de-programacion-para-la-web/. [ Links ]

11. Raspberry, P. (2014). ¿Qué tarjeta de desarrollo elegir? Hacedores Marked Community http://www.cva.itesm.mx/biblioteca/pagina_con_formato_version_oct/apaweb.html. [ Links ]

12. Rodríguez, F. (2015). Metodologías en el diseño de sistemas embebidos. http://semanticwebbuilder.org. [ Links ]

13. Thamarai, P., Karthik, B. (2014). ARM Based Automatic Meteorological Data Acquisition System. International Journal of Advanced Research in Electrical, Electronics and Instrumentation Engineering, Vol. 3, Issue 1, pp. 6525-6529. [ Links ]

14. Tipos de investigación. (2016). Definición de tipos de investigación. http://www.tiposdeinvestigacion.com. [ Links ]

15. Upaep (2014). Instrumentos meteorológicos. Upaep https://virtual.upaep.mx/bbcswebdav/institution/portales/ingenierias/bachilleratos/ClimatologiaMeteorologia/Instrumentos%20metereologicos.pdf. [ Links ]

16. Duttagupta, S. & Ghosh, T.R. (2014). Forecasting Of Micro Wave Fading Through Meteorological Parameters: A Model Computation. International Journal of Advanced Research in Electrical, Electronics and Instrumentation Engineering , Vol. 3, No. 2, pp. 118-121. [ Links ]

17. Krupanek, B. & Bogacz, R. (2016). Investigations of wireless transmission model based on delta function in indoor environment. IJMQE, Vol. 7, No. 1, pp. 106. [ Links ]

18. Hamid, A., Lateef, M., & Sharif, M. (2013). Analysis of Relationship between Meteorological Variables for the City of Delhi. International Journal of Research in Chemical, Metallurgical and Civil Engg, Vol. 1, No. 1, pp. 16-22. DOI: 10.15242/IJRCMCE.E1113041. [ Links ]

19. Hamid, A.T., Shakeel, M., Sharif, M., & Husain, A. (2014). Analysis of relationship between meteorological variables for the Satluj river basin. National Conference on Water Resources Management- Achievements & Challenges WRM-AC'14, Jamia Millia Islamia University, pp. 262-272. [ Links ]

20. Xu, J., Guo, Q., Lu, Q., Lu, F., & Zhang, X. (2014). Innovations in the data processing algorithm for Chinese FY Meteorological satellites. Journal of Meteorological Research, Vol. 28, No. 5, pp. 948-964. DOI: 10.1007/s13351-014-4034-2. [ Links ]

21. Zhang, H. & Li, X.J. (2014). Review of the field measurements and parameterization for dust emission during sand-dust events, Journal of Meteorological Research , Vol. 28, No. 5, pp 903-922. DOI: 10.1007/s13351-014-3296-z. [ Links ]

22. Tao, Z., Xiong, Q., & Zheng, Y. (2014). Overview of advances in synoptic meteorology: Four stages of development in conceptual models of frontal cyclones, Journal of Meteorological Research , Vol. 28, No. 5, pp 849-858. DOI: 10.1007/s13351-014- 3297. [ Links ]

23. Rodríguez, F.M. (2009). Localización de Caracteres en Imágenes de Instrumentación Digital. Proceedings of URSI-2009 (National Meeting of the International Scientific Radio Union). Santander. [ Links ]

24. Alegría, C.F. & Cruz, S.A. (2000). Automatic Calibration of Analog and Digital Measuring Instruments Using Computer Vision. IEEE Transactions on Instrumentation and Measurement, Vol. 49, No. 1, pp. 94-99. DOI: 10.1109/19.836317. [ Links ]

25. Wimmer, G. & Witkovský, V. (2013). Two models for linear comparative calibration. IJMQE , Vol. 3, pp. 179-184. DOI: 10.1051/ijmqe/2012026. [ Links ]

26. NMISA (2014). Cost effective robust rule calibration system. IJMQE , National Metrology Institute of South Africa, Vol. 5, No. 4, pp. 402. [ Links ]

27. Petibon, S., Cabal, C., Blanc, F., Estibals, B., & Alonso, C. (2010). Automatic data acquisition system for testing photovoltaic conversion chains performances in real conditions. IJMQE , Vol. 1, No. 2, pp. 129-137. [ Links ]

28. Ren, G., Li, J., Ren, Y., Chu, Z., Zhang, A., Zhou, Y., Zhang, L., Zhang, Y., & Bian, T. (2015). No Access An Integrated Procedure to Determine a Reference Station Network for Evaluating and Adjusting Urban Bias in Surface Air Temperature. Data. American meteorologic Society, Vol. 54, No. 12, pp. 134. DOI: 10.1175/JAMC-D-14-0295.1. [ Links ]

29. Zhang, C., Wang, Y., Hamilton, K., Lauer, A. (2016). Dynamical Downscaling of the Climate for the Hawaiian Islands. Part II: Projection for the Late 21st, Vol. 29, pp. 8833-8354. [ Links ]

Received: August 14, 2019; Accepted: October 07, 2019

* Corresponding author is José de Jesús Medel Juarez. jjmedelj@gmail.com

Creative Commons License This is an open-access article distributed under the terms of the Creative Commons Attribution License