Android Mobile and Analog MQ-8 Hydrogen Gas Sensor based Wireless Hydrogen Gas Monitoring and Alarm System with ATmega32 using HC-05 Bluetooth
In this project, we will learn how to make an Android Mobile and Analog MQ-8 Hydrogen Gas Sensor based Wireless Hydrogen Gas Monitoring and Alarm System with AVR ATmega32 Microcontroller using HC-05 Bluetooth. Here, we will display and monitor the concentration of Hydrogen Gas wirelessly from an Android Mobile using Bluetooth. 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 to Android Mobile wirelessly.
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 HC-05 bluetooth through USART communication protocol. This HC-05 bluetooth transmits the digital value of Analog MQ-8 Hydrogen Gas Sensor wirelessly to the bluetooth of the Android Mobile. The bluetooth of the Android Mobile receives the digital value of Analog MQ-8 Hydrogen Gas Sensor through an Android App called Bluetooth Terminal and displays it. 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 to Andoid Mobile through bluetooth. After getting the alert signal, buzzer starts beeping and Andoid Mobile displays the alert signal in the Bluetooth Terminal App.
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 Andoid Mobile and buzzer.
Softwares Required
-
Atmel Studio 6 Software
-
SinaProg Hex Downloader Software
-
USBasp Driver
-
Bluetooth Terminal Android App.
Post a Comment