Co2 sensor

New sensors integration, sensor boards usage...
Post Reply
iideetee
Posts: 3
Joined: Mon Jul 29, 2019 8:21 am
Company: MIcroteam Oy

Co2 sensor

Post by iideetee » Tue Jul 30, 2019 7:25 am

I have Plug & Sense! SE-PRO 4G EU/BR with CO2 sensor and Plug & Sense! SA 4G EU/BR with soil moisture, soil temperature, ultrasound sensors.
problem is with the CO2 sensor. it doesn't give any values where is sense. I have used your "Programming Cloud service" for programming the nodes and downloaded hex-files with "Libelium smart devices app". All other sensor works pretty fine fine except temperature sensor. Pls see the link below. When the temperature raises near 60 degrees it start sending zero values almost every second reading. Reading and send values is set to every 30 min and devices are powered directly via usb.

http://dev-microteam.com/dts/

Data from the CO2 sensor:
data: 3C3D3E0618 5F6E18FDC337DEFB 4D595F4D4F544523E0346401 000080BF
data: 3C3D3E0618 5F6E18FDC337DEFB 4D595F4D4F544523E1346401 000080BF
data: 3C3D3E0618 5F6E18FDC337DEFB 4D595F4D4F544523E2346401 000080BF
data: 3C3D3E0618 5F6E18FDC337DEFB 4D595F4D4F544523E3346401 000080BF
data: 3C3D3E0618 5F6E18FDC337DEFB 4D595F4D4F544523E4346401 000080BF

As you can see the CO2-sensor send -1 value all the time.
Any ideas what to test/do? Co2 sensor is most important/expensive sensor and it doesn't work at all.

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

Re: Co2 sensor

Post by libelium-dev » Tue Jul 30, 2019 10:48 am

Hi iideetee,

Please, first of all, check the sensor is attached in the proper socket declared in the PCS generated code.

In order to test the sensor individually, you can test it using the example code of the IDE,
http://www.libelium.com/development/was ... s-sensors/

You should connect the sensor in the socket declared in the code. Also, T/H/P sensor should be attached in socket E.

You can enable the debug mode modifying the WaspSensorGas_Pro.h file line 77 from 0 to 2 to get more info. Then share with us the output of the code through the serial monitor.

You can download the last IDE with the last API version from here,
http://www.libelium.com/development/plu ... plications

Regards

iideetee
Posts: 3
Joined: Mon Jul 29, 2019 8:21 am
Company: MIcroteam Oy

Re: Co2 sensor

Post by iideetee » Tue Aug 06, 2019 11:07 am

Hi!

Thanks for the quick answer. Yes CO2-sensor is connected to socket A, because it is only socket which support it. I don't have any T/H/P-sensor. I have only CO2-sensor. I have told that CO2 sensor is the only one that can be used without T/H/P sensor.
Hi Joni,
The CO2 sensor is the only one that can be used without the T+H+P sensor, the other gas sensors must be connected with the T+H+P sensor to get accurate measurements.
If you need anything additional I will be happy to assist.
Bests,



Ana Sancho

Senior Sales Area Manager
Agriculture, Water, Environment
AMERICA & EUROPE

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

Re: Co2 sensor

Post by libelium-dev » Tue Aug 06, 2019 1:15 pm

Hi,

Please test the sensor with th following code, just connect the CO2 sensor in socket A. It will be useful f you activate the debug mode as we explained in the previous answer. Then share with us the output of the code.

Code: Select all

#include <WaspSensorGas_Pro.h>

/*
   Define object for sensor: gas_PRO_sensor
   Input to choose board socket.
   Waspmote OEM. Possibilities for this sensor:
  	- SOCKET_1
   P&S! Possibilities for this sensor:
  	- SOCKET_A
  	- SOCKET_B
  	- SOCKET_C
  	- SOCKET_F
*/
Gas gas_PRO_sensor(SOCKET_A);

float concentration;	// Stores the concentration level in ppm
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("NDIR CO2 example"));

  gas_PRO_sensor.ON();

}

void loop()
{

  concentration = gas_PRO_sensor.getConc();

  // And print the values via USB
  USB.println(F("***************************************"));
  USB.print(F("Gas concentration: "));
  USB.print(concentration);
  USB.println(F(" ppm"));

  delay(2000);

}
Did you hear something loose if you move the sensor?

Regards

iideetee
Posts: 3
Joined: Mon Jul 29, 2019 8:21 am
Company: MIcroteam Oy

Re: Co2 sensor

Post by iideetee » Tue Aug 06, 2019 1:45 pm

Hi!

here are the results and seems we have a problem. Im not sure if there is something loose in it. Maybe some rattle can hear when I shake it.
NDIR CO2 example
[GASES PRO] ON function
[GASES PRO] Sensor power 3V3 to ON
[GASES PRO] ******************************************************
[GASES PRO] SOCKET -> A
[GASES PRO] SERIAL NUMBER:
[GASES PRO] AFE VER: 0
[GASES PRO] SENSOR TYPE: 255
[GASES PRO] SENSITIVITY: 1.000 nA/ppm
[GASES PRO] BASELINE: 0.000 nA
[GASES PRO] Calibration table
[GASES PRO] 0: 0.0000000000 ; 1.0000000000
[GASES PRO] 1: 0.0000000000 ; 1.0000000000
[GASES PRO] 2: 0.0000000000 ; 1.0000000000
[GASES PRO] 3: 0.0000000000 ; 1.0000000000
[GASES PRO] 4: 0.0000000000 ; 1.0000000000
[GASES PRO] 5: 0.0000000000 ; 1.0000000000
[GASES PRO] 6: 0.0000000000 ; 1.0000000000
[GASES PRO] ******************************************************
[GASES PRO] LMP91000 communication error
[GASES PRO] LMP91000 communication error
[GASES PRO] LMP91000 communication error
[GASES PRO] Error,sensor not started
***************************************
Gas concentration: -1.0000000000 ppm
[GASES PRO] Error,sensor not started
***************************************
Gas concentration: -1.0000000000 ppm
[GASES PRO] Error,sensor not started
***************************************
Gas concentration: -1.0000000000 ppm
[GASES PRO] Error,sensor not started
***************************************
Gas concentration: -1.0000000000 ppm
[GASES PRO] Error,sensor not started
***************************************

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

Re: Co2 sensor

Post by libelium-dev » Wed Aug 07, 2019 8:52 am

Hi,

It seems there is some hardware issue with the sensor, please fill the RMA form and we will contact you to solve the issue.

Regards

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest