diff --git a/README.md b/README.md index 6313513..71cefbf 100644 --- a/README.md +++ b/README.md @@ -22,6 +22,14 @@ MQ4.update(); float ppmCH4 = MQ4.readSensor(); ``` +## Wiring + +### Arduino +![Arduino_Wiring_MQSensor](https://raw.githubusercontent.com/miguel5612/MQSensorsLib_Docs/master/static/img/MQ_Arduino.PNG) + +### ESP8266 +![ESP8266_Wiring_MQSensor](https://raw.githubusercontent.com/miguel5612/MQSensorsLib_Docs/master/static/img/MQ_ESP8266.PNG) + ### User Manual New!! 12.2019 [Manual](https://drive.google.com/open?id=1BAFInlvqKR7h81zETtjz4_RC2EssvFWX) diff --git a/examples/Alcoholimeter/Alcoholimeter.ino b/examples/Alcoholimeter/Alcoholimeter.ino index f490e3d..8ec7f7f 100644 --- a/examples/Alcoholimeter/Alcoholimeter.ino +++ b/examples/Alcoholimeter/Alcoholimeter.ino @@ -10,8 +10,12 @@ by Miguel Califa Updated library usage - modified 26 March 2020 + modified 29 March 2020 by Miguel Califa + + Wiring: + https://github.com/miguel5612/MQSensorsLib_Docs/blob/master/static/img/MQ_Arduino.PNG + Please take care, arduino A0 pin represent the analog input configured on #define pin This example code is in the public domain. diff --git a/examples/AlgorithmTester/AlgorithmTester.ino b/examples/AlgorithmTester/AlgorithmTester.ino index f632d9c..4ed55f1 100644 --- a/examples/AlgorithmTester/AlgorithmTester.ino +++ b/examples/AlgorithmTester/AlgorithmTester.ino @@ -1,6 +1,8 @@ //Include the library #include +// Wiring NOT required, only an arduino or esp8266 board + /* This program was made to test the algorithm that from the ratio obtains the PPM (The core of this library), regardless of the plate in which the diff --git a/examples/ESP8266/ESP8266.ino b/examples/ESP8266/ESP8266.ino index 54b23d1..45568cf 100644 --- a/examples/ESP8266/ESP8266.ino +++ b/examples/ESP8266/ESP8266.ino @@ -11,9 +11,10 @@ Library originally added 01 may 2019 by Miguel A Califa, Yersson Carrillo, Ghiordy Contreras, Mario Rodriguez - Updated library usage - modified 26 March 2020 - by Miguel Califa + Added ESP8266 example + 29.03.2020 + Wiring: + https://github.com/miguel5612/MQSensorsLib_Docs/blob/master/static/img/MQ_ESP8266.PNG This example code is in the public domain. diff --git a/examples/LinearVsExponential/LinearVsExponential.ino b/examples/LinearVsExponential/LinearVsExponential.ino index 6de24f4..dd1107e 100644 --- a/examples/LinearVsExponential/LinearVsExponential.ino +++ b/examples/LinearVsExponential/LinearVsExponential.ino @@ -12,6 +12,8 @@ Updated library usage modified 26 March 2020 by Miguel Califa + Wiring: + https://github.com/miguel5612/MQSensorsLib_Docs/blob/master/static/img/MQ_Arduino.PNG This example code is in the public domain. diff --git a/examples/MQ-131/MQ-131.ino b/examples/MQ-131/MQ-131.ino index 963846e..a381534 100644 --- a/examples/MQ-131/MQ-131.ino +++ b/examples/MQ-131/MQ-131.ino @@ -13,6 +13,10 @@ modified 26 March 2020 by Miguel Califa + Wiring: + https://github.com/miguel5612/MQSensorsLib_Docs/blob/master/static/img/MQ_Arduino.PNG + Please take care, arduino A0 pin represent the analog input configured on #define pin + This example code is in the public domain. */ diff --git a/examples/MQ-135-ALL/MQ-135-ALL.ino b/examples/MQ-135-ALL/MQ-135-ALL.ino index 4fe96f8..224d468 100644 --- a/examples/MQ-135-ALL/MQ-135-ALL.ino +++ b/examples/MQ-135-ALL/MQ-135-ALL.ino @@ -13,6 +13,10 @@ modified 26 March 2020 by Miguel Califa + Wiring: + https://github.com/miguel5612/MQSensorsLib_Docs/blob/master/static/img/MQ_Arduino.PNG + Please take care, arduino A0 pin represent the analog input configured on #define pin + This example code is in the public domain. */ diff --git a/examples/MQ-135/MQ-135.ino b/examples/MQ-135/MQ-135.ino index 380c8a8..6399054 100644 --- a/examples/MQ-135/MQ-135.ino +++ b/examples/MQ-135/MQ-135.ino @@ -13,6 +13,10 @@ modified 26 March 2020 by Miguel Califa + Wiring: + https://github.com/miguel5612/MQSensorsLib_Docs/blob/master/static/img/MQ_Arduino.PNG + Please take care, arduino A0 pin represent the analog input configured on #define pin + This example code is in the public domain. */ diff --git a/examples/MQ-2/MQ-2.ino b/examples/MQ-2/MQ-2.ino index e14e561..eed2f85 100644 --- a/examples/MQ-2/MQ-2.ino +++ b/examples/MQ-2/MQ-2.ino @@ -12,6 +12,9 @@ Updated library usage modified 26 March 2020 by Miguel Califa + Wiring: + https://github.com/miguel5612/MQSensorsLib_Docs/blob/master/static/img/MQ_Arduino.PNG + Please take care, arduino A0 pin represent the analog input configured on #define pin This example code is in the public domain. diff --git a/examples/MQ-3/MQ-3.ino b/examples/MQ-3/MQ-3.ino index fad19c7..a3be6e0 100644 --- a/examples/MQ-3/MQ-3.ino +++ b/examples/MQ-3/MQ-3.ino @@ -13,6 +13,10 @@ modified 26 March 2020 by Miguel Califa + Wiring: + https://github.com/miguel5612/MQSensorsLib_Docs/blob/master/static/img/MQ_Arduino.PNG + Please take care, arduino A0 pin represent the analog input configured on #define pin + This example code is in the public domain. */ diff --git a/examples/MQ-303A/MQ303.ino b/examples/MQ-303A/MQ303.ino index fc0e0d8..255f326 100644 --- a/examples/MQ-303A/MQ303.ino +++ b/examples/MQ-303A/MQ303.ino @@ -13,6 +13,10 @@ modified 26 March 2020 by Miguel Califa + Wiring: + https://github.com/miguel5612/MQSensorsLib_Docs/blob/master/static/img/MQ_Arduino.PNG + Please take care, arduino A0 pin represent the analog input configured on #define pin + This example code is in the public domain. */ diff --git a/examples/MQ-309A/MQ-309.ino b/examples/MQ-309A/MQ-309.ino index 1966ada..bdf847f 100644 --- a/examples/MQ-309A/MQ-309.ino +++ b/examples/MQ-309A/MQ-309.ino @@ -12,6 +12,10 @@ Updated library usage modified 26 March 2020 by Miguel Califa + + Wiring: + https://github.com/miguel5612/MQSensorsLib_Docs/blob/master/static/img/MQ_Arduino.PNG + Please take care, arduino A0 pin represent the analog input configured on #define pin This example code is in the public domain. diff --git a/examples/MQ-4-ALL/MQ-4-ALL.ino b/examples/MQ-4-ALL/MQ-4-ALL.ino index d969af4..72df558 100644 --- a/examples/MQ-4-ALL/MQ-4-ALL.ino +++ b/examples/MQ-4-ALL/MQ-4-ALL.ino @@ -13,6 +13,10 @@ modified 26 March 2020 by Miguel Califa + Wiring: + https://github.com/miguel5612/MQSensorsLib_Docs/blob/master/static/img/MQ_Arduino.PNG + Please take care, arduino A0 pin represent the analog input configured on #define pin + This example code is in the public domain. */ diff --git a/examples/MQ-4-LINEAR/MQ-4-LINEAR.ino b/examples/MQ-4-LINEAR/MQ-4-LINEAR.ino index 4210384..3b98e68 100644 --- a/examples/MQ-4-LINEAR/MQ-4-LINEAR.ino +++ b/examples/MQ-4-LINEAR/MQ-4-LINEAR.ino @@ -13,6 +13,10 @@ modified 26 March 2020 by Miguel Califa + Wiring: + https://github.com/miguel5612/MQSensorsLib_Docs/blob/master/static/img/MQ_Arduino.PNG + Please take care, arduino A0 pin represent the analog input configured on #define pin + This example code is in the public domain. */ diff --git a/examples/MQ-4/MQ-4.ino b/examples/MQ-4/MQ-4.ino index b708157..310f2f4 100644 --- a/examples/MQ-4/MQ-4.ino +++ b/examples/MQ-4/MQ-4.ino @@ -13,6 +13,10 @@ modified 26 March 2020 by Miguel Califa + Wiring: + https://github.com/miguel5612/MQSensorsLib_Docs/blob/master/static/img/MQ_Arduino.PNG + Please take care, arduino A0 pin represent the analog input configured on #define pin + This example code is in the public domain. */ diff --git a/examples/MQ-5/MQ-5.ino b/examples/MQ-5/MQ-5.ino index b69ac85..83a0e1b 100644 --- a/examples/MQ-5/MQ-5.ino +++ b/examples/MQ-5/MQ-5.ino @@ -13,6 +13,10 @@ modified 26 March 2020 by Miguel Califa + Wiring: + https://github.com/miguel5612/MQSensorsLib_Docs/blob/master/static/img/MQ_Arduino.PNG + Please take care, arduino A0 pin represent the analog input configured on #define pin + This example code is in the public domain. */ diff --git a/examples/MQ-6/MQ-6.ino b/examples/MQ-6/MQ-6.ino index da8b2c6..fde8ec8 100644 --- a/examples/MQ-6/MQ-6.ino +++ b/examples/MQ-6/MQ-6.ino @@ -13,6 +13,10 @@ modified 26 March 2020 by Miguel Califa + Wiring: + https://github.com/miguel5612/MQSensorsLib_Docs/blob/master/static/img/MQ_Arduino.PNG + Please take care, arduino A0 pin represent the analog input configured on #define pin + This example code is in the public domain. */ diff --git a/examples/MQ-7/MQ-7.ino b/examples/MQ-7/MQ-7.ino index 7627e24..e374c88 100644 --- a/examples/MQ-7/MQ-7.ino +++ b/examples/MQ-7/MQ-7.ino @@ -13,6 +13,10 @@ modified 26 March 2020 by Miguel Califa + Wiring: + https://github.com/miguel5612/MQSensorsLib_Docs/blob/master/static/img/MQ_Arduino.PNG + Please take care, arduino A0 pin represent the analog input configured on #define pin + This example code is in the public domain. */ diff --git a/examples/MQ-8/MQ-8.ino b/examples/MQ-8/MQ-8.ino index f60ec3a..6c6afab 100644 --- a/examples/MQ-8/MQ-8.ino +++ b/examples/MQ-8/MQ-8.ino @@ -13,6 +13,10 @@ modified 26 March 2020 by Miguel Califa + Wiring: + https://github.com/miguel5612/MQSensorsLib_Docs/blob/master/static/img/MQ_Arduino.PNG + Please take care, arduino A0 pin represent the analog input configured on #define pin + This example code is in the public domain. */ diff --git a/examples/MQ-9-ALL/MQ-9-ALL.ino b/examples/MQ-9-ALL/MQ-9-ALL.ino index e13c5aa..3976407 100644 --- a/examples/MQ-9-ALL/MQ-9-ALL.ino +++ b/examples/MQ-9-ALL/MQ-9-ALL.ino @@ -13,6 +13,10 @@ modified 26 March 2020 by Miguel Califa + Wiring: + https://github.com/miguel5612/MQSensorsLib_Docs/blob/master/static/img/MQ_Arduino.PNG + Please take care, arduino A0 pin represent the analog input configured on #define pin + This example code is in the public domain. */ diff --git a/examples/MQ-9/MQ-9.ino b/examples/MQ-9/MQ-9.ino index 2452bbe..8d8e4fb 100644 --- a/examples/MQ-9/MQ-9.ino +++ b/examples/MQ-9/MQ-9.ino @@ -13,6 +13,10 @@ modified 26 March 2020 by Miguel Califa + Wiring: + https://github.com/miguel5612/MQSensorsLib_Docs/blob/master/static/img/MQ_Arduino.PNG + Please take care, arduino A0 pin represent the analog input configured on #define pin + This example code is in the public domain. */ diff --git a/examples/MQ-Board/MQ-Board.ino b/examples/MQ-Board/MQ-Board.ino index b02aee6..1ab2321 100644 --- a/examples/MQ-Board/MQ-Board.ino +++ b/examples/MQ-Board/MQ-Board.ino @@ -9,6 +9,10 @@ modified 27 May 2019 by Miguel Califa + Wiring: + https://github.com/miguel5612/MQSensorsLib_Docs/blob/master/static/img/MQ_Arduino.PNG + Please take care, arduino A0 pin represent the analog input configured on #define pin + This example code is in the public domain. */ diff --git a/examples/smokeDetector/smokeDetector.ino b/examples/smokeDetector/smokeDetector.ino index 9344111..b7d61c1 100644 --- a/examples/smokeDetector/smokeDetector.ino +++ b/examples/smokeDetector/smokeDetector.ino @@ -9,6 +9,10 @@ modified 23 May 2019 by Miguel Califa + Wiring: + https://github.com/miguel5612/MQSensorsLib_Docs/blob/master/static/img/MQ_Arduino.PNG + Please take care, arduino A0 pin represent the analog input configured on #define pin + This example code is in the public domain. */