MQ2 smoke/gas detector support?
Moderators: grovkillen, Stuntteam, TD-er
MQ2 smoke/gas detector support?
Howdee folks,
Are there any plans to support the MQ2 smoke detectors? I little while ago I experimented with them and they work pretty well. I was planning to have multiple sensors in the house with MQ2s all with loud piezo buzzers. I made some code in Lua that allowed a sensor to send an alarm to domoticz after which all other sensors in the house start buzzing as well. Next step was supporting UDP so I could send out an ALARM broadcast over the network which doesn't require Domoticz to trigger the alarms.
Anyway... I thought it would be nice to switch to ESPEasy for this. Together with some alarm logic as described above, this could easily turn into a nice alarm system.
The MQ2 requires an ADC connection and 5V. A loud Piezo can work with 12V. They are pretty loud .
Are there any plans to support the MQ2 smoke detectors? I little while ago I experimented with them and they work pretty well. I was planning to have multiple sensors in the house with MQ2s all with loud piezo buzzers. I made some code in Lua that allowed a sensor to send an alarm to domoticz after which all other sensors in the house start buzzing as well. Next step was supporting UDP so I could send out an ALARM broadcast over the network which doesn't require Domoticz to trigger the alarms.
Anyway... I thought it would be nice to switch to ESPEasy for this. Together with some alarm logic as described above, this could easily turn into a nice alarm system.
The MQ2 requires an ADC connection and 5V. A loud Piezo can work with 12V. They are pretty loud .
Last edited by dannybloe on 15 Jan 2016, 10:56, edited 1 time in total.
Re: MQ2 support?
Tried to add another attachment to my post but somehow it doesn't let me...
- Attachments
-
- Screen Shot 2016-01-15 at 09.39.19.png (43.6 KiB) Viewed 20341 times
Re: MQ2 smoke/gas detector support?
I use the MQ9 and MQ135 with the analog plugin
Re: MQ2 smoke/gas detector support?
I wonder if we need special treatment here. The MQ2 needs to warm up and requires some threshold. But maybe you can already configure that.
And what about the controlling the piezo? You would need some pulsating trigger here.
And what about the controlling the piezo? You would need some pulsating trigger here.
Re: MQ2 smoke/gas detector support?
I use the MQ gas sensor with heater always on, after the initial burn-in time is needs a couple of minutes heating time.
For power consumption it would be nice to have the possibility to set a heating time before analog read
For power consumption it would be nice to have the possibility to set a heating time before analog read
Re: MQ2 smoke/gas detector support?
Hi,Ger wrote:I use the MQ9 and MQ135 with the analog plugin
I'm just trying to use MQ135 with espeasy, but i'm not sure how to connect it and how to interprete the data. As i understand the MQ135 is working with 5V and the sensor has variable resitence, so it delivers a voltage in relation to the reference voltage of 5V? The resolution of ESP ADC is 1024 bit? What happens if the output voltage of the MQ135 is above 3,3 V.
If you have some sketches how you connect the senor and interprete the output would be very appriciated.
Regard, karl
Re: MQ2 smoke/gas detector support?
See my schema above. You can use a voltage divider and connect that to the ESP.
Re: MQ2 smoke/gas detector support?
I have also used a voltage divider.
I don't think you can use the MQ135 to measure exact values of air quality.
I don't think you can use the MQ135 to measure exact values of air quality.
Re: MQ2 smoke/gas detector support?
can you post a little schema and your esp easy config please?Ger wrote:I use the MQ9 and MQ135 with the analog plugin
Re: MQ2 smoke/gas detector support?
Just looks like the schema dannybloe posted with the MQ2 connected to the ADC.
In domoticz you can use it as a voltage sensor.
In domoticz you can use it as a voltage sensor.
Re: MQ2 smoke/gas detector support?
ok, thanks
i suppose 0-10ppm CO = 0V
but 1000ppm CO = how many volts?
i suppose 0-10ppm CO = 0V
but 1000ppm CO = how many volts?
Re: MQ2 smoke/gas detector support?
I would also love to use some MQ-Sensors. Are there any plans for this?
Maybe this helps:
https://github.com/IntranetOfThings/wemos-mq135
http://electronics.stackexchange.com/qu ... controller
http://davidegironi.blogspot.de/2014/01 ... -with.html
Maybe this helps:
https://github.com/IntranetOfThings/wemos-mq135
http://electronics.stackexchange.com/qu ... controller
http://davidegironi.blogspot.de/2014/01 ... -with.html
Re: MQ2 smoke/gas detector support?
I also want to know if there are any plans to support MQ sensors? there are quite a few variants, I got a few now one year ago but never tryed to use them
Re: MQ2 smoke/gas detector support?
Can someone tell if the CO sensor MQ-9 will work with 2.0 ?
Re: MQ2 smoke/gas detector support?
Add MQ135 plugin at https://github.com/letscontrolit/ESPEas ... Playground
Please test
Please test
Re: MQ2 smoke/gas detector support?
I installed the MQ135 plugin, but reading out looks a factor 10 to high.
Is plugin based on 5 volt feed on sensor or 3,3 Volt ?
Is plugin based on 5 volt feed on sensor or 3,3 Volt ?
- Attachments
-
- mq135_espeasy.png (10.25 KiB) Viewed 14140 times
Who is online
Users browsing this forum: No registered users and 110 guests