We have bought this DGS2 Sensors for our thesis project. The other group that we know also bought a DGS2 for S02 but theirs does not have any problem when running the sensors with Arduino IDE. Their readings does not jump from 30 PPM to 18 PPM to 7 and even negative numbers like -17 PPM like ours. But our NO2 DGS2 sensor does not act like this. Our NO2 sensor will only act irrational for the first 2-3 minutes then it will be stable to desirable readings. However the SO2 sensor will continue to jump from relatively large numbers to small numbers then after 5 minutes of continuous readings it will finally go into 0.000 PPM until a one 3 PPM reading will appear then continue to 0.000PPM nonstop. We have read that these sensors need a startup duration for 1-24 hours but we are getting worried that our SO2 sensor may be faulty or we may be using the wrong code for our arduino IDE. Please help as soon as possible
Welcome to the forum.
Does the sensor work normally with the setup and test application that is described in the data sheet?
If yes, then the problem is your code.
If no, then the problem is either a bad sensor or interference from your environment.
Hello, I am sorry but do you have a program/code that we can use to verify if our program/code is the problem? Thanks!
The manufacturers data sheet describes the program and says where to get it.
Hello @reinhartsuba
@PaulHutch is correct, on pages 7 and 8 it shows the program that comes pre-configured from Spec Sensors for part number 1684-970-010-ND
DGS2-970-Series-Datasheet-23b.pdf
I am using an Arduino Mega microcontroller for the sensors. Would these programs at page 7 and 8 of the data sheet work on Arduino IDE as well?