PC and Analog MQ-2 Smoke Sensor based Wireless Smoke Monitoring and Alarm System with ATmega32 and 7 Segment Display using Series 2 Zig Bee
In this project, we will learn how to make a PC and Analog MQ-2 Smoke Sensor based Wireless Smoke Monitoring and Alarm System with AVR ATmega32 Microcontroller and 7 Segment Display using Series 2 Zig Bee. Here, we will display and monitor the concentration of smoke wirelessly from a PC/Laptop using Zig Bee and 4 multiplexed Common Anode 7-Segment Displays. 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, alert signal is sent to buzzer and to PC wirelessly.
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 send the digital value of Analog MQ-2 Smoke Sensor to the Zig Bee through USART communication protocol. This Zig Bee transmits the digital value of Analog MQ-2 Smoke Sensor wirelessly to another Zig Bee connected with the PC/Laptop. At the PC/Laptop end, Zig Bee receives the digital value of Analog MQ-2 Smoke Sensor and transmits that to the PC/Laptop through a USB cable. In the PC, the RealTerm Software receives the digital value of Analog MQ-2 Smoke Sensor and displays it. Apart from PC/Laptop, microcontroller will display the Analog MQ-2 Smoke Sensor value in 4 multiplexed Common Anode 7-Segment Displays. 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 alert signal to buzzer and to PC through Zig Bee. After getting the alert signal, buzzer starts beeping and PC displays the alert signal in the RealTerm Software.
Now, we will place a burning incense stick near Analog MQ-2 Smoke Sensor and we will see the change in concentration of smoke in PC, 7-Segment Displays and Buzzer.
Post a Comment