mirror of
https://github.com/miguel5612/MQSensorsLib.git
synced 2025-03-15 05:17:30 +03:00
Uncomment coments because constants are needed
This commit is contained in:
parent
6a549c0ac5
commit
02653e47db
BIN
MQSensorsLib.zip
Normal file
BIN
MQSensorsLib.zip
Normal file
Binary file not shown.
@ -24,7 +24,7 @@
|
|||||||
|
|
||||||
/*****************************Globals***********************************************/
|
/*****************************Globals***********************************************/
|
||||||
//From the graph, we can see that the resistance ratio in fresh air is a constant:
|
//From the graph, we can see that the resistance ratio in fresh air is a constant:
|
||||||
/*
|
|
||||||
#define RatioMQ2CleanAir 9.83 //RS / R0 = 9.83 ppm
|
#define RatioMQ2CleanAir 9.83 //RS / R0 = 9.83 ppm
|
||||||
#define RatioMQ3CleanAir 60 //RS / R0 = 60 ppm
|
#define RatioMQ3CleanAir 60 //RS / R0 = 60 ppm
|
||||||
#define RatioMQ4CleanAir 4.4 //RS / R0 = 4.4 ppm
|
#define RatioMQ4CleanAir 4.4 //RS / R0 = 4.4 ppm
|
||||||
@ -37,7 +37,7 @@
|
|||||||
#define RatioMQ135CleanAir 3.6//RS / R0 = 3.6 ppm
|
#define RatioMQ135CleanAir 3.6//RS / R0 = 3.6 ppm
|
||||||
#define RatioMQ303CleanAir 1 //RS / R0 = 1 ppm
|
#define RatioMQ303CleanAir 1 //RS / R0 = 1 ppm
|
||||||
#define RatioMQ309CleanAir 11 //RS / R0 = 11 ppm
|
#define RatioMQ309CleanAir 11 //RS / R0 = 11 ppm
|
||||||
*/
|
|
||||||
|
|
||||||
//From the calibration program we can obtain the R0 value for each sensor
|
//From the calibration program we can obtain the R0 value for each sensor
|
||||||
#define R0_MQ2 9.659574468 //R0 after 48 hours pre-heating the sensor
|
#define R0_MQ2 9.659574468 //R0 after 48 hours pre-heating the sensor
|
||||||
|
Loading…
x
Reference in New Issue
Block a user