In this project, we will learn Analog MQ-2 Smoke Sensor Interfacing with AVR ATmega32 microcontroller and LCD Display. Here, we will interface an Analog MQ-2 Smoke Sensor with ATmega32 microcontroller and we will display the Analog MQ-2 Smoke Sensor value in the 16X2 Alphanumeric LCD.
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 16X2 Alphanumeric LCD.
Now, we will place burning incense stick near Analog MQ-2 Smoke Sensor and we will see the changes in the output of Analog MQ-2 Smoke Sensor in the 16X2 Alphanumeric LCD.
The step-by-step connection guide for Analog MQ-2 Smoke Sensor Interfacing with ATmega32 and LCD Display is as follows
Steps - 1 ( 0f 10 )
Insert the DC Pin of 12V, 1A DC Adapter to the DC Socket of AVR Trainer Board-100.
Steps - 2 ( 0f 10 )
Connect PortB header with LCD data header in AVR Trainer Board-100 with a 10 to 10 FRC Female Connector.
Steps - 3 ( 0f 10 )
Connect RS, RW & EN pins of LCD control header with PD0, PD1 & PD2 pins of PortD header respectively in AVR Trainer Board-100 with 1 to 1 Connectors.
Steps - 4 ( 0f 10 )
Connect the 16X2 Alphanumeric LCD to the LCD header of AVR Trainer Board-100.
Steps - 5 ( 0f 10 )
Connect the VCC, GND & O/P pins of Analog MQ-2 Smoke Sensor header to VCC, GND and PA0 pins of PortA header of AVR Trainer Board-100 respectively with 1 to 1 Connectors.
Steps - 6 ( 0f 10 )
Connect the ISP header of AVR Trainer Board-100 with AVR USB Programmer header of AVR USB Programmer with a 10 to 10 FRC Female Connector.
Steps - 7 ( 0f 10 )
Connect the AVR USB Programmer to the PC/Laptop's USB Port directly or with the help of USB AM-AF Cable.
Steps - 8 ( 0f 10 )
Switch on the power with the help of Power Switch of AVR Trainer Board-100.
Steps - 9 ( 0f 10 )
Download Analog MQ-2 Smoke Sensor Interfacing with ATmega32 and LCD Display Hex file to AVR Trainer Board-100 with the help of SinaProg Hex downloader and AVR USB Programmer.
Steps - 10 ( 0f 10 )
Use a lighter as a LPG gas source near the Analog MQ-5 LPG Gas Sensor and see the change in output.
Insert the DC Pin of 12V, 1A DC Adapter to the DC Socket of AVR Trainer Board-100.
Steps - 1 ( 0f 10 )
Connect PortB header with LCD data header in AVR Trainer Board-100 with a 10 to 10 FRC Female Connector.
Steps - 2 ( 0f 10 )
Connect RS, RW & EN pins of LCD control header with PD0, PD1 & PD2 pins of PortD header respectively in AVR Trainer Board-100 with 1 to 1 Connectors.
Steps - 3 ( 0f 10 )
Connect the 16X2 Alphanumeric LCD to the LCD header of AVR Trainer Board-100.
Steps - 4 ( 0f 10 )
Connect the VCC, GND & O/P pins of Analog MQ-2 Smoke Sensor header to VCC, GND and PA0 pins of PortA header of AVR Trainer Board-100 respectively with 1 to 1 Connectors.
Steps - 5 ( 0f 10 )
Connect the ISP header of AVR Trainer Board-100 with AVR USB Programmer header of AVR USB Programmer with a 10 to 10 FRC Female Connector.
Steps - 6 ( 0f 10 )
Connect the AVR USB Programmer to the PC/Laptop's USB Port directly or with the help of USB AM-AF Cable.
Steps - 7 ( 0f 10 )
Switch on the power with the help of Power Switch of AVR Trainer Board-100.
Steps - 8 ( 0f 10 )
Download Analog MQ-2 Smoke Sensor Interfacing with ATmega32 and LCD Display Hex file to AVR Trainer Board-100 with the help of SinaProg Hex downloader and AVR USB Programmer.
Steps - 9 ( 0f 10 )
Use a lighter as a LPG gas source near the Analog MQ-5 LPG Gas Sensor and see the change in output.
Steps - 10 ( 0f 10 )
Downloads
Analog MQ-2 Smoke Sensor Interfacing with ATmega32 and LCD Display
114 downloads
0
Kb
Downloads
Analog MQ-2 Smoke Sensor Interfacing with ATmega32 and LCD Display
Post a Comment
you are welcome.
Thank you.
Knoweldge Centre
Popular Post
Line Follower Robot with ATmega16 using Analog IR Sensor ...
LED Blinking with ATmega16 ...
16X2 Alphanumeric LCD Interfacing with ATmega16 ...
4X4 Keypad Interfacing with ATmega16 and LCD Display ...
HC-05 Bluetooth Module Interfacing with ATmega32 ...
L293D based DC Motor Driver Interfacing with ATmega16 in 5V ...
LM35 Temperature Sensor Interfacing with ATmega32 and LCD Di ...
PC to ATmega16 Communication with LED Display ...
Analog IR Sensor Interfacing with ATmega16 and LED Display ...
00 to 99 Display in Quad 7-Segment Display with ATmega16 ...
Get Socialize With us