LPG & LNG Gas Monitoring and Alarm System with ATmega16 and LED Display using Analog MQ-6 LPG & LNG Gas Sensor
In this project, we will learn How to make a LPG & LNG Gas Monitoring and Alarm System with AVR ATmega16 Microcontroller and LED Display using Analog MQ-6 LPG & LNG Gas Sensor. Here, we display and monitor the concentration of LPG & LNG gas using Analog MQ-6 LPG & LNG Gas Sensor in 1X8 LED Array. Also, we will compare the concentration of LPG & LNG gas with a threshold value continuously and when the concentration of LPG & LNG gas is greater than the threshold value, the buzzer will start beeping.
Since, the output of the Analog MQ-6 LPG & LNG Gas Sensor is analog in nature and these analog signals cannot be processed directly by the ATmega16 microcontroller. So, first this signal needs to be converted to digital value to be processed by the microcontroller. The conversion can be done with the help of ADC of the AVR ATmega16 microcontroller. After converting the analog signal to digital, the microcontroller will display the digital value of Analog MQ-6 LPG & LNG Gas Sensor in the 1X8 LED Array. But the LED array can display only 8-bit at a time. So, the 1×8 LED array will first display the lower 8-bit and then the upper 2-bit of the 10-bit digital output with a delay of 500ms. Also, the ATmega16 microcontroller will compare the output of Analog MQ-6 LPG & LNG Gas Sensor value with a threshold value(here the threshold value is 700) continuously and when the Analog MQ-6 LPG & LNG Gas Sensor output value is greater than the threshold value, at that time the ATmega16 microcontroller will send signal to buzzer and the buzzer starts beeping.
Now, we will use any LPG or LNG Gas source near Analog MQ-6 LPG & LNG Gas Sensor and we will see the change in concentration of LPG & LNG gas in the LED Array and Buzzer.
Post a Comment