GroPoint Profile GPLP-8 Soil Moisture & Temperature topic
- Sensor Datasheet
- Sensor Constructor
- Example Code
- Reference
- Detailed Descriptions
Profiling Probe. Classes for the GroPoint Profile GPLP-8 Soil Moisture & Temperature Probe.
Sensor Datasheet
- GroPoint Profile User Manual, including Modbus Instructions.
- GroPoint Profile Technical Info
Sensor Constructor
Construct a new GroPoint GPLP8 object.
GroPointGPLP8::
Parameters
modbusAddress
The modbus address of the sensor.
stream
An Arduino data stream for modbus communication. See notes for more information on what streams can be used.
powerPin
The pin on the mcu controlling power to the GPLP-8. Use -1 if it is continuously powered.
powerPin2
The pin on the mcu controlling power to the RS485 adapter, if it is different from that used to power the sensor. Use -1 or omit if not applicable.
enablePin
The pin on the mcu controlling the direction enable on the RS485 adapter, if necessary; use -1 or omit if not applicable.
measurementsToAverage
The number of measurements to take and average before giving a "final" result from the sensor; optional with a default value of 1.
Example Code
The GPLP-8 Probe is used in the menu a la carte example.
Classes
- class GroPointGPLP8
- The Sensor sub-class for the GroPoint Profile GPLP8 probe.
- class GroPointGPLP8_Moist
- The Variable sub-class used for the soil moisture output from a GroPoint Profile GPLP8 probe.
- class GroPointGPLP8_Temp
- The Variable sub-class used for the temperature output from a GroPoint Profile GPLP8 probe.
Sensor Variable Counts
The number of variables that can be returned by GPLP8
- #define GPLP8_NUM_VARIABLES = 21
- Sensor::
_numReturnedValues; the GPLP8 can report 8 values. - #define GPLP8_INC_CALC_VARIABLES = 0
- Sensor::
_incCalcValues; we don't calculate any additional values.
Sensor Timing
The sensor timing for a GroPoint Profile GPLP-8
- #define GPLP8_WARM_UP_TIME_MS = 350
- Sensor::
_warmUpTime_ms; time before sensor responds after power - 1.6 seconds (1600ms). - #define GPLP8_STABILIZATION_TIME_MS = 100
- Sensor::
_stabilizationTime_ms; the GPLP-8 is stable after 100 ms. - #define GPLP8_MEASUREMENT_TIME_MS = 200
- Sensor::
_measurementTime_ms; the GPLP-8 takes ~200 ms to complete a measurement.
Moisture
The volumetric soil moisture variable from a GroPoint Profile GPLP-8
- Range is 0% to 50% volumetric water content
- Accuracy is ± 1%
Construct a new GroPointGPLP8_
GroPointGPLP8_
Parameters
parentSense
The parent GroPointGPLP8 providing the result values.
sensorVarNum
The position the variable result holds in the variable result array. The GroPoint GPLP8 can have up to 8 soil moisture results. When creating the variable for soil moisture, you must specify the output number from the sensor.
uuid
A universally unique identifier (UUID or GUID) for the variable; optional with the default value of an empty string.
varCode
A short code to help identify the variable in files; optional with a default value of "GPLP8Moist".
- #define GPLP8_MOIST_RESOLUTION = 1
- Decimals places in string representation; soil moisture should have 1.
- #define GPLP8_MOIST_VAR_NAME = "volumetricWaterContent"
- Variable name in ODM2 controlled vocabulary;.
- #define GPLP8_MOIST_UNIT_NAME = "percent"
- Variable unit name in ODM2 controlled vocabulary;.
- #define GPLP8_MOIST_DEFAULT_CODE = "GPLP8Moist"
- Default variable short code; "GPLP8Moist".
Temperature
The temperature variable from a GroPoint Profile GPLP-8
- Range is -20°C to + 70°C
- Accuracy is ± 0.5°C
Construct a new GroPointGPLP8_
GroPointGPLP8_
Parameters
parentSense
The parent GroPointGPLP8 providing the result values.
sensorVarNum
The position the variable result holds in the variable result array. The GroPoint GPLP8 can have up to 8 temperature results. When creating the variable for temperature, you must specify the output number from the sensor.
uuid
A universally unique identifier (UUID or GUID) for the variable; optional with the default value of an empty string.
varCode
A short code to help identify the variable in files; optional with a default value of "GPLP8Temp".
- #define GPLP8_TEMP_RESOLUTION = 1
- Decimals places in string representation; temperature should have 1 - resolution is 0.1°C.
- #define GPLP8_TEMP_VAR_NAME = "temperature"
- Variable name in ODM2 controlled vocabulary; "temperature".
- #define GPLP8_TEMP_UNIT_NAME = "degreeCelsius"
- Variable unit name in ODM2 controlled vocabulary; "degreeCelsius" (°C)
- #define GPLP8_TEMP_DEFAULT_CODE = "GPLP8Temp"
- Default variable short code; "GPLP8Temp".
Define documentation
#define GPLP8_NUM_VARIABLES = 21
#include <src/sensors/GroPointGPLP8.h>
Sensor::
#define GPLP8_INC_CALC_VARIABLES = 0
#include <src/sensors/GroPointGPLP8.h>
Sensor::
#define GPLP8_WARM_UP_TIME_MS = 350
#include <src/sensors/GroPointGPLP8.h>
Sensor::
This is the time for communication to begin.
#define GPLP8_STABILIZATION_TIME_MS = 100
#include <src/sensors/GroPointGPLP8.h>
Sensor::
#define GPLP8_MEASUREMENT_TIME_MS = 200
#include <src/sensors/GroPointGPLP8.h>
Sensor::
#define GPLP8_MOIST_RESOLUTION = 1
#include <src/sensors/GroPointGPLP8.h>
Decimals places in string representation; soil moisture should have 1.
- resolution is 0.1 %.
#define GPLP8_MOIST_VAR_NAME = "volumetricWaterContent"
#include <src/sensors/GroPointGPLP8.h>
Variable name in ODM2 controlled vocabulary;.
#define GPLP8_MOIST_UNIT_NAME = "percent"
#include <src/sensors/GroPointGPLP8.h>
Variable unit name in ODM2 controlled vocabulary;.
#define GPLP8_MOIST_DEFAULT_CODE = "GPLP8Moist"
#include <src/sensors/GroPointGPLP8.h>
Default variable short code; "GPLP8Moist".
#define GPLP8_TEMP_RESOLUTION = 1
#include <src/sensors/GroPointGPLP8.h>
Decimals places in string representation; temperature should have 1 - resolution is 0.1°C.
#define GPLP8_TEMP_VAR_NAME = "temperature"
#include <src/sensors/GroPointGPLP8.h>
Variable name in ODM2 controlled vocabulary; "temperature".
#define GPLP8_TEMP_UNIT_NAME = "degreeCelsius"
#include <src/sensors/GroPointGPLP8.h>
Variable unit name in ODM2 controlled vocabulary; "degreeCelsius" (°C)
#define GPLP8_TEMP_DEFAULT_CODE = "GPLP8Temp"
#include <src/sensors/GroPointGPLP8.h>
Default variable short code; "GPLP8Temp".