Migrated documentation to another repo
@ -1,24 +0,0 @@
|
|||||||
************************************************************************************************************************************************
|
|
||||||
MQ sensor reading library for arduino
|
|
||||||
|
|
||||||
Note: remember that all the parameters below can be modified during the program execution with the methods:
|
|
||||||
setR0, setRL, setA, setB where you will have to send as parameter the new value, example: MQ4.setR0(20); //R0 = 20K
|
|
||||||
|
|
||||||
Authors: Miguel A. Califa U - Yersson R. Carrillo A - Ghiordy F. Contreras C
|
|
||||||
Contributors: Andres A. Martinez - Juan A. Rodríguez - Mario A. Rodríguez O
|
|
||||||
|
|
||||||
Sensor: MQ-4
|
|
||||||
Supply voltage: 5V
|
|
||||||
R0: - Sin determinar -
|
|
||||||
RL: 10KOhm
|
|
||||||
Model: Logarithmic regression with parameters.
|
|
||||||
a = 10000 | b = 50000
|
|
||||||
Development board: Arduino
|
|
||||||
|
|
||||||
|ADC_In | Equation_V_ADC | Voltage_ADC | Equation_R | Resistance_RS | EQ_Ratio | Ratio (RS/R0) | Equation_PPM | PPM |
|
|
||||||
***********************************************************************************************************************************************
|
|
||||||
| 224 | v = ADC*5/1024 | 1.09375 | RS = ((5*RL)/Voltage) - RL| RS = 1.07K | Ratio = RS/R0| Ratio = .123K | a*ratio^b | 100000 PPM |
|
|
||||||
| 224 | v = ADC*5/1024 | 1.09375 | RS = ((5*RL)/Voltage) - RL| RS = 1.07K | Ratio = RS/R0| Ratio = .123K | a*ratio^b | 100000 PPM |
|
|
||||||
| 224 | v = ADC*5/1024 | 1.09375 | RS = ((5*RL)/Voltage) - RL| RS = 1.07K | Ratio = RS/R0| Ratio = .123K | a*ratio^b | 100000 PPM |
|
|
||||||
| 224 | v = ADC*5/1024 | 1.09375 | RS = ((5*RL)/Voltage) - RL| RS = 1.07K | Ratio = RS/R0| Ratio = .123K | a*ratio^b | 100000 PPM |
|
|
||||||
| 224 | v = ADC*5/1024 | 1.09375 | RS = ((5*RL)/Voltage) - RL| RS = 1.07K | Ratio = RS/R0| Ratio = .123K | a*ratio^b | 100000 PPM |
|
|
@ -1,24 +0,0 @@
|
|||||||
************************************************************************************************************************************************
|
|
||||||
MQ sensor reading library for arduino
|
|
||||||
|
|
||||||
Note: remember that all the parameters below can be modified during the program execution with the methods:
|
|
||||||
setR0, setRL, setA, setB where you will have to send as parameter the new value, example: MQ4.setR0(20); //R0 = 20K
|
|
||||||
|
|
||||||
Authors: Miguel A. Califa U - Yersson R. Carrillo A - Ghiordy F. Contreras C
|
|
||||||
Contributors: Andres A. Martinez - Juan A. Rodríguez - Mario A. Rodríguez O
|
|
||||||
|
|
||||||
Sensor: MQ-4 | MQ-5
|
|
||||||
Supply voltage: 5V
|
|
||||||
R0: - Sin determinar -
|
|
||||||
RL: 10KOhm
|
|
||||||
|
|
||||||
Model: Logarithmic regression with parameters.
|
|
||||||
MQ-4: a = 10000 | b = 50000
|
|
||||||
MQ-5: a = 10000 | b = 50000
|
|
||||||
|
|
||||||
Development board: Arduino
|
|
||||||
|
|
||||||
|---------- MQ-4 ----------|---------- MQ-5 ----------|
|
|
||||||
|ADC_In | Voltage_ADC | Resistance_RS | Ratio (RS/R0) | PPM |ADC_In | Voltage_ADC | Resistance_RS | Ratio (RS/R0) | PPM |
|
|
||||||
*****************************************************************************************************************************************
|
|
||||||
| 224 | 1.09375 | RS = 1.07K | Ratio = .123K | 100000 PPM | 224 | 1.09375 | RS = 1.07K | Ratio = .123K | 100000 PPM |
|
|
@ -1,6 +0,0 @@
|
|||||||
{
|
|
||||||
"cells": [],
|
|
||||||
"metadata": {},
|
|
||||||
"nbformat": 4,
|
|
||||||
"nbformat_minor": 2
|
|
||||||
}
|
|
Before Width: | Height: | Size: 117 KiB |
Before Width: | Height: | Size: 46 KiB |
Before Width: | Height: | Size: 152 KiB |
Before Width: | Height: | Size: 56 KiB |
Before Width: | Height: | Size: 143 KiB |
Before Width: | Height: | Size: 56 KiB |
Before Width: | Height: | Size: 170 KiB |
Before Width: | Height: | Size: 68 KiB |
Before Width: | Height: | Size: 122 KiB |
Before Width: | Height: | Size: 50 KiB |
Before Width: | Height: | Size: 126 KiB |
Before Width: | Height: | Size: 51 KiB |
Before Width: | Height: | Size: 130 KiB |
Before Width: | Height: | Size: 53 KiB |
Before Width: | Height: | Size: 114 KiB |
Before Width: | Height: | Size: 48 KiB |
Before Width: | Height: | Size: 142 KiB |
Before Width: | Height: | Size: 52 KiB |
Before Width: | Height: | Size: 155 KiB |
Before Width: | Height: | Size: 71 KiB |
Before Width: | Height: | Size: 171 KiB |
Before Width: | Height: | Size: 80 KiB |
Before Width: | Height: | Size: 101 KiB |
Before Width: | Height: | Size: 43 KiB |
Before Width: | Height: | Size: 49 KiB |
@ -49,7 +49,7 @@ You'll need Arduino desktop app 1.8.9 or later.
|
|||||||
|
|
||||||
### Info of datasheets
|
### Info of datasheets
|
||||||
|
|
||||||
Review WPDigitalizer [folder](https://github.com/miguel5612/MQSensorsLib/tree/master/WPDigitalizer) [website](https://automeris.io/WebPlotDigitizer/)
|
Review WPDigitalizer [folder](https://github.com/miguel5612/MQSensorsLib_Docs/tree/master/WPDigitalizer) [website](https://automeris.io/WebPlotDigitizer/)
|
||||||
|
|
||||||
### Installing
|
### Installing
|
||||||
|
|
||||||
@ -82,12 +82,12 @@ Examples/MQ-board.ino
|
|||||||
|
|
||||||
## Built With
|
## Built With
|
||||||
|
|
||||||
* [Data sheets](https://github.com/miguel5612/MQSensorsLib/tree/master/Datasheets) - Curves and behavior for each sensor, using logarithmic graphs.
|
* [Data sheets](https://github.com/miguel5612/MQSensorsLib_Docs/tree/master/Datasheets) - Curves and behavior for each sensor, using logarithmic graphs.
|
||||||
* [Main purpose](https://github.com/miguel5612/MQSensorsLib/blob/master/static/img/bg.jpg) - Every sensor has high sensibility for a specific gas or material.
|
* [Main purpose](https://github.com/miguel5612/MQSensorsLib_Docs/blob/master/static/img/bg.jpg) - Every sensor has high sensibility for a specific gas or material.
|
||||||
|
|
||||||
## Contributing
|
## Contributing
|
||||||
|
|
||||||
Please read [CONTRIBUTING.md](https://github.com/miguel5612/MQSensorsLib/blob/NO_Functional/CONTRIBUTING.md) for details on our code of conduct, and the process for submitting pull requests to us.
|
Please read [CONTRIBUTING.md](https://github.com/miguel5612/MQSensorsLib/blob/master/CONTRIBUTING.md) for details on our code of conduct, and the process for submitting pull requests to us.
|
||||||
|
|
||||||
## Authors
|
## Authors
|
||||||
|
|
||||||
|
@ -1,5 +0,0 @@
|
|||||||
4.957713628975931; 5.970352865838375
|
|
||||||
9.82303087255475; 3.890451449942809
|
|
||||||
19.66936860744601; 2.365919697485761
|
|
||||||
49.50200098710442; 0.9908319448927686
|
|
||||||
99.17887133636847; 0.49659232145033677
|
|
|
Before Width: | Height: | Size: 180 KiB |
@ -1,5 +0,0 @@
|
|||||||
5.004690736196025; 8.090958991783829
|
|
||||||
9.81247228520288; 5.571857489319305
|
|
||||||
19.63847609606165; 3.9994474976109777
|
|
||||||
49.85956704514034; 2.8313919957993816
|
|
||||||
98.7613064604988; 2.032357010936224
|
|
|
@ -1,5 +0,0 @@
|
|||||||
5.015052099488824; 4.055085354483843
|
|
||||||
9.839297042431014; 2.2387211385683425
|
|
||||||
19.708460197689764; 1.2189895989248674
|
|
||||||
50.120105449151986; 0.49659232145033727
|
|
||||||
99.34721307419954; 0.2818382931264458
|
|
|
@ -1,3 +0,0 @@
|
|||||||
10.038068731719024; 1.4367778871086752
|
|
||||||
100.76282386271518; 0.7437057711666111
|
|
||||||
199.67791490816478; 0.5858066785834567
|
|
|
@ -1,3 +0,0 @@
|
|||||||
10; 1.8980643862295867
|
|
||||||
100.76282386271518; 0.9276207214357883
|
|
||||||
199.67791490816478; 0.7371610501169261
|
|
|
@ -1,3 +0,0 @@
|
|||||||
9.92429510870452; 2.850325339883499
|
|
||||||
100.76282386271518; 1.5488850711364055
|
|
||||||
199.67791490816478; 1.3446177759671738
|
|
|
@ -1,3 +0,0 @@
|
|||||||
10; 2.3054935712377356
|
|
||||||
100.76282386271518; 1.049816136090719
|
|
||||||
198.16625542394166; 0.8052859018667691
|
|
|
Before Width: | Height: | Size: 243 KiB |
@ -1,3 +0,0 @@
|
|||||||
10; 2.563475521052897
|
|
||||||
100.38068731719024; 1
|
|
||||||
199.67791490816478; 0.7670732751979543
|
|
|
@ -1,3 +0,0 @@
|
|||||||
10; 1.5420548019516276
|
|
||||||
100.38068731719024; 0.8017347542813508
|
|
||||||
199.67791490816478; 0.6427786162225773
|
|
|
@ -1,9 +0,0 @@
|
|||||||
202,97159045689085; 2,870821251841819
|
|
||||||
493,62843297110385; 2,120486081991352
|
|
||||||
789,3018264543583; 1,722949305824931
|
|
||||||
1013,5564768245204; 1,628558370192401
|
|
||||||
1483,4109724050659; 1,4241031945513674
|
|
||||||
2002,568136043121; 1,2616407836292618
|
|
||||||
3045,8553406742876; 1,09372808300933
|
|
||||||
4983,9913111605565; 0,8886628824162796
|
|
||||||
10116,086432495827; 0,6593474448589979
|
|
|
@ -1,9 +0,0 @@
|
|||||||
200,6424043638923; 3,0628594206904824
|
|
||||||
493,62843297110385; 2,262307524341795
|
|
||||||
795,3985507023424; 1,9027463399615197
|
|
||||||
1021,3853885815306; 1,760109364516406
|
|
||||||
1466,3881949840988; 1,512822440016997
|
|
||||||
2010,2873757128875; 1,3635579819828156
|
|
||||||
3022,508881097584; 1,1618613226754184
|
|
||||||
4945,78905312065; 0,9359079659557669
|
|
||||||
10155,080609166793; 0,7034431020028873
|
|
|
@ -1,9 +0,0 @@
|
|||||||
202,97159045689085; 5,230578600305607
|
|
||||||
491,73296457790207; 4,06886745979215
|
|
||||||
810,8471866516105; 3,4816976949280916
|
|
||||||
994,2457296427418; 3,220835982615804
|
|
||||||
1483,4109724050659; 2,8043001628397395
|
|
||||||
2025,8152351174235; 2,505895099093425
|
|
||||||
3045,8553406742876; 2,2293985477843727
|
|
||||||
4983,9913111605565; 1,84294785992263
|
|
||||||
10272,967317129345; 1,4525325413623644
|
|
|