gas sensore mq2 interfacing with pic 16f877a

Bonjour, Hi Every one ,I really appreciate the platform and thanks for the initiative. I have as project 'gas detector ' and I need the program pls that will transform a signal from a 'mq2' to a gsm module using the pic ' 16f877a ' . thanks once more

The MQ series of gas sensors uses a small heater inside with an electrochemical sensor. They are sensitive to a variety of gases and are used indoors at room temperature. The output is an analog signal and can be read with an analog input of the Arduino. The MQ-2 gas sensor module is useful for detecting gas leaks in the home and industry. It can detect LPG, i-butane, propane, methane, alcohol, hydrogen and smoke.

Step 1: What you will need
For this tutorial you will need:
• Arduino one
• Breadboard
• MQ-2 gas sensor module

[Image: How-to-use-MQ2-Gas-Sensor-Arduino-Tutorial.jpg]

Step 2: The circuit
The connections are fairly easy:
• Vcc to Arduino pin 5V
• GNG to pin Arduino GND
• Output to Arduino Analog A0 pin
Note: The sensor gets very hot after a while, do not touch it!

Step 3: The code
Here is the code, embedded using Codebender!
Try to download the Codebender plug-in and click the Run button in Arduino to program your Arduino with this sketch. And that's it, you've programmed your Arduino board! Press the connect button to start serial communication with your Arduino board.

Take a lighter and press the button to release the gas near the sensor. Observe the values on the serial monitor.

Important Note..!

If you are not satisfied with above reply ,..Please


So that we will collect data for you and will made reply to the request....OR try below "QUICK REPLY" box to add a reply to this page

Quick Reply
Type your reply to this message here.

Image Verification
Please enter the text contained within the image into the text box below it. This process is used to prevent automated spam bots.
Image Verification
(case insensitive)

Possibly Related Threads...
Thread Author Replies Views Last Post
  kidz del amarujala com pic send Guest 0 9 22-02-2018, 12:06 PM
Last Post: Guest
  c code for interfacing r305 with at89s52 microcontrolller Guest 0 10 22-02-2018, 11:45 AM
Last Post: Guest
  design and fabrication pantograph gas cutting machine Guest 0 20 21-02-2018, 12:17 PM
Last Post: Guest
  gas agency project report pdf Guest 1 43 01-02-2018, 12:54 PM
Last Post: dhanabhagya
  c code for interfacing r305 with at89s52 microcontrolller Guest 1 40 27-01-2018, 02:14 PM
Last Post: dhanabhagya
  microprocessor 8086 programming interfacing nagoor kani pdf Guest 1 73 23-01-2018, 10:03 AM
Last Post: dhanabhagya
  gsm modem interfacing with 8051 code Guest 1 58 13-01-2018, 11:03 AM
Last Post: dhanabhagya
  kidz del amarujala com pic send Guest 1 72 12-01-2018, 01:14 PM
Last Post: dhanabhagya
  kidz del amarujala com pic send Guest 2 228 11-01-2018, 11:39 AM
Last Post: Triyog
  synopsis of project gas agency management system Guest 5 1,895 08-01-2018, 06:15 AM
Last Post: Guest

Forum Jump: