Smoke Monitoring and Alarm System with ATmega32 and LED Display using Analog MQ-2 Smoke Sensor
In this project, we will learn How to make a Smoke Monitoring and Alarm System with AVR ATmega32 Microcontroller and LED Display using Analog MQ-2 Smoke Sensor. Here, we display and monitor the concentration of smoke using Analog MQ-2 Smoke Sensor in 1X8 LED Array. Also, we will compare the concentration of smoke with a threshold value continuously and when the concentration of smoke is greater than the threshold value, the buzzer will start beeping.
Since, the output of the Analog MQ-2 Smoke Sensor is analog in nature and these analog signals cannot be processed directly by the ATmega32 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 ATmega32 microcontroller. After converting the analog signal to digital, the microcontroller will display the digital value of Analog MQ-2 Smoke 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 ATmega32 microcontroller will compare the output of Analog MQ-2 Smoke Sensor value with a threshold value(here the threshold value is 700) continuously and when the Analog MQ-2 Smoke Sensor output value is greater than the threshold value, at that time the ATmega32 microcontroller will send signal to buzzer and the buzzer starts beeping.
Now, we will place burning incense stick near Analog MQ-2 Smoke Sensor and we will see the change in concentration of smoke in the LED Array and Buzzer.
Post a Comment