Gas sensor MQ-2


#1

Codes for different boards and shields.
All codes only work with MQTT.
Values are in percent.

Arduino_Industrial_101.txt (686 Bytes)
ArduinoYun.txt (1.4 KB)
EthernetShieldW5100.txt (1.4 KB)
WiFi101Shield.txt (1.5 KB)
EthernetShieldW5200.txt (1.4 KB)
EthernetShieldW5500.txt (1.4 KB)
ManualConnection.txt (2.3 KB)
WiFiShield.txt (1.5 KB)

Sample from the Cayenne Dashboard.


#2

if esp8266 suitable with which code


#3

Hi
I did not write code because MQ-2 sensor is powered by 5V and ESP ADC is not tolerant to 5V.


#4

this gas sensor data is which form ?ppm or percentage


#5

percentage


#6

alright thank you answer my question