PC and Analog MQ-8 Hydrogen Gas Sensor based Hydrogen Gas Monitoring System with ATmega32 and 7 Segment Display
In this project, we will learn about PC and Analog MQ-8 Hydrogen Gas Sensor based Hydrogen Gas Monitoring System with AVR ATmega32 Microcontroller and 7 Segment Display. Here, we display and monitor the concentration of Hydrogen Gas using Analog MQ-8 Hydrogen Gas Sensor from a PC/Laptop and 4 multiplexed Common Anode 7-Segment Displays.
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 4 multiplexed Common Anode 7-Segment Displays. In this way, Analog concentration of Hydrogen Gas is monitored from the PC/Loptop and 7-Segment Display.
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 PC and 7-Segment Display.
Softwares Required
- Atmel Studio 6 Software
- SinaProg Hex Downloader Software
- USBasp Driver
- RealTerm Terminal Software
- USB to Serial Driver
Post a Comment