Ecoinformatics site parent site of Partnership for Biodiversity Informatics site parent site of REAP - Home


 

 

 



Terrestrial Use Case Hardware

Info

Below find details on the terrestrial usecase hardware, some pictures from a dry run setup, screenshots of an example Kepler workflow using the DataTurbine actor and the resulting plots. The CRBasic program used to collect these data is also posted below.

The datafile that comes out of Loggernet, an ascii comma separated .dat file (LoggerNet "TOA5" format) was parsed and pushed into my DataTurbine server with a small java program I wrote (DatToRBNB.java). This program can create a new DataTurbine channelmap using all the data in a TOA5 file or be periodically run on a growing file to append to an existing channelmap. (* currently have a bug w/ append mode periodically dropping old data). DatToRBNB can also be used to pull data from DataTurbine and print it to stdout (in fact pulling data is also done when pushing using append mode, to gather knowledge about the state of the existing DataTurbine data before appending).

Note: Don't try to read too much into these plots--data were collected indoors, from hardware that was occasionally moved about, powered off, etc. DatToRBNB.java and the DataTurbine actor were both being modified as well.

Hardware

For sensors see further down the page.
name quantity model details notes
Tripod 1 CM6 6'
Datalogger 1 CR800
Enclosure 1 enc12/14 two 1.25in conduits
Antenna 1 ANT-DB1-HDP-SMA Dual-Band Surface Mount Dipole (Horizontal); 3dBi
Antenna 1 "Maxrad" 5 Element Yagi 9DBD
Radios 2 RF401 Spread spectrum 910.5-917.7Mhz; 38.4K Data max data rate; Maxstream - 9XStream X09-009 transceiver module I've set both to 38.4
Power Supply with Charging Regulator 1 PS100 12Vdc, 7Ahr don't let it drop below 10.5V
Solar Panel 1 SP10 10W. Current at peak: 0.59A. Voltage at peak: 16.8 V

Pictures


Not shown: mounted yagi and lightening rod (goes vertical at the very top). Mount for Yagi is above anemometer cross-arm mount--we may want to reverse this if possible to interfere less with the anemometer.


A terrible wiring job, when we deploy we should tie-off to the sides in enclosure (and along tripod etc) for strain relief / future sanity. Solar panel mounted upside down, I've since flipped the arm so it can be more easily mounted w/ a good incidence angle on the mast right side up. Depending on grass height, we could alternatively mount it on a leg. Note also the radio sitting on top--this with antenna cable going into lightening arrestor will need to be mounted/set/tied in some way inside the enclosure.


2 reflectometers, 2 line quantum sensors, 1 (qsosun) quantum sensor, rain gage without bucket (will be mounted on a separate post, away from tripod), grounding rod and cable in background. We need to order a mount for the qsosun, and figure how to mount it so it doesn't interfere--do we need a second crossarm?

Workflow

A bit messy...

Sensor Hardware with Example Plots

All times are in seconds since unix epoch. This will be remedied in the future, it requires a fair amount of development to be implemented properly. You can easily see when I switched from AC to solar near the beginning of the battery voltage plot. Sensors and the solar panel were occasionally arbitrarily moved about. We had one cloudy day.

