Hi I m Abhishek .. i m pursuing BE final yr.. i m looking to interface Gas sensor MQ6 and ZIGBEE module with LPC2148
will be needing help on how to go about this particular project
Hope i will get the answer i need for this project from you guys..
Posts: 14,118
Threads: 61
Joined: Oct 2014
After the basic peripheral interfaces with AVR, it is time to interconnect some sensors with it. In this tutorial we will connect the MQ2 gas sensor to the Atmega 32 drain. We will require a smoke sensor board (MQ2).
The MQ2 gas sensor suitable for the detection of LPG, i-butane, propane, methane, alcohol, hydrogen, smoke, etc. Since it is highly sensitive and gives a quick response, we can take action as soon as possible. This sensor can be used for the detection of gas leaks.
Under normal conditions, the resistance of the sensor will be high, so the voltage drop across the load will be low and will be constant. If the sensor detects flammable gases, the resistance of the sensor will drop. This means that more current will flow from the load resistor. Therefore, the voltage across it increases. This output voltage increases with increasing gas concentration in the air. The sensitivity of the gas sensor can be adjusted using the potentiometer.
Refer to MQ-2 data sheet for detailed information.
This smoke sensor board (MQ2) has analog output as well as digital. For this tutorial we will use analog output. The analog output pin must be connected to the ADC channel 0 of the atmega 32 breakout as shown in the link.