Hi Pat,
Thanks for this helpfull Topic.
I´m absolutelly new here, and also developing projects with Arduino or any other platform, so please be patient with me.
I have been trying to build an SO2 Concentration logger. My question is regarding your project shown in your Arduino library.
https://github.com/SPEC-Sensors/ULPSM4
Do i just need to fill in the sensor sensibility (in my case is 29.40 and change the sensor type to SO2?I changed also the final line to read temp in Celcius.
The thing is my numbers do not make too much sense, temperature doesn´t change at all, stays at -18 and concentratons are in the -3 to -1. Vgas is in the range of 200.
To avoid pasting the whole script here, will show the sections i have changed
const int C1 = A0;
const int T1 = A3;
const float Sf1 = 29.40; //nA/ppm replace this value with your own sensitivity
float temp1;
float TZero;
float Vzero1;
SO2 sensor1(C1, T1, Sf1); //Sensor Types are EtOH, H2S, CO, IAQ, SO2, NO2, RESP, O3, and SPEC (custom)
//O3 sensor2(C2, T2, Sf2); //Example O3
//H2S sensor3(C3, T3, Sf3); //Example H2S
And then the final lines…
//Use .getConc(1, temp1) where temp1 is in deg C for temperature corrected span
// Use .genConc(1,sensor1.getTemp(1)) for Farenheit
Serial.print(", ");
Serial.println(sensor1.getConc(1,temp1));
delay(100);
your help wll be much appreciated.
Best Regards Nic