Please help
I'm mq9 sensor gas sensor project with Mega32 microcontroller
My problem is that the actual amount of gas in the LCD display I have read the data sheet but the formula was not able to find it. Codes Leave it to me.
Please help me.
Thanks for the guide
The final project for university
I want the exact amount of gas in the lcd returns, and the wireless module 900 SMS me the exact amount of gas.
Please can anyone help me.
Amount of gas, okay but what is your space that you want to measure gas at it ? at the tank , room space ? please specify more about your project ( pressure , humidity , temperature and etc)
Thank you for reading my post
I read the data sheet mq4 but some kind of gas sensor detects as mq9
I mq9 connected to the mega32 and LPG sensing LCD shows the numeric value.
I have written code for adc: A = read_adc (0) / 10
Instead of (10 /) is a number that shows the actual amount of gas.
Configuration of the adc is as follows:
// Read the AD conversion result
unsigned int read_adc(unsigned char adc_input)
{
ADMUX=adc_input | (ADC_VREF_TYPE & 0xff);
// Delay needed for the stabilization of the ADC input voltage
delay_us(10);
// Start the AD conversion
ADCSRA|=0x40;
// Wait for the AD conversion to complete
while ((ADCSRA & 0x10)==0);
ADCSRA|=0x10;
return ADCW;
}
void main(void)
{
// Declare your local variables here
hello
i bought 2 sensor model :mh3-h2s 3 pin and md 440d 5 pin from winsensor comapny .please introduce circuit for connect with micro .Either directly or indirectly