mirror of
https://github.com/miguel5612/MQSensorsLib.git
synced 2025-03-15 05:17:30 +03:00
RS/RO Ratio in clean air added success
This commit is contained in:
parent
93d8685378
commit
37db4af4bf
@ -31,18 +31,19 @@ double RS_air,_R0, _m, _b, _ratio;
|
||||
#define defaultMQ309 "CO" //CO
|
||||
|
||||
/*****************************Globals***********************************************/
|
||||
#define RatioMQ2CleanAir 1
|
||||
#define RatioMQ3CleanAir 2
|
||||
#define RatioMQ4CleanAir 3
|
||||
#define RatioMQ5CleanAir 4
|
||||
#define RatioMQ6CleanAir 5
|
||||
#define RatioMQ7CleanAir 6
|
||||
#define RatioMQ8CleanAir 7
|
||||
#define RatioMQ9CleanAir 8
|
||||
#define RatioMQ131CleanAir 9
|
||||
#define RatioMQ135CleanAir 131
|
||||
#define RatioMQ303CleanAir 135
|
||||
#define RatioMQ309CleanAir 303
|
||||
//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 RatioMQ3CleanAir 60 //RS / R0 = 9.83 ppm
|
||||
#define RatioMQ4CleanAir 4.4 //RS / R0 = 4.4 ppm
|
||||
#define RatioMQ5CleanAir 6.5 //RS / R0 = 6.5 ppm
|
||||
#define RatioMQ6CleanAir 10 //RS / R0 = 10 ppm
|
||||
#define RatioMQ7CleanAir 11.6 //RS / R0 = 11.6 ppm
|
||||
#define RatioMQ8CleanAir 70 //RS / R0 = 70 ppm
|
||||
#define RatioMQ9CleanAir 9.6 //RS / R0 = 9.6 ppm
|
||||
#define RatioMQ131CleanAir 11 //RS / R0 = 11 ppm
|
||||
#define RatioMQ135CleanAir 3.6//RS / R0 = 3.6 ppm
|
||||
#define RatioMQ303CleanAir 1 //RS / R0 = 1 ppm
|
||||
#define RatioMQ309CleanAir 11 //RS / R0 = 11 ppm
|
||||
|
||||
/***********************Software Related Macros************************************/
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user