HeliosMini Wetterstation/Datenlogger: Unterschied zwischen den Versionen
Nanu (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „HeliosMini rht von Skye Instruments ist eine kleine Wetterstation, die Luftfeuchte und Tauwasser misst und aufzeichnet. Ein Regenmesser kann noch angeschlossen…“) |
Nanu (Diskussion | Beiträge) K |
||
Zeile 25: | Zeile 25: | ||
** <code>8</code> ... 2 hours | ** <code>8</code> ... 2 hours | ||
− | NOTE - these logging intervals are ‘spot’ logs only. The logger will take a set of 3 consecutive | + | NOTE - these logging intervals are ‘spot’ logs only. The logger will take a set of 3 consecutive measurements at each logging interval time and store the average of these 3 measurements. No measurements are taken to form an average over the entire the logging interval. |
Mit dem folgenden Shell-Script konnte ich die Zeit des Datenloggers mit der Systemzeit des Raspberry Pi einstellen: | Mit dem folgenden Shell-Script konnte ich die Zeit des Datenloggers mit der Systemzeit des Raspberry Pi einstellen: |
Aktuelle Version vom 11. September 2014, 14:43 Uhr
HeliosMini rht von Skye Instruments ist eine kleine Wetterstation, die Luftfeuchte und Tauwasser misst und aufzeichnet. Ein Regenmesser kann noch angeschlossen werden. Das Gerät besitzt eine serielle Schnittstelle zum Herunterladen der Daten. Die Einstellungen sind:
- 9600 baud, no parity, 8 data bits, 1 stop bits and Xon / Xoff flow control
Laut dem Benutzerhandbuch gelten folgende Befehle:
a
... Offload in ASCIIb
... Offload in (formatted) Binaryc
... Send Readings from all Channels (No Logging)d
... Send Logger Status1
... Send Logger TimeRM
... Reset Memory
T
... Set the Date and Time. This must be entered exactly - hour, minute, second, day, month, year, e.g. 100620010301 which would be 10:06:20 on 01/03/01. This will be repeated and you need to enter OK (in capital letters). The logger will repeat OK and the changes will take effect. Please note, the date and time must be entered within 3 seconds of pressing T. If not, the logger will reset itself and no changes will have been made. You will then need to repeat the process.
ID
... Enter new logger ID. This must be exactly 16 characters (numbers or letters) which must not include spaces, commas, full stops etc. For example you could enter HeliosinField010.
Then enter OK (in capitals) and OK will be repeated and the changes will take effect. Please note, the date and time must be entered within 3 seconds of pressing ID. If not, the logger will reset itself and no changes will have been made. You will then need to repeat the process.
SF
... Enter new scaling factors. These must be entered as a string of numbers which are 6 sets of 5 digits. The first is the figure for 1%RH, the second for 75% RH, the others are spare calibration points and any numbers may be entered. For example, you could enter 476285094311111222223333344444 whereby 47628 is the 1% calibration figure, 50943 is the 75% calibration figure and the remaining numbers are not used in this version of the Helios range and any numbers or letters may be entered.
These numbers will be repeated, enter OK (in capitals) which will be repeated and the changes will take effect. Please note, the date and time must be entered within 3 seconds of pressing SF. If not, the logger will reset itself and no changes will have been made. You will then need to repeat the process
LI
... This will change the Log Interval. The codes are:1
... 1 minute2
... 5 minutes3
... 10 minutes4
... 15 minutes5
... 20 minutes6
... 30 minutes7
... 1 hour8
... 2 hours
NOTE - these logging intervals are ‘spot’ logs only. The logger will take a set of 3 consecutive measurements at each logging interval time and store the average of these 3 measurements. No measurements are taken to form an average over the entire the logging interval.
Mit dem folgenden Shell-Script konnte ich die Zeit des Datenloggers mit der Systemzeit des Raspberry Pi einstellen:
#!/bin/bash echo T $(date +"00%H%M%S%d%m%y)") > /dev/USB-Serial-Port && sleep 1 && echo "OK" > /dev/USB-Serial-Port
Zu beachten ist, dass ich aus unerfindlichen Gründen noch zwei Nullen vorne an das Datum hängen musste.