Question about dendrometer

New sensors integration, sensor boards usage...
Post Reply
jmarzo
Posts: 4
Joined: Wed Feb 13, 2019 5:05 pm
Company: Telcombas

Question about dendrometer

Post by jmarzo » Thu Nov 21, 2019 6:31 pm

I have installed a dendrometer with a P&S Agriculture PRO. I always get 12.5 mm in the output. Is the installation OK?

https://drive.google.com/file/d/17RG8SP ... sp=sharing

dendrometerClass dendSensor(SENS_SA_DC3);
// Variable to store the read value
float value_dend;

// Part 1: Read the dendrometer sensor
value_dend = dendSensor.readDendrometer();

// Part 2: USB printing
// Print the Dendrometer value through the USB
USB.print(F("Dendrometer: "));
USB.printFloat(value_dend,3);
USB.println(F("mm"));


Output:



J#
Battery Level: 92 %
Module 4G ready!
3. Switch OFF 4G module
Contador de envios:
0
enter deep sleep

wake up
1. 4G module ready...
Time:Mon, 19/11/18, 11:30:49
+++ RTC interruption +++
----------------------------------------------------
----------------------------------------------------

Battery Level: 88 %
Temperature: 27.4500007629 Celsius
Humidity: 59.6708984375 %
Pressure: 101159.2109375000 Pa

Radiation: 0.0000000000 umol*m-2*s-1
PT1000: 5682.912 ºC
Watermark 1 - Frequency: 1077.5861816406 Hz
Leaf Wetness: 0.0000000000 %
Dendrometer: 12.500mm

libelium-dev
Posts: 27967
Joined: Mon Sep 28, 2009 1:06 pm

Re: Question about dendrometer

Post by libelium-dev » Fri Nov 22, 2019 11:56 am

Hi,

Did you try to expand and contract the sensor? Do the values change?

What API version did you use to upload the code?

The sensor should be expanded when it is installed since when the trunk grows, the sensor is contracted.

Regards

jmarzo
Posts: 4
Joined: Wed Feb 13, 2019 5:05 pm
Company: Telcombas

Re: Question about dendrometer

Post by jmarzo » Sat Nov 23, 2019 12:16 am

I am using V042.

I did this today but the result is the same.

https://drive.google.com/file/d/1FFAFX6 ... sp=sharing

libelium-dev
Posts: 27967
Joined: Mon Sep 28, 2009 1:06 pm

Re: Question about dendrometer

Post by libelium-dev » Mon Nov 25, 2019 9:14 am

Hi,

Is the dendrometer connected to socket C?

Could you please test the sensor using the example code to discard a hardware problem? Please only connect the dendrometer sensor to the node and use the following example code to test it (remember to set SENS_SA_DC3 in the code). Share with us the output through the serial monitor.
http://www.libelium.com/development/was ... r-reading/
http://www.libelium.com/development/was ... reference/

Regards

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest