ablab

Hello Readers, welcome to my Blog - A Blog For Bloggers By A Blogger. I'm Arun, an entrepreneur Blogger from India.

PC and Analog MQ-8 Hydrogen Gas Sensor based Hydrogen Gas Monitoring and Alarm System with ATmega32 and LCD Display

390
Mark as Favourite

In this project, we will learn How to make a PC and Analog MQ-8 Hydrogen Gas Sensor based Hydrogen Gas Monitoring and Alarm System with AVR ATmega32 Microcontroller and LCD Display. Here, we display and monitor the concentration of Hydrogen Gas using Analog MQ-8 Hydrogen Gas Sensor from a PC/Laptop and 16X2 Alphanumeric LCD Display. Also, we will compare the concentration of Hydrogen Gas with a threshold value continuously and when the concentration of Hydrogen Gas is greater than the threshold value, alert signal is sent to buzzer and PC.

Since, the output of the Analog MQ-8 Hydrogen Gas 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-8 Hydrogen Gas Sensor to the PC/Laptop through its serial port using its USART communication protocol. But current generation PCs and Laptops do not have serial port in them, so we will use one USB to Serial converter cable which will create a virtual serial port in the PC /Laptop. Again, the output of USB to Serial cable can not be connected to microcontroller directly as the output voltage of USB to Serial Cable corresponds to RS-232 level. But the ATmega32 microcontroller needs TTL/CMOS voltage levels. For this, we will use MAX-232 voltage converter which will convert RS-232 voltage level to TTL one and vice-versa. The PC/Laptop receives the digital value of the Analog MQ-8 Hydrogen Gas Sensor and displays it in RealTerm Software for monitoring. Apart from PC/Laptop, microcontroller will display the Analog MQ-8 Hydrogen Gas Sensor value in an alphanumeric LCD. In this way, concentration of Hydrogen Gas is monitored from the PC/Loptop and alphanumeric LCD. Also, the ATmega32 microcontroller will compare the output of Analog MQ-8 Hydrogen Gas Sensor value with a threshold value(here the threshold value is 700) continuously and when the Analog MQ-8 Hydrogen Gas Sensor output value is greater than the threshold value, at that time the ATmega32 microcontroller will send alert signal to buzzer and PC. After getting the alert signal, buzzer starts beeping and PC displays the alert signal in the RealTerm Software.

Now, we will use some source of Hydrogen Gas near Analog MQ-8 Hydrogen Gas Sensor and we will see the change in concentration of Hydrogen Gas in the PC, alphanumeric LCD and Buzzer.

Softwares Required

Hardwares Required

Name Quantity
AVR Trainer Board-100 with ATmega32 1pc
AVR USB Programmer 1pc
Analog MQ-8 Hydrogen Gas Sensor Board 1pc
RG1602A 16X2 Alphanumeric LCD Green 1pc
RS-232 Driver Board 1pc
12V, 1A DC SMPS Adaptor 1pc
USB to Serial Cable-Y-105 1pc
10 to 10 FRC Female to Female Connector 2pc
1 to 1 Connector-Female to Female 13pc

Circuit Diagram

Video

Downloads

PC and Analog MQ-8 Hydrogen Gas Sensor based Hydrogen Gas Monitoring and Alarm System with ATmega32 and LCD Display
  • 2 downloads 0 Kb

Post a Comment