From 8f9baecd70ca5226c2896e35018dd8dfa806226e Mon Sep 17 00:00:00 2001 From: Ghiordy Date: Tue, 16 Apr 2019 22:59:32 -0500 Subject: [PATCH 1/7] MQ sensor 135 started --- Excel graphs/MQ-135.ods | Bin 0 -> 7562 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 Excel graphs/MQ-135.ods diff --git a/Excel graphs/MQ-135.ods b/Excel graphs/MQ-135.ods new file mode 100644 index 0000000000000000000000000000000000000000..6d9eb8330177a267cf12114f85440223b64ee00a GIT binary patch literal 7562 zcmeHMc|4T=w;x+%iENchL-uX#8vB+dg=9@(8eSwbNsWGTj;l0ExQzKTRy zDtodkk$t%{O4P0I>v!+#{&~;5X6AW5bI$v7KIi#7XU_9JhI$l~tN;KF03dfFLO%cr zz9j|#07!4*5Wo@P2*X`-fFf2$Nfpdg7VL^X4KKut`J0u!{gJJ%~ z>ewHwoG@rO28P96f&820pXMV*5dZI19DkY*?SywCnf{BPf3m~kAUOR0!b=<)jr^Z` zNwRW+pkT<~ywtcos9j3Dwxl;HCdOCsj#p3+1QH9v?Hr0Zq2R%W`q~V%9JE9g23;LZ zBjR@z06+$yA?*v_WJ?d?4!N$Ysb=h!Fw-Hy001)8sP0?0^p&2B-mWA?H#^f! zw%#JI*~OKAAOausSi|->_Y{*wVDtYE{eL9>5B3CsBH3Wy=E;it zf^B&P5_m3Hy*B7(u!whOt0DfjbMlx_qCTT4c;W$=BCF)gqPW zydO?*9(wPRfKU2RkALE-cwOgv zU~ru)LF%8t;Oyc4cBW^kK|m)=^aC=myUZ8kuDCihiYdg0-Te@I%8#o}?9L zT(R?9fvv}f+jDs z<{9~YC2l4yWdb7)j_lJ7uw*G@vmu=2rDm8G1_L-#W83e|O1XT|N}Y}KxTuIWJ)zkv z%QSwUJtLz5@%Dp2y^g>OP^ry<;aE#Euay_`9N8+-myQA-^)5={AO`Dvr1|n~TnzGgH&vWRYP@kDTt9n8+{9W>rzuy#cS2jgIT7_sGI^aP-xw zr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Wed, 17 Apr 2019 10:34:39 -0500 Subject: [PATCH 2/7] Create CONTRIBUTING.md --- CONTRIBUTING.md | 92 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 92 insertions(+) create mode 100644 CONTRIBUTING.md diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 0000000..9f1ab7b --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1,92 @@ +# Contributing + +When contributing to this repository, please first discuss the change you wish to make via issue, +email, or any other method with the owners of this repository before making a change. + +Please note we have a code of conduct, please follow it in all your interactions with the project. + +## Pull Request Process + +1. Ensure any install or build dependencies are removed before the end of the layer when doing a + build. +2. Update the README.md with details of changes to the interface, this includes new environment + variables, exposed ports, useful file locations and container parameters. +3. Increase the version numbers in any examples files and the README.md to the new version that this + Pull Request would represent. The versioning scheme we use is [SemVer](http://semver.org/). +4. You may merge the Pull Request in once you have the sign-off of two other developers, or if you + do not have permission to do that, you may request the second reviewer to merge it for you. + +## Code of Conduct + +### Our Pledge + +In the interest of fostering an open and welcoming environment, we as +contributors and maintainers pledge to making participation in our project and +our community a harassment-free experience for everyone, regardless of age, body +size, disability, ethnicity, gender identity and expression, level of experience, +nationality, personal appearance, race, religion, or sexual identity and +orientation. + +### Our Standards + +Examples of behavior that contributes to creating a positive environment +include: + +* Using welcoming and inclusive language +* Being respectful of differing viewpoints and experiences +* Gracefully accepting constructive criticism +* Focusing on what is best for the community +* Showing empathy towards other community members + +Examples of unacceptable behavior by participants include: + +* The use of sexualized language or imagery and unwelcome sexual attention or +advances +* Trolling, insulting/derogatory comments, and personal or political attacks +* Public or private harassment +* Publishing others' private information, such as a physical or electronic + address, without explicit permission +* Other conduct which could reasonably be considered inappropriate in a + professional setting + +### Our Responsibilities + +Project maintainers are responsible for clarifying the standards of acceptable +behavior and are expected to take appropriate and fair corrective action in +response to any instances of unacceptable behavior. + +Project maintainers have the right and responsibility to remove, edit, or +reject comments, commits, code, wiki edits, issues, and other contributions +that are not aligned to this Code of Conduct, or to ban temporarily or +permanently any contributor for other behaviors that they deem inappropriate, +threatening, offensive, or harmful. + +### Scope + +This Code of Conduct applies both within project spaces and in public spaces +when an individual is representing the project or its community. Examples of +representing a project or community include using an official project e-mail +address, posting via an official social media account, or acting as an appointed +representative at an online or offline event. Representation of a project may be +further defined and clarified by project maintainers. + +### Enforcement + +Instances of abusive, harassing, or otherwise unacceptable behavior may be +reported by contacting the project team at [INSERT EMAIL ADDRESS]. All +complaints will be reviewed and investigated and will result in a response that +is deemed necessary and appropriate to the circumstances. The project team is +obligated to maintain confidentiality with regard to the reporter of an incident. +Further details of specific enforcement policies may be posted separately. + +Project maintainers who do not follow or enforce the Code of Conduct in good +faith may face temporary or permanent repercussions as determined by other +members of the project's leadership. + +### Attribution + +This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, +available at [http://contributor-covenant.org/version/1/4][version] + +[homepage]: http://contributor-covenant.org +[version]: http://contributor-covenant.org/version/1/4/ From 9fc46529a56296d49b66354160cfbd269cccd3ac Mon Sep 17 00:00:00 2001 From: Ghiordy Date: Wed, 17 Apr 2019 10:51:56 -0500 Subject: [PATCH 3/7] Update README.md --- README.md | 64 ++++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 63 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 8af09f1..f576626 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,64 @@ # MQSensorsLib -Con esta libreria puedes leer cualquier tipo de gas con los sensores MQ. + +This is a unified library to use sensors MQ: 2, 3, 4, 5, 6, 7, 8, 9, and 135. + +## Getting Started + +``` +MQsensorLib Sensor1(MQ4); +ppmMethano = Sensor1.readPPM(); +``` + +### Prerequisites + +You'll need Arduino desftop app 1.8.9 or later. + +### Installing + +Clone this repositry into your desktop machine + +``` +git clone https://github.com/miguel5612/MQSensorsLib +``` + + +## Running the tests + +Use calibration systems if you have several sensors that read the same gas. + +### Break down into end to end tests + +These test can re-adjust values defined previously and you can contribute to improve conditions or features obtained from particular scenes. + +``` +testMassive.ino +``` + +### And coding style tests + +These tests may generate statistics validation using descriptive tools for cuantitative variables. + +``` +testStatics.ino +``` + +## Built With + +* [Data sheets](https://github.com/miguel5612/MQSensorsLib/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. + +## 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. + +## Authors + +* **Miguel A. Califa U.** - [*GitHub*](https://github.com/miguel5612) +* **Ghiory F. Contreras C.** - [*GitHub*](https://github.com/miguel5612) - [CV](https://scienti.colciencias.gov.co/cvlac/visualizador/generarCurriculoCv.do?cod_rh=0000050476) +* **Mario A. Rodríguez O.** - [*GitHub*](https://github.com/MarioAndresR) + +See also the list of [contributors](https://github.com/your/project/contributors) who participated in this project. + +## License + +This project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details From 166e6f3eeb77500753194cfaf76f5fbb88038bd2 Mon Sep 17 00:00:00 2001 From: Ghiordy Date: Wed, 17 Apr 2019 10:59:45 -0500 Subject: [PATCH 4/7] Correction in name Ghiordy --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f576626..42c7276 100644 --- a/README.md +++ b/README.md @@ -54,7 +54,7 @@ Please read [CONTRIBUTING.md](https://github.com/miguel5612/MQSensorsLib/blob/NO ## Authors * **Miguel A. Califa U.** - [*GitHub*](https://github.com/miguel5612) -* **Ghiory F. Contreras C.** - [*GitHub*](https://github.com/miguel5612) - [CV](https://scienti.colciencias.gov.co/cvlac/visualizador/generarCurriculoCv.do?cod_rh=0000050476) +* **Ghiordy F. Contreras C.** - [*GitHub*](https://github.com/Ghiordy) - [CV](https://scienti.colciencias.gov.co/cvlac/visualizador/generarCurriculoCv.do?cod_rh=0000050476) * **Mario A. Rodríguez O.** - [*GitHub*](https://github.com/MarioAndresR) See also the list of [contributors](https://github.com/your/project/contributors) who participated in this project. From 351c437d52f314d82428235de53d974bf0871f8c Mon Sep 17 00:00:00 2001 From: Ghiordy Date: Thu, 18 Apr 2019 00:50:45 -0500 Subject: [PATCH 5/7] fixed link to contribuitors --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 42c7276..b99a62a 100644 --- a/README.md +++ b/README.md @@ -57,7 +57,7 @@ Please read [CONTRIBUTING.md](https://github.com/miguel5612/MQSensorsLib/blob/NO * **Ghiordy F. Contreras C.** - [*GitHub*](https://github.com/Ghiordy) - [CV](https://scienti.colciencias.gov.co/cvlac/visualizador/generarCurriculoCv.do?cod_rh=0000050476) * **Mario A. Rodríguez O.** - [*GitHub*](https://github.com/MarioAndresR) -See also the list of [contributors](https://github.com/your/project/contributors) who participated in this project. +See also the list of [contributors](https://github.com/miguel5612/MQSensorsLib/contributors) who participated in this project. ## License From b8f8f38121478fdce8dae8c6098e3094ef6dd243 Mon Sep 17 00:00:00 2001 From: Ghiordy Date: Fri, 19 Apr 2019 11:18:57 -0500 Subject: [PATCH 6/7] Update CONTRIBUTING.md --- CONTRIBUTING.md | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 9f1ab7b..0231de3 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -32,22 +32,22 @@ orientation. Examples of behavior that contributes to creating a positive environment include: -* Using welcoming and inclusive language -* Being respectful of differing viewpoints and experiences -* Gracefully accepting constructive criticism -* Focusing on what is best for the community -* Showing empathy towards other community members +* Using welcoming and inclusive language. +* Being respectful of differing viewpoints and experiences. +* Gracefully accepting constructive criticism. +* Focusing on what is best for the community. +* Showing empathy towards other community members. Examples of unacceptable behavior by participants include: * The use of sexualized language or imagery and unwelcome sexual attention or -advances -* Trolling, insulting/derogatory comments, and personal or political attacks -* Public or private harassment +advances. +* Trolling, insulting/derogatory comments, and personal or political attacks. +* Public or private harassment. * Publishing others' private information, such as a physical or electronic - address, without explicit permission + address, without explicit permission. * Other conduct which could reasonably be considered inappropriate in a - professional setting + professional setting. ### Our Responsibilities @@ -73,7 +73,7 @@ further defined and clarified by project maintainers. ### Enforcement Instances of abusive, harassing, or otherwise unacceptable behavior may be -reported by contacting the project team at [INSERT EMAIL ADDRESS]. All +reported by contacting the project team at [cghiordy@gmail.com]. All complaints will be reviewed and investigated and will result in a response that is deemed necessary and appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. From 5445982491a4b8898bda3f51da844f806131d10c Mon Sep 17 00:00:00 2001 From: Ghiordy Date: Fri, 19 Apr 2019 11:37:02 -0500 Subject: [PATCH 7/7] Delete CONTRIBUTING.md --- CONTRIBUTING.md | 92 ------------------------------------------------- 1 file changed, 92 deletions(-) delete mode 100644 CONTRIBUTING.md diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md deleted file mode 100644 index 0231de3..0000000 --- a/CONTRIBUTING.md +++ /dev/null @@ -1,92 +0,0 @@ -# Contributing - -When contributing to this repository, please first discuss the change you wish to make via issue, -email, or any other method with the owners of this repository before making a change. - -Please note we have a code of conduct, please follow it in all your interactions with the project. - -## Pull Request Process - -1. Ensure any install or build dependencies are removed before the end of the layer when doing a - build. -2. Update the README.md with details of changes to the interface, this includes new environment - variables, exposed ports, useful file locations and container parameters. -3. Increase the version numbers in any examples files and the README.md to the new version that this - Pull Request would represent. The versioning scheme we use is [SemVer](http://semver.org/). -4. You may merge the Pull Request in once you have the sign-off of two other developers, or if you - do not have permission to do that, you may request the second reviewer to merge it for you. - -## Code of Conduct - -### Our Pledge - -In the interest of fostering an open and welcoming environment, we as -contributors and maintainers pledge to making participation in our project and -our community a harassment-free experience for everyone, regardless of age, body -size, disability, ethnicity, gender identity and expression, level of experience, -nationality, personal appearance, race, religion, or sexual identity and -orientation. - -### Our Standards - -Examples of behavior that contributes to creating a positive environment -include: - -* Using welcoming and inclusive language. -* Being respectful of differing viewpoints and experiences. -* Gracefully accepting constructive criticism. -* Focusing on what is best for the community. -* Showing empathy towards other community members. - -Examples of unacceptable behavior by participants include: - -* The use of sexualized language or imagery and unwelcome sexual attention or -advances. -* Trolling, insulting/derogatory comments, and personal or political attacks. -* Public or private harassment. -* Publishing others' private information, such as a physical or electronic - address, without explicit permission. -* Other conduct which could reasonably be considered inappropriate in a - professional setting. - -### Our Responsibilities - -Project maintainers are responsible for clarifying the standards of acceptable -behavior and are expected to take appropriate and fair corrective action in -response to any instances of unacceptable behavior. - -Project maintainers have the right and responsibility to remove, edit, or -reject comments, commits, code, wiki edits, issues, and other contributions -that are not aligned to this Code of Conduct, or to ban temporarily or -permanently any contributor for other behaviors that they deem inappropriate, -threatening, offensive, or harmful. - -### Scope - -This Code of Conduct applies both within project spaces and in public spaces -when an individual is representing the project or its community. Examples of -representing a project or community include using an official project e-mail -address, posting via an official social media account, or acting as an appointed -representative at an online or offline event. Representation of a project may be -further defined and clarified by project maintainers. - -### Enforcement - -Instances of abusive, harassing, or otherwise unacceptable behavior may be -reported by contacting the project team at [cghiordy@gmail.com]. All -complaints will be reviewed and investigated and will result in a response that -is deemed necessary and appropriate to the circumstances. The project team is -obligated to maintain confidentiality with regard to the reporter of an incident. -Further details of specific enforcement policies may be posted separately. - -Project maintainers who do not follow or enforce the Code of Conduct in good -faith may face temporary or permanent repercussions as determined by other -members of the project's leadership. - -### Attribution - -This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, -available at [http://contributor-covenant.org/version/1/4][version] - -[homepage]: http://contributor-covenant.org -[version]: http://contributor-covenant.org/version/1/4/