You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"The first and only Arduino library where SP3S-AQ2 Gas Sensor combine with Data Science"
1) Advanced Data Science System for Regression Calculations
2) Ppm Analysis of SP3S-AQ2 Gases
3) Slope Estimation in Time-Dependent SP3S-AQ2 Gases
Ppm Formullas
The first formula is determined according to all points while the second formula is determined according to the first and last point. (if R^2 = 1 (%100) always: logm = valueb, logb = log10(valuea)).
y = ax^b --> ppm = a×ratio^b
Therefore, we need to make a transition according to the formula:
In data graphs, the x-axis is given as ppm and the y-axis is given as ratio.
Determining coefficients a and b according to the ratio
Methane
a
b
R > 0.952
1.1086
-0.0448
0.94 < R <= 0.952
0.9867
-0.0105
0.906 < R <= 0.94
1.097
-0.0335
0.878 < R <= 0.906
1.0513
-0.0261
0.842 < R <= 0.878
1.1424
-0.0381
R <= 0.842
2.2563
-0.1231
IsoButane
a
b
R > 0.821
1.0725
-0.0786
0.658 < R <= 0.821
1.5342
-0.1838
0.514 < R <= 0.658
1.8529
-0.2248
0.351 < R <= 0.514
3.1315
-0.3168
0.231 < R <= 0.351
4.8725
-0.3808
R <= 0.231
4.0796
-0.3586
CO
a
b
R > 0.658
1.4117
-0.2244
0.428 < R <= 0.658
2.2176
-0.3572
0.274 < R <= 0.428
2.7757
-0.406
0.148 < R <= 0.274
5.0696
-0.5116
0.084 < R <= 0.148
5.2111
-0.5156
R <= 0.084
3.0264
-0.4477
Ethanol
a
b
R > 0.554
1.6105
-0.3138
0.303 < R <= 0.554
3.0468
-0.5012
0.148 < R <= 0.303
6.1074
-0.6522
0.067 < R <= 0.148
6.3217
-0.6583
0.042 < R <= 0.067
1.2629
-0.4251
R <= 0.042
1.0192
-0.3983
Hydrogen
a
b
R > 0.444
1.5579
-0.3691
0.237 < R <= 0.444
2.6156
-0.5214
0.139 < R <= 0.237
2.2189
-0.4857
0.07 < R <= 0.139
3.5841
-0.5698
0.05 < R <= 0.07
0.5806
-0.3063
R <= 0.05
0.2205
-0.1853
Determining SensorCalibrationValue
V = I × R
Final ppm calculation
Check out all our DataScience libraries under the SpaceData series!
"The first and only Arduino library series where Gas Sensors and Geiger Counter combine with Data Science"
This library calculates the ppm values of Methane, IsoButane, CO, Ethanol and Hydrogen using analog data obtained from the SP3S-AQ2-01 gas sensor. Additionally, the library supports Python-based data science applications, including ppm concentration graph simulations and a ppm slope estimation platform for advanced data analysis.