Skip to content
This repository has been archived by the owner on Dec 8, 2019. It is now read-only.

Add MQ2 and MQ135 Support #30

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

firstof9
Copy link

Added code to support MQ2 and MQ135 sensors.

Support is togglable via defines in the code and are commented out (left off) for compatibility.

Added support for a MQ135 gas sensor
* Added define for MQ2 Sensors

* Added define for MQ135 Sensors
@DanielXYZ2000
Copy link

Why is the diff function not working for this pull request? Linux vs Windows?

@firstof9
Copy link
Author

firstof9 commented Oct 3, 2017

No idea.

@DanielXYZ2000
Copy link

Hi, I tried to compile this verison with MQ135 - but I have no MQ135 installed. Could you add in the comment, which library must be added.

@firstof9
Copy link
Author

firstof9 commented Oct 6, 2017

Sorry this was linked to a post on Home-Assistant.io which library to add, here's the one to use for MQ135: https://github.com/GeorgK/MQ135

@kevinshane
Copy link

Thank you very much for sharing this, noob questions:

  1. Would u please consider adding a buzzer alert when gas leak detected?
  2. Does MQ other type like MQ6 and MQ9 can also use this?
    Thanks

Returns in PPM
* LPG
* CO
* Smoke
@firstof9
Copy link
Author

@kevinshane Give this version a try with your MQ6 or MQ9. No buzzer added yet.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants