mq8 mq-8 hydrogen gas sensor module for arduino gas sensor module Module Features: 1, using high-quality dual-panel design, with a power indicator and TTL signal output instructions; 2, with a the DO switch signal (TTL) output, and AO analog signal output; 3, TTL output valid signal is low. (When the low output signal light can be connected directly to the microcontroller or relay module) 4, 0 ~ 5V analog output voltage, the higher the concentration, the higher the voltage. 5, the hydrogen gas detection with better sensitivity. 6, there are four screw holes for easy positioning; Product Dimensions: 32 (L) * 20 (W) * 22 (H) 8, with a long life and reliable stability 9, rapid response and recovery characteristics 10, operating voltage: 5V Module using the instructions: Explanation: Use Preheat 20S The first step: to the module for 5V DC (note the positive and negative do not reverse, otherwise easily burned chip). Step 2: If you select the output end of the high and low DO, TTL output signal can be connected directly to a microcontroller IO port or connect to the relay module, potentiometer is used to adjust the output level transition threshold. Step Three: If you choose to AO, analog output, so you do not have control potentiometer AO feet directly connected to the input of the AD converter or microcontroller with AD can. According to our experience: In a normal environment, namely: the environment of the measured gas, setting the sensor output voltage value of the reference voltage, At this time, the voltage of the AO end about 1V, when the sensor detects that the gas to be measured when the voltage of each elevated 0.1V, the actual measured gas concentrations 200ppm (simple: 1ppm = 1mg/kg = 1mg / L = 1 x 10-6 commonly used to indicate the gas concentration, or the concentration of the solution.), on the basis of this parameter can microcontroller inside the measured analog voltage value is converted to concentration values. Note: If you are used to do a precision instrument, please buy the standard calibration instrument market, or there is an error, because the ratio of the output concentration and voltage relationship is linear, but tends to be linear. Special note: the sensor is powered Preheat 20S stable measurement data, sensor fever is a normal phenomenon, because the internal heating wire, if hot is not normal. Test Procedure: Function: This version supporting test program Using the chip: AT89S52 Crystal: 11.0592MHZ Baud Rate: 9600 Compilation environment: Keil Disclaimer This program is used only for study and reference, the reference please specify copyright and author information! ************************************************** ******************* / / ************************************************* ******************* Description: 1, single-chip IO output low when the measured concentration is greater than the set concentration ************************************************** ******************* / # Include / / library files # Define uchar unsigned char / / macro definition unsigned char Unsigned int # define uint unsigned int / / macro definition. / ************************************************* ******************* I / O definition ************************************************** ******************* / sbit LED = P1 ^ 0; / / definition of SCM P1 port 1 (P1.0) to indicate the end sbit DOUT = P2 ^ 0; / / definition microcontroller P2 port 1 (P2.0) for the sensor input of / ************************************************* ******************* Delay function ************************************************** ******************* / void delay () / / delay procedure { uchar m, n, s; for (m = 20; m> 0; m -) for (n = 20; n> 0; n -) for (s = 248; s> 0; s -); } / ************************************************* ******************* The main function ************************************************** ******************* / void main () { while (1) / / infinite loop { LED = 1; / / extinguish the P1.0 port lights if (DOUT == 0) / / function when the concentration is higher than the set value, the execution condition { delay () ;/ / delay anti-jamming if (DOUT == 0) / / determine the concentration is higher than the set value, the function of the Executive conditions { LED = 0; / / lit P1.0 port lights } } } } / ************************************************* ******************* End ************************************************** ******************* gyhfyot sijpidk qyklede MPI Buyer should pay within 7 days after purchase. We only accept payment via PayPal. Our team focuses on providing high quality products with reasonable price and tries its best to keep transactions as simple as possible. Please be confident of and enjoy your shopping here! Please feel free to contact us via eBay message system or email.
By clicking "Accept All Cookies", you agree to the storing of cookies on your device to enhance site navigation, analyze site usage, and assist in our marketing efforts.