ANALOG3
when selected the proper output of a multiplexer that connects this sensor and one of the Watermark soil humidity sensors to that analog pin. The value returned by the reading function of the library corresponds to the percentage of condensation present on the sensor. The power supply of the sensor (3.3 V) can be cut off or connected through the switched controlled by the digital pin ANALOG7
. It is highly recommended to switch off this sensor in order to minimize the global consumption of the board (you can find more information about the consumption of the board and how to handle it in chapter "Board configuration and programming").readWatermark()
returns the frequency output of the sensor's adaptation circuit in Herzs (Hz), for more information about the conversion into soil water tension look at Appendix 1 in this technical guide. It is highly recommended to switch off this sensor in order to minimize the global consumption of the board (you can find more information about the consumption of the board and how to handle it in chapter "Board configuration and programming").readDS18b20()
returns the temperature value in Celsius degree (ºC). The power supplies required by the sensor is 3.3 V.readPT1000()
returns the temperature value in Celsius degree (ºC). The power supplies required by the sensor, both 3.3 V and 5 V, are controlled internally by the library.WaspSensorAgr_v30
explained in the chapter "API" about this API library, returning the read value in millimeters (mm). The 3.3 V and 5 V power supplies of the devices may be cut off or connected via the digital switch controlled internally by the library.setReference()
function (it should be run inside the setup()). Then, the value returned is calculated with the current value of the dendrometer minus the reference stored, as if it was an offset. So the measurement will be the upgrowth of the fruit using the readGrowth()
function.WaspSensorAgr_v30
explained in the chapter "API" about this API library, returning the read value in millimeters (mm). The 3.3 V and 5 V power supplies of the devices may be cut off or connected via the digital switch controlled internally by the library.setReference()
function (it should be run inside the setup()
). Then, the value returned is calculated with the current value of the dendrometer minus the reference stored, as if it was an offset. So the measurement will be the upgrowth of the fruit using the readGrowth()
function.WaspSensorAgr_v30
explained in chapter "API" about this API library, returning the read value in millimeters (mm). The 3.3 V and 5 V power supplies of the devices may be cut off or connected via the digital switch controlled internally by the library. It is highly recommended to switch off this sensor in order to minimize the global consumption of the board (you can find more information about the consumption of the board and how to handle it in chapter "Board configuration and programming").setReference()
function (it should be run inside the setup()
). Then, the value returned is calculated with the current value of the dendrometer minus the reference stored, as if it was an offset. So the measurement will be the upgrowth of the fruit using the readGrowth()
function.WaspSensorAgr_v30
for the Agriculture v3.0 Board. The 5 V power supply of this stage is controlled through a digital switch that can be activated and deactivated using the digital pin DIGITAL7
.WaspSensorAgr_v30
for the Agriculture v3.0 Board. The 5 V power supply of this stage is controlled through a digital switch that can be activated and deactivated using the digital pin DIGITAL7
. WaspSensorAgr_v30
for the Agriculture v3.0 Board. The 5 V power supply of this stage is controlled through a digital switch that can be activated and deactivated internally by the library.DIGITAL2
of the Waspmote. The function of the library readAnemometer()
returns the wind speed value in kilometers per hour (km/h). The power of the sensor and of the electronics around it may be connected or disconnected using a digital switch controlled internally by the library.ANALOG1
pin, whose output can be measured in the analog input ANALOG5
. The function of the library readVaneDirection()
also stores in variable vane_direction
an 8 bits value which corresponds with an identifier of the pointing direction.SENS_AGR_VANE_N
SENS_AGR_VANE_NNE
SENS_AGR_VANE_NE
SENS_AGR_VANE_ENE
SENS_AGR_VANE_E
SENS_AGR_VANE_ESE
SENS_AGR_VANE_SE
SENS_AGR_VANE_SSE
SENS_AGR_VANE_S
SENS_AGR_VANE_SSW
SENS_AGR_VANE_SW
SENS_AGR_VANE_WSW
SENS_AGR_VANE_W
SENS_AGR_VANE_WNW
SENS_AGR_VANE_NW
SENS_AGR_VANE_NNW
getVaneFiltered()
in order to perform a mean filtered measurement during a specified period of time. Thus, mechanical fluctuations will be avoided and a more accurate measurement will be done. See example here: https://development.libelium.com/ag-v30-09-wind-vane/DIGITAL4
digital input through a pull-up resistance and to the interruption pin RXD1
, allowing the triggering of an interruption of the microcontroller when the rainfall provokes a bucket emptying event. Since the consumption of this sensor, in absence of rain, is null, no elements of power control have been added for it.storePulse()
and it should be called every time a new pluviometer interruption is generated. On the other hand, it is possible to know three different values given by the following functions:readPluviometerCurrent()
calculates the precipitations in mm for the current period. For example, it is 10:42 am, so this function returns the mm of rainfall that took place in the last 42 minutes.readPluviometerHour()
calculates the precipitations in the previous one-hour period. For example, it is 10:42 am, so this function returns the mm of rainfall between 9 am and 10 am.readPluviometerDay()
calculates the accumulated precipitation in the last 24 hours.