gas sensore mq2 interfacing with pic 16f877a
#1

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
Reply
#2
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.
Reply

Important Note..!

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

ASK HERE

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
Message
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 4 863 07-12-2017, 09:43 AM
Last Post: Mahi yadav
  gas turbine v ganesan pdf download Guest 1 53 29-11-2017, 03:09 PM
Last Post: jaseela123
  gas turbine v ganesan pdf download Guest 1 59 21-11-2017, 10:08 AM
Last Post: jaseela123
  explanation of gsm interfacing with arm7 Guest 1 29 20-11-2017, 12:11 PM
Last Post: jaseela123
  gas turbine by v ganesan free download Guest 1 75 15-11-2017, 10:05 AM
Last Post: jaseela123
  gas turbine book by v ganesan free download Guest 1 86 11-11-2017, 03:57 PM
Last Post: jaseela123
  gas turbine book by v ganesan free download Guest 1 67 11-11-2017, 03:57 PM
Last Post: jaseela123
Exclamation software requirement specification for online gas booking40 Guest 0 27 11-11-2017, 02:06 PM
Last Post: Guest
  kidz del amarujala com pic send Guest 1 41 07-11-2017, 12:26 PM
Last Post: jaseela123
  gas turbines book by v ganesan pdf Guest 1 86 07-11-2017, 11:33 AM
Last Post: jaseela123

Forum Jump: