-108-
v7.2
Sensors probes
4.17.2. Measurement process
The Datasol MET provides a digital signal using the RS-485 protocol.
Reading code:
{
// 1. Declare an object for the sensor
DatasolMET mySensor;
// 2. Turn ON the sensor
mySensor.ON();
}
// main loop
{
// 3. Read the sensor. Values stored in class variables
// Check complete code example for details
mySensor.read();
//(...)
}
You can find a complete example code for reading this sensor probe in the following link:
http://www.libelium.com/development/waspmote/examples/ag-xtr-24-datasol-met-sensor-reading
4.17.3. Socket
Connect the solar radiation and temperature Datasol MET probe to Plug & Sense! Smart Agriculture Xtreme in the
socket shown in the image below.
Figure: Available socket for the solar radiation and temperature Datasol MET probe