plot Vendor name/description sensor model units notes
Air Temp Campbell Temp & RH Probe #1 CS215-L Deg C inside Gill Radiation Shield (41303-5A)
Relative Humidity Campbell Temp & RH Probe #1 CS215-L % inside Gill Radiation Shield (41303-5A)
Battery Voltage Campbell (12V Power Supply w/ Voltage Regulator) (PS100) Volts
Line Photosynthetic Photon Flux (PPF) 1 Apogee Line Quantum Sensor #1 LQS70-10 mV [1]
Line PPF 2 Apogee Line Quantum Sensor #2 LQS70-10 mV [1]
Point PPF Apogee Quantum Sensor QSO-SUN mV [#1] plot is mV. Sensor has standard calibration 5.00 Ámol m^-2s^-1 per mV. Full sunlight is 2000Ámol m^-2s^-1 (400mV). PPF = sensor output * 5.00 Ámol m^-2s^-1
Records n/a n/a n/a
Wind Speed Campbell Anemometer 014A-L m/s blew on it a few times
Volumetric Water Content (VWC) 1 Campbell Reflectometer #1 CS616 % update: inserted into potting soil, then some amount of water unscientifically dumped in.
VWC 2 Campbell Reflectometer #2 CS616 % update: inserted into potting soil, then some amount of water unscientifically dumped in.
Rain Campbell Tipping Bucket Rain gage TE525MM-L mm forgot to plot this one initially, plot covers more time than others. Manually activated switch once; no rain inside my office yet.

Air Temp

Relative Humidity

Battery Voltage

Line Photosynthetic Photon Flux (PPF) 1

Line PPF 2

Point PPF

Records

Wind Speed

Volumetric Water Content (VWC) 1

VWC 2

Rain

Datalogger program

This is the CRBasic program running on the CR800 doing the sampling.

allSensors.CR8:


'CR800
'Created by Short Cut (2.5)
'
'Modified to fit my wiring. Also made other changes. Derik Barseghian 09.12.07 
'ie WARNING: don't trust the wiring diagrams Shortcut shows when you open this prog

'Declare Variables and Units
Public Batt_Volt
Public VW
Public PA_uS
Public VW_2
Public PA_uS_2
Public lqs70(2)
Public qsosun
Public WS_ms
Public TRHData(2)
Public Rain_mm

Alias TRHData(1)=AirTC
Alias TRHData(2)=RH

Units Batt_Volt=Volts
Units PA_uS=uSec
Units PA_uS_2=uSec
Units lqs70=mV
Units qsosun=mV
Units WS_ms=meters/second
Units Rain_mm=mm
Units AirTC=Deg C
Units RH=%

'Define Data Tables
DataTable(Table1,True,-1)
        DataInterval(0,10,Min,10)
        Minimum(1,Batt_Volt,FP2,False,False)
        Average(1,VW,FP2,False)
        Average(1,VW_2,FP2,False)
        Average(1,lqs70(1),FP2,False)
        Average(1,lqs70(2),FP2,False)
        Average(1,qsosun,FP2,False)
        Average(1,WS_ms,FP2,False)
        Maximum(1,WS_ms,FP2,False,False)
        Minimum(1,WS_ms,FP2,False,False)
        Average(1,AirTC,FP2,False)
        Sample(1,RH,FP2)
        Totalize(1,Rain_mm,FP2,False)
EndTable

'Main Program
BeginProg
        Scan(30,Sec,1,0)
                'Default Datalogger Battery Voltage measurement Batt_Volt:
                Battery(Batt_Volt)
                'CS616 Water Content Reflectometer measurements VW and PA_uS:
                CS616(PA_uS,1,5,1,1,1,0)
                VW=-0.0663+(-0.0063*PA_uS)+(0.0007*PA_uS^2)
                'CS616 Water Content Reflectometer measurements VW_2 and PA_uS_2:
                CS616(PA_uS_2,1,6,2,1,1,0)
                VW_2=-0.0663+(-0.0063*PA_uS_2)+(0.0007*PA_uS_2^2)
                'Generic Single-Ended Voltage measurements lqs70(1):
                VoltSe(lqs70(1),2,mV2500,1,True,0,_60Hz,1.0,0.0)
                'Generic Single-Ended Voltage measurements qsosun:
                VoltSE(qsosun,1,mV2500,2,True,0,_60Hz,1.0,0.0)
                '014A Wind Speed Sensor measurement WS_ms:
                PulseCount(WS_ms,1,1,2,1,0.8,0.447)
                If WS_ms<0.457 Then WS_ms=0
                'CS215 Temperature & Relative Humidity Sensor (CSL) measurements AirTC and RH:
                SDI12Recorder(AirTC,3,"0","M!",1,0)
                'TE525MM/TE525M Rain Gauge measurement Rain_mm:
                PulseCount(Rain_mm,1,2,2,0,0.1,0)
                'Call Data Tables and Store Data
                CallTable(Table1)
        NextScan
EndProg

Wiring details

This is how I've currently got things wired.

sensor wiring
LQS70-10 1 red - SE1 clear - earth ground black - power ground (G)
LQS70-10 2 red - SE2 clear - earth ground black - power ground (G)
QSO-SUN red - SE3 clear - earth ground black - power ground (G)
CS616 1 green - SE5 black - power ground (G) clear - power ground (G) orange - c1 red - 12V
CS616 2 green - SE6 black - power ground (G) clear - power ground (G) orange - c2 red - 12v
014A-L black - p1 white - earth ground clear - earth ground
CS215-L clear - earth ground black - power ground (G) white - power ground (G) red - 12v green - C3
TE525MM-L black - p2 white - earth ground clear - earth ground

Computer (ugly notes-dump that i'll clean up later...:)

Details on the computer1 that will be deployed at Internet Point of Presence:
Dell Optiplex gx270 p4 2.8ghz winXP Pro sp2 1gb 75gb ntfs (65gb free)
Bios:
Boot Sequence: 1. Floppy device (not installed) 2. IDE CD-ROM Device 3. Hard-Disk Drive C: 4. Integrated NIC
PowerOn: On. Everyday at 00:00
Remote wake is On.
AC Power Recovery: On
Windows Auto logon has been enabled via tweakui
LoggerNet is in Startup folder
Windows Automatic Updates turned off. WIndows firewall is on.
dyndns updater running as a service (ask me for address)
tightvnc server running with "Allow only loopback connections" set. ie you must ssh tunnel. starts automatically on login
dyndns address must be used at least once monthly for it to not expire
sshd installed using cygwin, following these instructions: http://pigtail.net/LRP/printsrv/cygwin-sshd.html

computer2:
the machine formerly known as dogbert
Dell Optiplex GX270 p4 3ghz winXP LoggerNet is in Startup folder (even though this box might not be used for campbell gear in the future; loggernet is not config'd for the CR800)
XP account name: visitor, has admin rights.
Windows Automatic Updates turned off. WIndows firewall is on.
Bios:
Boot Sequence: 1. IDE CD-ROM Device 2. Hard-Disk Drive C: 3. Diskette Drive 4. Integrated NIC
PowerOn: On. Everyday at 00:00
Remote wake is On.
AC Power Recovery: On
Windows Auto logon has been enabled via tweakui

dyndns updater running as a service (ask me for address)
tightvnc server running with "Allow only loopback connections" set. ie you must ssh tunnel. starts automatically on login
dyndns address must be used at least once monthly for it to not expire
sshd installed using cygwin, following these instructions: http://pigtail.net/LRP/printsrv/cygwin-sshd.html

UPS:

Both systems will be connected to identical UPS, 1 UPS per computer.
UPS details: APC BE350R "Battery Backup ES Series", 350VA 120V USB 200Watts. 8 outlets, 4 provide battery backup.

APC Powerchute Personal Edition v2.0 installed on each pc.
Defaults settings kept, except: "Enable battery backup at all times" has been chosen.
Runtime is by default "Keep my computer on as long as possible". This should give ~7 minutes of pc runtime if pc is the only draw (the other UPS claims 36 minutes when connected to either PC...seems bogus.)

Todo:

  • ensure dyndns address is used at least once monthly to keep from expiring

Deployment at Baskett Slough (Dec. 2007):

(On slanted ground, it is level despite appearances. Loose cables have since been secured to legs and ground.)


Attachments:
IMG_1052.jpg Info on IMG_1052.jpg 103887 bytes
terrestrial_hardware1.jpg Info on terrestrial_hardware1.jpg 160990 bytes
IMG_1053.jpg Info on IMG_1053.jpg 82683 bytes
terrestrial_hardware3.jpg Info on terrestrial_hardware3.jpg 239044 bytes
IMG_1054.jpg Info on IMG_1054.jpg 94164 bytes
terrestrial_hardware2.jpg Info on terrestrial_hardware2.jpg 197955 bytes
IMG_1056.jpg Info on IMG_1056.jpg 56178 bytes
IMG_1057.jpg Info on IMG_1057.jpg 72961 bytes
IMG_1051.jpg Info on IMG_1051.jpg 71790 bytes


Go to top   Edit this page   More info...   Attach file...
This page last changed on 10-Jun-2008 15:18:39 PDT by uid=barseghian,o=NCEAS.