|
|
![]() |
HOW TO: Make Stevens Hydraprobe soil temperature and moisture sensor (analog)
work with CR10X datalogger and AM16/32 multiplexer
Created: Chirag Shukla Revision History: 0.0 (Initial
Draft) |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Instruments and materials:
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Preliminary reading: |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Connections:
Case: CR10X was used for testing in the field with several sensors including 5 hydraprobes. The station was powered with a 12V 7AHr rechargeable battery. The battery was recharged with a 10W solar panel. It was noticed that the battery would drain out in a matter of a few days. Sensors, other than the hydraprobes, were removed from the wiring panel in an attempt to narrow down the sensor(s) causing the battery drainage. It appeared that hydraprobes drew 35-40 mA power. An attempt was made to move hydraprobes to an AM16/32 multiplexer followed by switching power to the multiplexer for a short time at given intervals. Measurements were taken only when the multiplexer was powered up. Here's a sample code:
;==========================================================
; HYDRAPROBES
; CR10X :: AM16/32 (16x4)
; G :: GND
; 5H :: COM ODD H
; 5L :: COM ODD L
; G :: G
; 6H :: COM EVEN H
; 6L :: COM EVEN L
; G :: G
; C3 :: CLK
; C2 :: RES
; 12V :: 12V
;
; C1 to SW12v-CTRL JUMPER
; wire from SW12 goes to terminal block
; terminal block - connect all red wires of hydraprobe
; blue/brown/yellow/green/white/black wires of hydraprobe
; go into AM16/32 (2" = #1, 4" = #2...so on)
; currently attached: 2", 8", 4", 20" and 40"
;
;==========================================================
; shutting it down to save battery life
; when in the 29th minute of 30-min span, start collecting
; data from the multiplexer
26: If time is (P92)
1: 29 Minutes (Seconds --) into a
2: 30 Interval (same units as above)
3: 30 Then Do
; RES (C2) - activate multiplexer
27: Do (P86)
1: 42 Set Port 2 High
; start looping - there are 5 sensors
; 2", 4", 8", 20", 40"
28: Beginning of Loop (P87)
1: 0 Delay
2: 5 Loop Count
; step 4 times in the loop - one time for each voltage
29: Step Loop Index (P90)
1: 4 Step
; advance the clock
30: Do (P86)
1: 73 Pulse Port 3
; power up the hydraprobe (c1/12v-sw)
31: Do (P86)
1: 41 Set Port 1 High
; wait for 5 seconds after excitation
32: Excitation with Delay (P22)
1: 1 Ex Channel
2: 0 Delay W/Ex (0.01 sec units)
3: 500 Delay After Ex (0.01 sec units)
4: 0 mV Excitation
; measure voltage - 4 replications
; go to item 4 and press F4 for the double-dash
; to index ports to the loop counter
33: Volt (SE) (P1)
1: 4 Reps
2: 5 2500 mV Slow Range
3: 9 SE Channel
4: 18 -- Loc [ v11 ]
5: 1.0 Multiplier
6: 0.0 Offset
; power down the hydraprobe
34: Do (P86)
1: 51 Set Port 1 Low
; stop loop p87
35: End (P95)
; RES (C2) - deactivate multiplexer
36: Do (P86)
1: 52 Set Port 2 Low
37: End (P95)
Data would get stored in location v11 (i.e. voltage #1 of sensor #1). Measurements of voltage #2 of sensor #1 will be stored in the following location in the location-table, which I have named v12. Following two measurements of voltages get stored in v13 and v14 respectively. Similarly, for sensor #5, voltages 1 through 4 are stored in v51 through v54 locations. After the 4 voltages are collected for each of the 5 sensors, use hydra.exe from to extract meaningful soil data (temperature, moisture, salinity, conductivity) from the voltage readings. Campbell Scientific also has a P201 Hydraprobe instruction in LoggerNet that may be used to automatically store meaningful results instead of raw voltages. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Acknowledgements:
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Disclaimer: The views and opinions expressed in this page are strictly those of the author. The contents of this page have not been reviewed or approved by either the State Climate Office or the University. |
|
Home | Current Weather | Ag Data | Climate | Archive Data | Links | News | Archive News | Site Map | Feedback |