Temperature, Humidity and Pressure Sensor Probe - Lifespan

New sensors integration, sensor boards usage...
Post Reply
woody_747
Posts: 14
Joined: Wed Feb 07, 2018 3:12 pm
Company: InTechnology WiFi

Temperature, Humidity and Pressure Sensor Probe - Lifespan

Post by woody_747 » Mon May 20, 2019 5:49 pm

Hi,

I have noticed around a year after we started using the Plug and Sense with the Temperature, Humidity and Pressure Sensor Probe, it is now returning incorrect values.

-147 degrees for example.

Is there any way to confirm that this is just the lifespan of the probe coming to an end or is there anything else I can check? Have rebooted. I haven't changed anything code related since purchase and it has been working without issue up until now. All probes are plugged in as per instruction on the documentation.

Cheers

Kris

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

Re: Temperature, Humidity and Pressure Sensor Probe - Lifespan

Post by libelium-dev » Tue May 21, 2019 9:12 am

Hi,

It could be an issue in the I2C bus reading the sensor or the sensor could be damaged.

Could you please test the sensors individually using the example code? Does it work?

Could you please share the code used with us to check if the code is correct?

Regards

woody_747
Posts: 14
Joined: Wed Feb 07, 2018 3:12 pm
Company: InTechnology WiFi

Re: Temperature, Humidity and Pressure Sensor Probe - Lifespan

Post by woody_747 » Tue May 21, 2019 11:23 am

Hi,

Thanks for your response,

When I upload the Temp Hum and Pres test code the values returned are all 1000.

Where do I find the original code after uploading the test? I believe the unit was shipped ready to go so haven't uploaded a working code to it before now.

Cheers

Kris

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

Re: Temperature, Humidity and Pressure Sensor Probe - Lifespan

Post by libelium-dev » Tue May 21, 2019 3:01 pm

Hi Kris,

Don't worry about the original code, once we analyze the problem, we will give you the instructions to upload the original code to the node again.

Please using the last IDE available, upload the following code to the node. Connect the temp, hum, press sensor to the socket A and disconnect all other sensors. Then please copy here the output through the serial monitor

Code: Select all

#include <WaspSensorCities_PRO.h>

/*
   Waspmote OEM. Possibilities for this sensor:
    - SOCKET_1
    - SOCKET_2
    - SOCKET_3
    - SOCKET_4
    - SOCKET_5
   P&S! Possibilities for this sensor:
    - SOCKET_A
    - SOCKET_B
    - SOCKET_C
    - SOCKET_E
    - SOCKET_F
*/
bmeCitiesSensor  bme(SOCKET_A);

float temperature;	// Stores the temperature in ºC
float humidity;		// Stores the realitve humidity in %RH
float pressure;		// Stores the pressure in Pa


void setup()
{
  USB.println(F("Temperature, humidity and pressure sensor example"));
}


void loop()
{
  ///////////////////////////////////////////
  // 1. Turn on the sensor
  ///////////////////////////////////////////

  bme.ON();


  ///////////////////////////////////////////
  // 2. Read sensors
  ///////////////////////////////////////////

  temperature = bme.getTemperature();
  humidity = bme.getHumidity();
  pressure = bme.getPressure();

  // And print the values via USB
  USB.println(F("***************************************"));
  USB.print(F("Temperature: "));
  USB.printFloat(temperature, 2);
  USB.println(F(" Celsius degrees"));
  USB.print(F("RH: "));
  USB.printFloat(humidity, 2);
  USB.println(F(" %"));
  USB.print(F("Pressure: "));
  USB.printFloat(pressure, 2);
  USB.println(F(" Pa"));


  ///////////////////////////////////////////
  // 3. Turn off the sensor
  ///////////////////////////////////////////

  bme.OFF();


  ///////////////////////////////////////////
  // 4. Sleep
  ///////////////////////////////////////////

  // Go to deepsleep
  // After 10 seconds, Waspmote wakes up thanks to the RTC Alarm
  USB.println(F("Go to deep sleep mode..."));
  PWR.deepSleep("00:00:00:10", RTC_OFFSET, RTC_ALM1_MODE1, ALL_OFF);
  USB.println(F("Wake up!!\r\n"));

}
Don't hesitate to ask if you have any doubt.
Regards

woody_747
Posts: 14
Joined: Wed Feb 07, 2018 3:12 pm
Company: InTechnology WiFi

Re: Temperature, Humidity and Pressure Sensor Probe - Lifespan

Post by woody_747 » Tue May 21, 2019 3:58 pm

Hi,

OK no worries, thanks for your help. I get the output below with this code.

Temperature, humidity and pressure sensor example
***************************************
Temperature: -143.35 Celsius degrees
RH: 100.00 %
Pressure: 47963.49 Pa
Go to deep sleep mode...
Wake up!!

***************************************
Temperature: -143.35 Celsius degrees
RH: 100.00 %
Pressure: 47983.06 Pa
Go to deep sleep mode...
Wake up!!

***************************************
Temperature: -143.35 Celsius degrees
RH: 100.00 %
Pressure: 47981.10 Pa
Go to deep sleep mode...
Wake up!!

***************************************
Temperature: -143.35 Celsius degrees
RH: 100.00 %
Pressure: 47979.15 Pa
Go to deep sleep mode...
Wake up!!

***************************************
Temperature: -143.35 Celsius degrees
RH: 100.00 %
Pressure: 47967.41 Pa
Go to deep sleep mode...
Wake up!!

***************************************
Temperature: -143.35 Celsius degrees
RH: 100.00 %
Pressure: 48010.47 Pa
Go to deep sleep mode...


Kind Regards

Kris

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

Re: Temperature, Humidity and Pressure Sensor Probe - Lifespan

Post by libelium-dev » Wed May 22, 2019 11:24 am

Hi,

It seems that the BME sensor is damaged. Please fill the RMA form and our tech support team will provide you with the information to start a RMA process and they will give you the instructions to recover your original code.
https://www.libelium.com/contact/#rma

Regards

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest