(see Figure 1). A reference resistor of known value
was used between the first and second pins, and by
measuring the voltage difference across this resistor,
the current flowing through the soil was determined.
The third and fourth pins provide a high input
impedance voltage measurement and given the
known current, the resistance of the soil between
these two points can be determined. As the voltage
measurements require extremely small currents, this
measurement technique is relatively immune to
irregularities in probe to soil impedance.
Figure 1: Schematic diagram of Wenner Array.
To minimise ground field, capacitive and
electrochemical effects, the system used a square
wave oscillating voltage, first passing the current in
one direction, then reversing polarity to pass the
current in the opposite direction. A frequency of
20Hz was used, as suggested by US Geophysical
Surveys (Environmental Geophysics, 2011), with a
processor voltage of 3.3v (regulated).
Given the range of observed soil resistance
values shown in Table 1, the reference resistor value
of 330 Ohms was chosen to maximise measurement
resolution. This gave an absolute current limit of
10mA, well within the PIC limit of 25mA, but in
effect, typical observed currents were of the order of
2 to 3mA.
The system used 4 cycles, each of 50ms, taking
voltage and current readings 24ms into each half
cycle, and averaging the results. Readings taken
earlier in the cycle demonstrated differing capacitive
effects within different types of soil, but these were
typically found to be minimised towards the end of
the 25ms half cycles.
The temperature readings were made using probe
heads consisting of two, 1N4148 diodes in series,
forward biased by a known, fixed, small current
(nominally 8.8uA), provided by the PIC CTMU
constant current source. The forward voltage
developed by the diodes under these circumstances
is linearly proportional to the temperature
(Yedamale, 2009) but with a negative slope co-
efficient. These were buried in the soil at a depth of
approximately 5cm and readings taken every 15 to
21 minutes. Resolution was in the region of 0.2´C.
To reduce random noise, each stated reading is
the average of 64 readings taken approximately
20uS apart. A 1K Ohm resistor was used in series at
the PIC end to limit the current in the event of a
short circuit in the probe or its wiring.
The system was powered from three 1.5V
alkaline AA cells. Whilst the PIC is in sleep mode,
current consumption (including regulator leakage) is
less than 100uA. Current consumption peaks at
around 4mA for around 1 second every 15 minutes,
thus, based on a nominal capacity of 1200mAh, the
power source can be sustained in excess of a year
provided the unit is not subjected to wide extremes
of temperature which would reduce battery life. The
MCP1700-330 regulator was chosen for low drop
out and low quiescent current reasons.
All the electronics and batteries were housed in a
small IP56 rated ABS box, with an LED protruding
from the top, connected to the PIC via a 1K resistor.
This allowed both status indication and monitoring
of the external brightness level, providing a
convenient day/night reference channel.
A typical PIC18F family member has 64Kbytes
of flash memory, with the program code taking less
than 2K, this leaves more than adequate storage
space for over 7000 readings to be logged. At 3
minute intervals, this allowed readings to be logged
for experiments in excess of 14 days. For longer
term field use, with readings taken every 20 minutes,
these units could be deployed in trials of up to 3
months. For larger data storage capacity options see
Section 4.
Total component cost of each unit was less than
10 Euros including probes, casing and batteries,
making the units ideal for large scale deployment
both for research and practical agronomic use. The
choice of materials and components was made to
improve the likelihood of availability in third world
countries, the main PCB being pre-manufactured,
whilst final assembly would be performed locally.
Three experimental trials were performed. The
first over a four day period in a clay based soil,
during which several bouts of heavy rainfall
occurred.
For the second trial the unit was repositioned into
a recently prepared almond orchard, again in a
SENSORNETS2014-InternationalConferenceonSensorNetworks
374