Smart Agri - DS18B20 Temperature reading -1000

Post Reply
michellefitz
Posts: 44
Joined: Mon Aug 08, 2016 1:49 pm

Smart Agri - DS18B20 Temperature reading -1000

Post by michellefitz » Sun Dec 01, 2019 1:47 pm

Hi,

I have an Waspmote P&S Smart Agri v12. We got an additional soil temperature probe (DS18B20) and have connected to socket C.

Uploading the following example codes :

http://www.libelium.com/development/was ... r-reading/
http://www.libelium.com/development/was ... g-ds18b20/

both return reading of -1000

as follows

E#
Temperature example
===============================
Current ASCII Frame:
Length: 39
Frame Type: 128
frame (HEX): 3C3D3E800123343033343636393838234E6F64655F30312330235443423A2D313030302E303023
frame (STR): <=>€#403466988#Node_01#0#TCB:-1000.00#
===============================
===============================
Current ASCII Frame:
Length: 39
Frame Type: 128
frame (HEX): 3C3D3E800123343033343636393838234E6F64655F30312331235443423A2D313030302E303023
frame (STR): <=>€#403466988#Node_01#1#TCB:-1000.00#
===============================
===============================


E#
DS1820 Temperature: -1000.0000000000 degrees
DS1820 Temperature: -1000.0000000000 degrees
DS1820 Temperature: -1000.0000000000 degrees
DS1820 Temperature: -1000.0000000000 degrees
DS1820 Temperature: -1000.0000000000 degrees


I am using Waspmote Pro IDE - v04 downloaded from
http://www.libelium.com/v12/development ... lications/ with API - v023.

I also upgrade to API - v030 (by downloading from here https://www.libelium.com/forum/viewtopic.php?t=25479 and extracting / replacing the folders libraries, examples and hardware/waspmote/cores/waspmote-api.

I have seen the following topic on the forum https://www.libelium.com/forum/viewtopi ... 0&start=50 and tried the suggestions in relation to changes to wiring.h but no differance.

I have also tried moving the probe to different sockets.


Please advise as to next step.

Thanks,
Michelle

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

Re: Smart Agri - DS18B20 Temperature reading -1000

Post by libelium-dev » Mon Dec 02, 2019 9:12 am

Hi,

The last API version compatible with v12 devices is v032. You can donwload it from here
http://downloads.libelium.com/waspmote-pro-api-v032.zip

The examples you uploaded to the node are for Agriculture v15 devices and to connect the the sensor directed to Waspmote board. You can find the examples related to P&S Agriculture v12 in the following link
http://www.libelium.com/v12/development ... ture-board

Please try the Ag 14 example and let us know if it works.

Regards

michellefitz
Posts: 44
Joined: Mon Aug 08, 2016 1:49 pm

Re: Smart Agri - DS18B20 Temperature reading -1000

Post by michellefitz » Mon Dec 02, 2019 11:25 am

Hi,

Thanks for your reply.

I have downloaded V32 and extracted to folders libraries, examples and hardware/waspmote/cores/waspmote-api.

I then used the example from http://www.libelium.com/v12/development ... mperature/ and still getting the following reading :

===============================
Current ASCII Frame:
Length: 41
Frame Type: 128
frame (HEX): 3C3D3E800123343033343636393838234E6F64655F303123313031235443423A2D313030302E303023
frame (STR): <=>€#403466988#Node_01#101#TCB:-1000.00#
===============================
===============================
Current ASCII Frame:
Length: 41
Frame Type: 128
frame (HEX): 3C3D3E800123343033343636393838234E6F64655F303123313032235443423A2D313030302E303023
frame (STR): <=>€#403466988#Node_01#102#TCB:-1000.00#
===============================
===============================
Current ASCII Frame:
Length: 41
Frame Type: 128
frame (HEX): 3C3D3E800123343033343636393838234E6F64655F303123313033235443423A2D313030302E303023
frame (STR): <=>€#403466988#Node_01#103#TCB:-1000.00#
===============================
===============================
Current ASCII Frame:
Length: 41
Frame Type: 128
frame (HEX): 3C3D3E800123343033343636393838234E6F64655F303123313034235443423A2D313030302E303023
frame (STR): <=>€#403466988#Node_01#104#TCB:-1000.00#
===============================


I am connected to socket C but have also tried socket D, same output.

Is there anything else that I can try - can you confirm that the way I am upgrading to latest api is correct ?

Thanks,
Michelle

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

Re: Smart Agri - DS18B20 Temperature reading -1000

Post by libelium-dev » Tue Dec 03, 2019 11:52 am

Hi,

Yes, the way to install the libraries is correct.

If you are using a P&S Smart Agriculture, the socket used to read the sensor is the socket C.

Do you know the order number of the DS18B20 sensor? Is it a sensor for v12 devices?

Regards

michellefitz
Posts: 44
Joined: Mon Aug 08, 2016 1:49 pm

Re: Smart Agri - DS18B20 Temperature reading -1000

Post by michellefitz » Tue Dec 03, 2019 12:22 pm

Hi,

I only got this sensor last week - the invoice number is 1805, I got this from MTG along with a couple of other sensors :

WS-3000 - Version 12 9256-P-V12,
Libelium - Soil Moisture 4.5 v12 9324-P-V12,
Libelium - Soil Temperature (DS18B20) 86949-P,

thanks,
Michelle

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

Re: Smart Agri - DS18B20 Temperature reading -1000

Post by libelium-dev » Wed Dec 04, 2019 10:13 am

Hi Michelle,

We think that your 86949-P sensor is for v15 devices instead of v12 and therefore the internal connections are different. Please ask your sales agent if they sold the correct sensor version.

Regards

michellefitz
Posts: 44
Joined: Mon Aug 08, 2016 1:49 pm

Re: Smart Agri - DS18B20 Temperature reading -1000

Post by michellefitz » Wed Dec 04, 2019 1:42 pm

Hi,

Thanks for update - I am following up with them but did request v12 and provide details of the unit I had, so the probes should be correct. If they confirm V12 what is next recommended course of action ?

THanks,
Michelle

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

Re: Smart Agri - DS18B20 Temperature reading -1000

Post by libelium-dev » Thu Dec 05, 2019 10:05 am

Hi,

According to our quality-control tests, it is an SD18B20 sensor for v15 devices. Please fill the RMA form and our tech support team will contact you to solve the issue.
https://www.libelium.com/contact/#rma

Regards

michellefitz
Posts: 44
Joined: Mon Aug 08, 2016 1:49 pm

Re: Smart Agri - DS18B20 Temperature reading -1000

Post by michellefitz » Thu Dec 05, 2019 11:32 am

Hi,

Are the other probes I got correct for V12 also, or do I ned to return them too ?

WS-3000 - Version 12 9256-P-V12,
Libelium - Soil Moisture 4.5 v12 9324-P-V12,
Libelium - Soil Temperature (DS18B20) 86949-P,

Thanks,
Michelle

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

Re: Smart Agri - DS18B20 Temperature reading -1000

Post by libelium-dev » Tue Dec 10, 2019 11:28 am

Hi,

The WS-3000 (9256-P-V12) and Soil Moisture 4.5 v12 (9324-P-V12) sensors are the correct ones to be used with P&S v12. Anyway, please test them and let us know if they are working properly.

Apologies for the inconvenience.
Regards

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest