Posts

Showing posts from August, 2021

MQ-4 Gas Sensor with ESP8266 and Blynk application | IOT Project

Image
  MQ-4 Gas Sensor : Monitor your home Gas leakage with your mobile phone. This sensor detects the concentration of methane and CNG gas in the air and outputs its reading as an analog voltage and digital voltage . The concentration sensing range of 300 ppm to 10,000 ppm is suitable for leak detection.  Components:  1:Node Mcu Esp8266. 2:MQ-4 Gas sensor.  3:LED 4:Resistors  5:Buzzer  6:Bread board.  7:Some jumper wires Blynk: Circuit Diagram: Code: #define BLYNK_PRINT Serial #include <ESP8266WiFi.h> #include <BlynkSimpleEsp8266.h> BlynkTimer timer; char auth[] = "Auth Code";                                       //Auth Code from blynk char ssid[] = "WiFi SSID";                                      //your WiFi SSID char pass[] = "Password";  ...