User Tools

Site Tools


en:aws

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
en:aws [2014/08/18 19:16] – [Communication interface] fluktuaciaen:aws [2015/01/27 11:50] – [Data recording] kaklik
Line 159: Line 159:
 ==== RS232/RS485 ==== ==== RS232/RS485 ====
  
-Modules  [[cs:rs232single|RS232SINGLE01A]] or [[cs:ttlrs485|TTLRS48501A]] and microcontroller are suitable to establish a connection depending on the application complexity.+Modules  [[cs:rs232single|RS232SINGLE01A]] or [[cs:ttlrs485|TTLRS48501A]] with microcontroller are suitable to establish a connection depending on the application complexity.
  
 ==== Ethernet ==== ==== Ethernet ====
Line 177: Line 177:
 === I²C master === === I²C master ===
  
-In this case, the entire device acts as [[cs:usbi2c| I²C to USB converter]], with reading from individual sensors implemented by program running in USB HOST device. The advantage of this design lies in possibility of obtaining relatively precise information about an absolute time in which the values were measured. Furthermore, changes in software and configuration can be done simply by updating the control program without a risky firmware replacement.+In this case, the entire device acts as [[cs:usbi2c| I²C to USB converter]], with reading from individual sensors implemented by program running at USB HOST device. The advantage of this design lies in possibility of obtaining relatively precise information about an absolute time in which the values were measured. Furthermore, changes in software and configuration can be done simply by updating the control program without a risky firmware replacement.
  
 === Emulated COM port === === Emulated COM port ===
Line 204: Line 204:
  
  
-===== Reading of measured values =====+===== Reading of the measured values =====
  
 This design offers a possibility of connecting variety of sensors, which are initialised at every station startup. It uses [[cs:i2c|I²C bus]]  with [[cs:i2chub|I2CHUB02A]] module and predefined set of sensors. This design offers a possibility of connecting variety of sensors, which are initialised at every station startup. It uses [[cs:i2c|I²C bus]]  with [[cs:i2chub|I2CHUB02A]] module and predefined set of sensors.
Line 223: Line 223:
 ===== Auto diagnostics ===== ===== Auto diagnostics =====
  
-Necessary to implement algorithms controlling mutual correlations of measured values and to detect anomalies.+Still necessary to implement algorithms controlling mutual correlations of measured values and to detect anomalies.
  
-  * Wind direction can not change without speed indication by anemometer.+  * Wind direction can not change without speed indication from anemometer.
  
  
Line 265: Line 265:
 ===== Output data format ===== ===== Output data format =====
  
-Ideal output data should be compatible with of the already used meteorological data protocols:+Ideal output data should be compatible with one of the already used meteorological data protocols:
  
   * NMEA   * NMEA
Line 276: Line 276:
 ==== Data recording ==== ==== Data recording ====
  
-Data measured by weather station should be recorded and displayed locally. That is why a program serving the weather station should run either on local computer or directly on weather station processor. In the latter case, the weather station would probably run a web server as well, which could provide local data previews and send them to collection network.+Data measured by weather station should be recorded and displayed locally. That is why a program serving the weather station should run either on local computer or directly on weather station processor. In the latter case, the weather station would probably run a web server as well, which could provide local data previews and send them to collecting network.
  
 The following list contains some of the most widespread Open-Source programs for local data recording and processing. The following list contains some of the most widespread Open-Source programs for local data recording and processing.
Line 288: Line 288:
 [[http://www.wunderground.com/weatherstation/setup.asp?MR=1#software|zdroj]] [[http://www.wunderground.com/weatherstation/setup.asp?MR=1#software|zdroj]]
  
-Our ideal program should be multi-platform with minimal operating requirements and with possibility of sending data to one of the global network of weather stations. The data should be, at the same time, locally backed up and they should be able to combine with data from other stations. Examples of such databases include: [http://www.arpa.emr.it/dettaglio_documento.asp?id=514&idlivello=64| DB-All.e]]  or [[http://www.unidata.ucar.edu/software/netcdf/docs/|NetCDF]].+Our ideal program should be multi-platform with minimal operating requirements and with possibility of sending data to one of the global network of weather stations. The data should be, at the same time, locally backed up and they should be able to combine with data from other stations. Examples of such database include: [[http://www.arpa.emr.it/dettaglio_documento.asp?id=514&idlivello=64| DB-All.e]]  or [[http://www.unidata.ucar.edu/software/netcdf/docs/|NetCDF]].
  
 ===== Examples of use ===== ===== Examples of use =====
Line 332: Line 332:
   * **ver** denotes the device and firmware version    * **ver** denotes the device and firmware version 
   * **seq** is the serial number of a measurement    * **seq** is the serial number of a measurement 
-  * **temp[K]** denotes the temperature from thermometer (in hundredths of Kelvin) +  * **temp[K]** denotes the temperature measured thermometer (in hundredths of Kelvin) 
   * **hum_temp[K]** - temperature from 1st humidity sensor    * **hum_temp[K]** - temperature from 1st humidity sensor 
   * **hum[%]** - relative humidity measured by 1st humidity sensor    * **hum[%]** - relative humidity measured by 1st humidity sensor 
Line 348: Line 348:
 This condition occurs after resetting the device. This condition occurs after resetting the device.
  
-Following that, a new firmware can be send using a command listed below (either under root account or under account with absolute access to the serial line)+Following that, a new firmware can be send using a command listed below (either under root account or under account with access to the serial line)
  
   $ echo uf > /dev/ttyUSB0     $ echo uf > /dev/ttyUSB0  
Line 366: Line 366:
  
   * [[http://en.wikipedia.org/wiki/Automatic_weather_station|Automatic weather station]]   * [[http://en.wikipedia.org/wiki/Automatic_weather_station|Automatic weather station]]
 +  * [[http://iepas.net/update-on-the-mma-weather-station/|MMA Weather Station]] - Related project with almost the same ideas. 
   * [[http://en.wikipedia.org/wiki/Automated_airport_weather_station|Automated airport weather station]]   * [[http://en.wikipedia.org/wiki/Automated_airport_weather_station|Automated airport weather station]]
   * [[http://en.wikipedia.org/wiki/Climate_and_Forecast_Metadata_Conventions|Climate and Forecast Metadata Conventions]]   * [[http://en.wikipedia.org/wiki/Climate_and_Forecast_Metadata_Conventions|Climate and Forecast Metadata Conventions]]
en/aws.txt · Last modified: 2015/03/05 22:49 (external edit)