Added wiring example

pull/33/head
miguel5612 5 years ago
parent d7b1ed1314
commit 8f3ede62f4

@ -22,6 +22,14 @@ MQ4.update();
float ppmCH4 = MQ4.readSensor(); 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 ### User Manual New!! 12.2019
[Manual](https://drive.google.com/open?id=1BAFInlvqKR7h81zETtjz4_RC2EssvFWX) [Manual](https://drive.google.com/open?id=1BAFInlvqKR7h81zETtjz4_RC2EssvFWX)

@ -10,8 +10,12 @@
by Miguel Califa by Miguel Califa
Updated library usage Updated library usage
modified 26 March 2020 modified 29 March 2020
by Miguel Califa 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. This example code is in the public domain.

@ -1,6 +1,8 @@
//Include the library //Include the library
#include <MQUnifiedsensor.h> #include <MQUnifiedsensor.h>
// Wiring NOT required, only an arduino or esp8266 board
/* /*
This program was made to test the algorithm that from the ratio obtains 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 the PPM (The core of this library), regardless of the plate in which the

@ -11,9 +11,10 @@
Library originally added 01 may 2019 Library originally added 01 may 2019
by Miguel A Califa, Yersson Carrillo, Ghiordy Contreras, Mario Rodriguez by Miguel A Califa, Yersson Carrillo, Ghiordy Contreras, Mario Rodriguez
Updated library usage Added ESP8266 example
modified 26 March 2020 29.03.2020
by Miguel Califa Wiring:
https://github.com/miguel5612/MQSensorsLib_Docs/blob/master/static/img/MQ_ESP8266.PNG
This example code is in the public domain. This example code is in the public domain.

@ -12,6 +12,8 @@
Updated library usage Updated library usage
modified 26 March 2020 modified 26 March 2020
by Miguel Califa 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. This example code is in the public domain.

@ -13,6 +13,10 @@
modified 26 March 2020 modified 26 March 2020
by Miguel Califa 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. This example code is in the public domain.
*/ */

@ -13,6 +13,10 @@
modified 26 March 2020 modified 26 March 2020
by Miguel Califa 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. This example code is in the public domain.
*/ */

@ -13,6 +13,10 @@
modified 26 March 2020 modified 26 March 2020
by Miguel Califa 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. This example code is in the public domain.
*/ */

@ -12,6 +12,9 @@
Updated library usage Updated library usage
modified 26 March 2020 modified 26 March 2020
by Miguel Califa 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. This example code is in the public domain.

@ -13,6 +13,10 @@
modified 26 March 2020 modified 26 March 2020
by Miguel Califa 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. This example code is in the public domain.
*/ */

@ -13,6 +13,10 @@
modified 26 March 2020 modified 26 March 2020
by Miguel Califa 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. This example code is in the public domain.
*/ */

@ -12,6 +12,10 @@
Updated library usage Updated library usage
modified 26 March 2020 modified 26 March 2020
by Miguel Califa 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. This example code is in the public domain.

@ -13,6 +13,10 @@
modified 26 March 2020 modified 26 March 2020
by Miguel Califa 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. This example code is in the public domain.
*/ */

@ -13,6 +13,10 @@
modified 26 March 2020 modified 26 March 2020
by Miguel Califa 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. This example code is in the public domain.
*/ */

@ -13,6 +13,10 @@
modified 26 March 2020 modified 26 March 2020
by Miguel Califa 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. This example code is in the public domain.
*/ */

@ -13,6 +13,10 @@
modified 26 March 2020 modified 26 March 2020
by Miguel Califa 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. This example code is in the public domain.
*/ */

@ -13,6 +13,10 @@
modified 26 March 2020 modified 26 March 2020
by Miguel Califa 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. This example code is in the public domain.
*/ */

@ -13,6 +13,10 @@
modified 26 March 2020 modified 26 March 2020
by Miguel Califa 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. This example code is in the public domain.
*/ */

@ -13,6 +13,10 @@
modified 26 March 2020 modified 26 March 2020
by Miguel Califa 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. This example code is in the public domain.
*/ */

@ -13,6 +13,10 @@
modified 26 March 2020 modified 26 March 2020
by Miguel Califa 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. This example code is in the public domain.
*/ */

@ -13,6 +13,10 @@
modified 26 March 2020 modified 26 March 2020
by Miguel Califa 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. This example code is in the public domain.
*/ */

@ -9,6 +9,10 @@
modified 27 May 2019 modified 27 May 2019
by Miguel Califa 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. This example code is in the public domain.
*/ */

@ -9,6 +9,10 @@
modified 23 May 2019 modified 23 May 2019
by Miguel Califa 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. This example code is in the public domain.
*/ */

Loading…
Cancel
Save