{"id":1513,"date":"2021-11-17T10:26:00","date_gmt":"2021-11-17T09:26:00","guid":{"rendered":"https:\/\/www.onetimenexttime.sk\/arduino\/?post_type=product&#038;p=1513"},"modified":"2024-02-22T19:53:42","modified_gmt":"2024-02-22T18:53:42","slug":"mq8-hydrogen-gas-sensor-h2-detection-sensor","status":"publish","type":"product","link":"https:\/\/www.onetimenexttime.sk\/arduino\/index.php\/produkt\/mq8-hydrogen-gas-sensor-h2-detection-sensor\/","title":{"rendered":"MQ-8 Hydrogen Gas Sensor H2 Detection Sensor"},"content":{"rendered":"<p>&nbsp;<\/p>\n<h1>Informa\u010dn\u00e1 str\u00e1nka o senzore MQ-8 Hydrogen Gas Sensor<\/h1>\n<table>\n<tbody>\n<tr>\n<th>Popis<\/th>\n<td>Senzor MQ-8 je modul detektora vod\u00edka, ktor\u00fd sa pou\u017e\u00edva na detekciu pr\u00edtomnosti vod\u00edka vo vzduchu.<\/td>\n<\/tr>\n<tr>\n<th>Vlastnosti<\/th>\n<td>\n<ul>\n<li>Detekcia pr\u00edtomnosti vod\u00edka vo vzduchu<\/li>\n<li>Vysok\u00e1 citlivos\u0165<\/li>\n<li>\u013dahk\u00e1 integrovate\u013enos\u0165 s ESPHome<\/li>\n<\/ul>\n<\/td>\n<\/tr>\n<tr>\n<th>Parametre<\/th>\n<td>\n<ul>\n<li>Nap\u00e1jacie nap\u00e4tie: 5V<\/li>\n<li>Pracovn\u00e1 teplota: -10\u00b0C a\u017e 50\u00b0C<\/li>\n<li>Rozsah detekcie: 100ppm a\u017e 10000ppm<\/li>\n<li>Rozhranie: Anal\u00f3gov\u00fd pin<\/li>\n<\/ul>\n<\/td>\n<\/tr>\n<tr>\n<th>ESPHome konfigur\u00e1cia<\/th>\n<td class=\"code\">\n<pre> \r\nsensor:\r\n  - platform: adc\r\n    pin: A0\r\n    name: \"Koncentr\u00e1cia vod\u00edka\"\r\n    update_interval: 60s\r\n    filters:\r\n      - calibrate_linear:\r\n          - 0.0 -&gt; 0.0\r\n          - 1023.0 -&gt; 10000.0  # Predpokladajme, \u017ee 1023 je maxim\u00e1lna hodnota ADC a 10000 je maxim\u00e1lna koncentr\u00e1cia\r\n<\/pre>\n<\/td>\n<\/tr>\n<tr>\n<th>Pr\u00edkladov\u00fd k\u00f3d pre Arduino<\/th>\n<td class=\"code\">\n<pre>#define ANALOG_PIN A0 \/\/ Anal\u00f3gov\u00fd pin pre senzor\r\n\r\nvoid setup() {\r\n  Serial.begin(9600);\r\n}\r\n\r\nvoid loop() {\r\n  int hodnotaSenzora = analogRead(ANALOG_PIN);\r\n  float koncentr\u00e1ciaVod\u00edka = map(hodnotaSenzora, 0, 1023, 0, 10000); \/\/ Mapovanie hodnoty senzora na koncentr\u00e1ciu (predpokladajme, \u017ee 1023 je maxim\u00e1lna hodnota ADC a 10000 je maxim\u00e1lna koncentr\u00e1cia)\r\n  \r\n  Serial.print(\"Koncentr\u00e1cia vod\u00edka: \");\r\n  Serial.println(koncentr\u00e1ciaVod\u00edka);\r\n  \r\n  delay(1000); \/\/ Prisp\u00f4sobte oneskorenie pod\u013ea potreby\r\n}\r\n<\/pre>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><button>Skop\u00edrova\u0165 k\u00f3d<\/button><\/p>\n<p>&nbsp;<\/p>\n<h1>Informa\u010dn\u00e1 str\u00e1nka o senzore MQ-8<\/h1>\n<table>\n<tbody>\n<tr>\n<th>Popis<\/th>\n<td>Senzor MQ-8 je modul detektora vod\u00edka, ktor\u00fd je schopn\u00fd detekova\u0165 pr\u00edtomnos\u0165 vod\u00edka v ovzdu\u0161\u00ed.<\/td>\n<\/tr>\n<tr>\n<th>Vlastnosti<\/th>\n<td>\n<ul>\n<li>Detekcia vod\u00edka<\/li>\n<li>Integrovate\u013enos\u0165 s r\u00f4znymi platformami<\/li>\n<li>Vysok\u00e1 citlivos\u0165<\/li>\n<li>N\u00edzka spotreba energie<\/li>\n<\/ul>\n<\/td>\n<\/tr>\n<tr>\n<th>\u0160pecifik\u00e1cie<\/th>\n<td>\n<ul>\n<li>Nap\u00e1jacie nap\u00e4tie: 5V<\/li>\n<li>Pracovn\u00e1 teplota: -10\u00b0C a\u017e 50\u00b0C<\/li>\n<li>Rozsah detekcie: 100ppm a\u017e 1000ppm<\/li>\n<li>Rozhranie: Analogov\u00e9<\/li>\n<\/ul>\n<\/td>\n<\/tr>\n<tr>\n<th>Pr\u00edklady pou\u017eitia<\/th>\n<td>Senzor MQ-8 sa \u010dasto pou\u017e\u00edva na detekciu vod\u00edka v r\u00f4znych prostrediach, ako s\u00fa priemyseln\u00e9 prev\u00e1dzky, skladovacie priestory a laborat\u00f3ri\u00e1.<\/td>\n<\/tr>\n<tr>\n<th>Pr\u00edkladov\u00fd k\u00f3d pre Arduino<\/th>\n<td class=\"code\">\n<pre>        \/\/ Importovanie kni\u017enice pre senzor MQ-8\r\n        #include &lt;MQ8.h&gt;\r\n        \r\n        \/\/ Defin\u00edcia pinu\r\n        int pinA0 = A0; \/\/ Anal\u00f3gov\u00fd pin\r\n        \r\n        \/\/ Inicializ\u00e1cia senzora\r\n        MQ8 mq8(pinA0);\r\n        \r\n        void setup() {\r\n          Serial.begin(9600); \/\/ Inicializ\u00e1cia komunik\u00e1cie s\u00e9riov\u00e9ho portu\r\n        }\r\n        \r\n        void loop() {\r\n          \/\/ \u010c\u00edtanie hodn\u00f4t z senzora\r\n          float ppm = mq8.read();\r\n          \r\n          \/\/ Vyp\u00edsanie hodn\u00f4t na s\u00e9riov\u00fd port\r\n          Serial.print(\"Hodnota vod\u00edka (PPM): \");\r\n          Serial.println(ppm);\r\n          \r\n          delay(1000); \/\/ \u010cakanie 1 sekundu\r\n        }\r\n<\/pre>\n<\/td>\n<\/tr>\n<tr>\n<th>Pr\u00edkladov\u00fd k\u00f3d pre ESPHome<\/th>\n<td class=\"code\">\n<pre>        # Example configuration entry\r\n        sensor:\r\n          - platform: adc\r\n            pin: A0\r\n            name: \"Hydrogen Sensor\"\r\n            update_interval: 30s\r\n            filters:\r\n              - lambda: return (pow(10, log10((0.12\/x)*(5-x)\/(5-0.12))\/(-0.35)))\r\n            unit_of_measurement: \"ppm\"\r\n<\/pre>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><button>Skop\u00edrova\u0165 k\u00f3d<\/button><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<h2>MQ8 Senzor vod\u00edka H2 Detek\u010dn\u00fd senzor<\/h2>\n<p>Vstupn\u00e9 nap\u00e4tie: DC 5V<br \/>\nPr\u00fad: 150mA<br \/>\nV\u00fdstup DO: TTL 0 a 1 (0,1 a 5 V)<br \/>\nAO v\u00fdstup: 0,1 &#8211; 0,3V<br \/>\nKry\u0161t\u00e1ly: 11,0592 MHz<br \/>\nPrenosov\u00e1 r\u00fdchlos\u0165: 9600<br \/>\nVlastnosti modulu:<br \/>\nVysoko kvalitn\u00fd dizajn s dvojit\u00fdm panelom s indik\u00e1tormi nap\u00e1jania a pokynmi na v\u00fdstup sign\u00e1lu TTL<br \/>\nV\u00fdstup TTL a v\u00fdstup anal\u00f3gov\u00e9ho sign\u00e1lu AO<br \/>\n\u0160tyri otvory pre skrutky u\u013eah\u010duj\u00face polohovanie<br \/>\nFunkcie obnovy r\u00fdchlej odozvy<br \/>\nStabilita dlhej \u017eivotnosti a spo\u013eahlivos\u0165<br \/>\nVe\u013ekos\u0165: 35 * 23 * 27 mm \/ 1,37 * 0,9 * 1,06 &#8221;<\/p>\n<p>Modul sn\u00edma\u010da vod\u00edka\/H2 MQ-8<br \/>\n<strong>Preh\u013ead<\/strong><br \/>\nTento senzorov\u00fd modul m\u00e1 MQ-8 ako senzorov\u00fd komponent a m\u00e1 zabudovan\u00fd ochrann\u00fd odpor a nastavite\u013en\u00fd odpor. Plynov\u00fd senzor MQ-8 je vysoko citliv\u00fd na vod\u00edk a menej citliv\u00fd na alkohol a v\u00fdpary z varenia. Mohol by by\u0165 pou\u017eit\u00fd v zariadeniach na detekciu \u00faniku plynu v rodine a priemysle. Odpor citlivej zlo\u017eky sa men\u00ed so zmenou koncentr\u00e1cie cie\u013eov\u00e9ho plynu.<\/p>\n<p><strong>Vlastnosti<\/strong><br \/>\nNepretr\u017eit\u00fd anal\u00f3gov\u00fd v\u00fdstup<br \/>\n3-pinov\u00fd blokovac\u00ed konektor<br \/>\nN\u00edzka cena a kompaktn\u00e1 ve\u013ekos\u0165<\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"\" src=\"https:\/\/ae01.alicdn.com\/kf\/HTB1iiTPXN2rK1RkSnhJq6ykdpXaa.jpg\" width=\"369\" height=\"369\" data-spm-anchor-id=\"a2g0o.detail.1000023.i3.1c9c13c8oG1lWG\" \/><\/p>\n<p>&nbsp;<\/p>\n<h3><span id=\"Standard_Working_Condition\">Standard Working Condition<\/span><\/h3>\n<table>\n<tbody>\n<tr>\n<td align=\"center\"><b>Symbol<\/b><\/td>\n<td align=\"center\"><b>Parameter Name<\/b><\/td>\n<td align=\"center\"><b>Technical Condition<\/b><\/td>\n<td align=\"center\"><b>Remarks<\/b><\/td>\n<\/tr>\n<tr>\n<td align=\"center\">VC<\/td>\n<td align=\"center\">Circuit voltage<\/td>\n<td align=\"center\">5V\u00b10.1<\/td>\n<td align=\"center\">AC or DC<\/td>\n<\/tr>\n<tr>\n<td align=\"center\">VH<\/td>\n<td align=\"center\">Heating voltage<\/td>\n<td align=\"center\">5V\u00b10.1<\/td>\n<td align=\"center\">AC or DC<\/td>\n<\/tr>\n<tr>\n<td align=\"center\">RL<\/td>\n<td align=\"center\">Load resistance<\/td>\n<td align=\"center\">10Kohm<\/td>\n<td align=\"center\"><\/td>\n<\/tr>\n<tr>\n<td align=\"center\">RH<\/td>\n<td align=\"center\">Heater resistance<\/td>\n<td align=\"center\">31Kohm\u00b15%<\/td>\n<td align=\"center\">Room temperature<\/td>\n<\/tr>\n<tr>\n<td align=\"center\">PH<\/td>\n<td align=\"center\">Heating consumption<\/td>\n<td align=\"center\">Less than 800mW<\/td>\n<td align=\"center\"><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3><span id=\"Environment_Condition\">Environment Condition<\/span><\/h3>\n<table>\n<tbody>\n<tr>\n<td align=\"center\"><b>Symbol<\/b><\/td>\n<td align=\"center\"><b>Parameter Name<\/b><\/td>\n<td align=\"center\"><b>Technical Condition<\/b><\/td>\n<td align=\"center\"><b>Remarks<\/b><\/td>\n<\/tr>\n<tr>\n<td align=\"center\">TO<\/td>\n<td align=\"center\">Operating Temp.<\/td>\n<td align=\"center\">-10\u00b0C-50\u00b0C<\/td>\n<td align=\"center\"><\/td>\n<\/tr>\n<tr>\n<td align=\"center\">TS<\/td>\n<td align=\"center\">Storage Temp.<\/td>\n<td align=\"center\">-20\u00b0C-70\u00b0C<\/td>\n<td align=\"center\"><\/td>\n<\/tr>\n<tr>\n<td align=\"center\">RH<\/td>\n<td align=\"center\">Relative Humidity<\/td>\n<td align=\"center\">&lt;95%<\/td>\n<td align=\"center\"><\/td>\n<\/tr>\n<tr>\n<td align=\"center\">O2<\/td>\n<td align=\"center\">Oxygen Concentration<\/td>\n<td align=\"center\">21%(standard condition) Oxygen concentration can affect sensitivity<\/td>\n<td align=\"center\">Minimum value is 2%<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3><span id=\"Sensitivity_Characteristics\">Sensitivity Characteristics<\/span><\/h3>\n<table>\n<tbody>\n<tr>\n<td align=\"center\"><b>Symbol<\/b><\/td>\n<td align=\"center\"><b>Parameter Name<\/b><\/td>\n<td align=\"center\"><b>Technical Condition<\/b><\/td>\n<td align=\"center\"><b>Remarks<\/b><\/td>\n<\/tr>\n<tr>\n<td align=\"center\">RS<\/td>\n<td align=\"center\">Sensor Resistance<\/td>\n<td align=\"center\">10Kohm-60Kohm (1000ppm LPG)<\/td>\n<td rowspan=\"4\" align=\"center\">Detecting concentration Scope: 100-10000ppm H2<\/td>\n<\/tr>\n<tr>\n<td align=\"center\">\u03b1 (1000ppm\/4000ppm H2)<\/td>\n<td align=\"center\">Concentration slope rate<\/td>\n<td align=\"center\">\u22640.6<\/td>\n<\/tr>\n<tr>\n<td align=\"center\">Standard detecting Condition<\/td>\n<td colspan=\"2\" align=\"center\">Temp.: 20\u00b0C\u00b12\u00b0C VC: 5V\u00b10.1<br \/>\nHumidity:65%\u00b15% VH:5V\u00b10.1<\/td>\n<\/tr>\n<tr>\n<td align=\"center\">Preheating Time<\/td>\n<td colspan=\"2\" align=\"center\">Over 24 hours<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"\" src=\"https:\/\/ae01.alicdn.com\/kf\/HTB1jRDvXeL2gK0jSZFmq6A7iXXaF.jpg\" alt=\"MQ8 1_\u526f\u672c\" width=\"292\" height=\"292\" data-spm-anchor-id=\"a2g0o.detail.1000023.i0.181c40ebrEpRjm\" \/><img decoding=\"async\" class=\"wp-image-167 alignleft\" src=\"http:\/\/sandboxelectronics.com\/wp-content\/uploads\/2014\/02\/dimensions.png\" sizes=\"(max-width: 987px) 100vw, 987px\" srcset=\"https:\/\/sandboxelectronics.com\/wp-content\/uploads\/2014\/02\/dimensions.png 987w, https:\/\/sandboxelectronics.com\/wp-content\/uploads\/2014\/02\/dimensions-300x171.png 300w\" alt=\"dimensions\" width=\"500\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>\/*******************Demo for MQ-8 Gas Sensor Module V1.0*****************************<br \/>\nContact: support[at]sandboxelectronics.com<\/p>\n<p>Lisence: Attribution-NonCommercial-ShareAlike 3.0 Unported (CC BY-NC-SA 3.0)<\/p>\n<p>Note: This piece of source code is supposed to be used as a demostration ONLY. More<br \/>\nsophisticated calibration is required for industrial field application.<\/p>\n<p>Sandbox Electronics 2014-02-03<br \/>\n************************************************************************************\/<\/p>\n<p>\/************************Hardware Related Macros************************************\/<br \/>\n#define MQ_PIN (0) \/\/define which analog input channel you are going to use<br \/>\n#define RL_VALUE (10) \/\/define the load resistance on the board, in kilo ohms<br \/>\n#define RO_CLEAN_AIR_FACTOR (9.21) \/\/RO_CLEAR_AIR_FACTOR=(Sensor resistance in clean air)\/RO,<br \/>\n\/\/which is derived from the chart in datasheet<\/p>\n<p>\/***********************Software Related Macros************************************\/<br \/>\n#define CALIBARAION_SAMPLE_TIMES (50) \/\/define how many samples you are going to take in the calibration phase<br \/>\n#define CALIBRATION_SAMPLE_INTERVAL (500) \/\/define the time interal(in milisecond) between each samples in the<br \/>\n\/\/cablibration phase<br \/>\n#define READ_SAMPLE_INTERVAL (50) \/\/define how many samples you are going to take in normal operation<br \/>\n#define READ_SAMPLE_TIMES (5) \/\/define the time interal(in milisecond) between each samples in<br \/>\n\/\/normal operation<\/p>\n<p>\/**********************Application Related Macros**********************************\/<br \/>\n#define GAS_H2 (0)<\/p>\n<p>\/*****************************Globals***********************************************\/<br \/>\nfloat H2Curve[3] = {2.3, 0.93,-1.44}; \/\/two points are taken from the curve in datasheet.<br \/>\n\/\/with these two points, a line is formed which is &#8220;approximately equivalent&#8221;<br \/>\n\/\/to the original curve.<br \/>\n\/\/data format:{ x, y, slope}; point1: (lg200, lg8.5), point2: (lg10000, lg0.03)<\/p>\n<p>float Ro = 10; \/\/Ro is initialized to 10 kilo ohms<\/p>\n<p>void setup()<br \/>\n{<br \/>\nSerial.begin(9600); \/\/UART setup, baudrate = 9600bps<br \/>\nSerial.print(&#8220;Calibrating&#8230;\\n&#8221;);<br \/>\nRo = MQCalibration(MQ_PIN); \/\/Calibrating the sensor. Please make sure the sensor is in clean air<br \/>\n\/\/when you perform the calibration<br \/>\nSerial.print(&#8220;Calibration is done&#8230;\\n&#8221;);<br \/>\nSerial.print(&#8220;Ro=&#8221;);<br \/>\nSerial.print(Ro);<br \/>\nSerial.print(&#8220;kohm&#8221;);<br \/>\nSerial.print(&#8220;\\n&#8221;);<br \/>\n}<\/p>\n<p>void loop()<br \/>\n{<br \/>\nSerial.print(&#8220;H2:&#8221;);<br \/>\nSerial.print(MQGetGasPercentage(MQRead(MQ_PIN)\/Ro,GAS_H2) );<br \/>\nSerial.print( &#8220;ppm&#8221; );<br \/>\nSerial.print(&#8220;\\n&#8221;);<br \/>\ndelay(200);<br \/>\n}<\/p>\n<p>\/****************** MQResistanceCalculation ****************************************<br \/>\nInput: raw_adc &#8211; raw value read from adc, which represents the voltage<br \/>\nOutput: the calculated sensor resistance<br \/>\nRemarks: The sensor and the load resistor forms a voltage divider. Given the voltage<br \/>\nacross the load resistor and its resistance, the resistance of the sensor<br \/>\ncould be derived.<br \/>\n************************************************************************************\/<br \/>\nfloat MQResistanceCalculation(int raw_adc)<br \/>\n{<br \/>\nreturn ( ((float)RL_VALUE*(1023-raw_adc)\/raw_adc));<br \/>\n}<\/p>\n<p>\/***************************** MQCalibration ****************************************<br \/>\nInput: mq_pin &#8211; analog channel<br \/>\nOutput: Ro of the sensor<br \/>\nRemarks: This function assumes that the sensor is in clean air. It use<br \/>\nMQResistanceCalculation to calculates the sensor resistance in clean air<br \/>\nand then divides it with RO_CLEAN_AIR_FACTOR. RO_CLEAN_AIR_FACTOR is about<br \/>\n10, which differs slightly between different sensors.<br \/>\n************************************************************************************\/<br \/>\nfloat MQCalibration(int mq_pin)<br \/>\n{<br \/>\nint i;<br \/>\nfloat val=0;<\/p>\n<p>for (i=0;i&lt;CALIBARAION_SAMPLE_TIMES;i++) { \/\/take multiple samples<br \/>\nval += MQResistanceCalculation(analogRead(mq_pin));<br \/>\ndelay(CALIBRATION_SAMPLE_INTERVAL);<br \/>\n}<br \/>\nval = val\/CALIBARAION_SAMPLE_TIMES; \/\/calculate the average value<\/p>\n<p>val = val\/RO_CLEAN_AIR_FACTOR; \/\/divided by RO_CLEAN_AIR_FACTOR yields the Ro<br \/>\n\/\/according to the chart in the datasheet<\/p>\n<p>return val;<br \/>\n}<br \/>\n\/***************************** MQRead *********************************************<br \/>\nInput: mq_pin &#8211; analog channel<br \/>\nOutput: Rs of the sensor<br \/>\nRemarks: This function use MQResistanceCalculation to caculate the sensor resistenc (Rs).<br \/>\nThe Rs changes as the sensor is in the different consentration of the target<br \/>\ngas. The sample times and the time interval between samples could be configured<br \/>\nby changing the definition of the macros.<br \/>\n************************************************************************************\/<br \/>\nfloat MQRead(int mq_pin)<br \/>\n{<br \/>\nint i;<br \/>\nfloat rs=0;<\/p>\n<p>for (i=0;i&lt;READ_SAMPLE_TIMES;i++) {<br \/>\nrs += MQResistanceCalculation(analogRead(mq_pin));<br \/>\ndelay(READ_SAMPLE_INTERVAL);<br \/>\n}<\/p>\n<p>rs = rs\/READ_SAMPLE_TIMES;<\/p>\n<p>return rs;<br \/>\n}<\/p>\n<p>\/***************************** MQGetGasPercentage **********************************<br \/>\nInput: rs_ro_ratio &#8211; Rs divided by Ro<br \/>\ngas_id &#8211; target gas type<br \/>\nOutput: ppm of the target gas<br \/>\nRemarks: This function passes different curves to the MQGetPercentage function which<br \/>\ncalculates the ppm (parts per million) of the target gas.<br \/>\n************************************************************************************\/<br \/>\nint MQGetGasPercentage(float rs_ro_ratio, int gas_id)<br \/>\n{<br \/>\nif ( gas_id == GAS_H2) {<br \/>\nreturn MQGetPercentage(rs_ro_ratio,H2Curve);<br \/>\n}<br \/>\nreturn 0;<br \/>\n}<\/p>\n<p>\/***************************** MQGetPercentage **********************************<br \/>\nInput: rs_ro_ratio &#8211; Rs divided by Ro<br \/>\npcurve &#8211; pointer to the curve of the target gas<br \/>\nOutput: ppm of the target gas<br \/>\nRemarks: By using the slope and a point of the line. The x(logarithmic value of ppm)<br \/>\nof the line could be derived if y(rs_ro_ratio) is provided. As it is a<br \/>\nlogarithmic coordinate, power of 10 is used to convert the result to non-logarithmic<br \/>\nvalue.<br \/>\n************************************************************************************\/<br \/>\nint MQGetPercentage(float rs_ro_ratio, float *pcurve)<br \/>\n{<br \/>\nreturn (pow(10,( ((log(rs_ro_ratio)-pcurve[1])\/pcurve[2]) + pcurve[0])));<br \/>\n}<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; Informa\u010dn\u00e1 str\u00e1nka o senzore MQ-8 Hydrogen Gas Sensor Popis Senzor MQ-8 je modul detektora vod\u00edka, ktor\u00fd sa pou\u017e\u00edva na&hellip;<\/p>\n","protected":false},"featured_media":1514,"template":"","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0},"product_cat":[16,76,69],"product_tag":[],"class_list":{"0":"post-1513","1":"product","2":"type-product","3":"status-publish","4":"has-post-thumbnail","6":"product_cat-ard","7":"product_cat-gas","8":"product_cat-sensors","10":"first","11":"instock","12":"shipping-taxable","13":"purchasable","14":"product-type-simple"},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v23.6 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>MQ-8 Hydrogen Gas Sensor H2 Detection Sensor - Arduino e-shop<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.onetimenexttime.sk\/arduino\/index.php\/produkt\/mq8-hydrogen-gas-sensor-h2-detection-sensor\/\" \/>\n<meta property=\"og:locale\" content=\"sk_SK\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"MQ-8 Hydrogen Gas Sensor H2 Detection Sensor - Arduino e-shop\" \/>\n<meta property=\"og:description\" content=\"&nbsp; Informa\u010dn\u00e1 str\u00e1nka o senzore MQ-8 Hydrogen Gas Sensor Popis Senzor MQ-8 je modul detektora vod\u00edka, ktor\u00fd sa pou\u017e\u00edva na&hellip;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.onetimenexttime.sk\/arduino\/index.php\/produkt\/mq8-hydrogen-gas-sensor-h2-detection-sensor\/\" \/>\n<meta property=\"og:site_name\" content=\"Arduino e-shop\" \/>\n<meta property=\"article:modified_time\" content=\"2024-02-22T18:53:42+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.onetimenexttime.sk\/arduino\/wp-content\/uploads\/2021\/11\/17950.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"490\" \/>\n\t<meta property=\"og:image:height\" content=\"493\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Predpokladan\u00fd \u010das \u010d\u00edtania\" \/>\n\t<meta name=\"twitter:data1\" content=\"5 min\u00fat\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.onetimenexttime.sk\/arduino\/index.php\/produkt\/mq8-hydrogen-gas-sensor-h2-detection-sensor\/\",\"url\":\"https:\/\/www.onetimenexttime.sk\/arduino\/index.php\/produkt\/mq8-hydrogen-gas-sensor-h2-detection-sensor\/\",\"name\":\"MQ-8 Hydrogen Gas Sensor H2 Detection Sensor - Arduino e-shop\",\"isPartOf\":{\"@id\":\"https:\/\/www.onetimenexttime.sk\/arduino\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.onetimenexttime.sk\/arduino\/index.php\/produkt\/mq8-hydrogen-gas-sensor-h2-detection-sensor\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.onetimenexttime.sk\/arduino\/index.php\/produkt\/mq8-hydrogen-gas-sensor-h2-detection-sensor\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.onetimenexttime.sk\/arduino\/wp-content\/uploads\/2021\/11\/17950.jpg\",\"datePublished\":\"2021-11-17T09:26:00+00:00\",\"dateModified\":\"2024-02-22T18:53:42+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.onetimenexttime.sk\/arduino\/index.php\/produkt\/mq8-hydrogen-gas-sensor-h2-detection-sensor\/#breadcrumb\"},\"inLanguage\":\"sk-SK\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.onetimenexttime.sk\/arduino\/index.php\/produkt\/mq8-hydrogen-gas-sensor-h2-detection-sensor\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"sk-SK\",\"@id\":\"https:\/\/www.onetimenexttime.sk\/arduino\/index.php\/produkt\/mq8-hydrogen-gas-sensor-h2-detection-sensor\/#primaryimage\",\"url\":\"https:\/\/www.onetimenexttime.sk\/arduino\/wp-content\/uploads\/2021\/11\/17950.jpg\",\"contentUrl\":\"https:\/\/www.onetimenexttime.sk\/arduino\/wp-content\/uploads\/2021\/11\/17950.jpg\",\"width\":490,\"height\":493},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.onetimenexttime.sk\/arduino\/index.php\/produkt\/mq8-hydrogen-gas-sensor-h2-detection-sensor\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Domov\",\"item\":\"https:\/\/www.onetimenexttime.sk\/arduino\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Obchod\",\"item\":\"https:\/\/www.onetimenexttime.sk\/arduino\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"MQ-8 Hydrogen Gas Sensor H2 Detection Sensor\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.onetimenexttime.sk\/arduino\/#website\",\"url\":\"https:\/\/www.onetimenexttime.sk\/arduino\/\",\"name\":\"Arduino e-shop\",\"description\":\"Home Assistant\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.onetimenexttime.sk\/arduino\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"sk-SK\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"MQ-8 Hydrogen Gas Sensor H2 Detection Sensor - Arduino e-shop","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.onetimenexttime.sk\/arduino\/index.php\/produkt\/mq8-hydrogen-gas-sensor-h2-detection-sensor\/","og_locale":"sk_SK","og_type":"article","og_title":"MQ-8 Hydrogen Gas Sensor H2 Detection Sensor - Arduino e-shop","og_description":"&nbsp; Informa\u010dn\u00e1 str\u00e1nka o senzore MQ-8 Hydrogen Gas Sensor Popis Senzor MQ-8 je modul detektora vod\u00edka, ktor\u00fd sa pou\u017e\u00edva na&hellip;","og_url":"https:\/\/www.onetimenexttime.sk\/arduino\/index.php\/produkt\/mq8-hydrogen-gas-sensor-h2-detection-sensor\/","og_site_name":"Arduino e-shop","article_modified_time":"2024-02-22T18:53:42+00:00","og_image":[{"width":490,"height":493,"url":"https:\/\/www.onetimenexttime.sk\/arduino\/wp-content\/uploads\/2021\/11\/17950.jpg","type":"image\/jpeg"}],"twitter_card":"summary_large_image","twitter_misc":{"Predpokladan\u00fd \u010das \u010d\u00edtania":"5 min\u00fat"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.onetimenexttime.sk\/arduino\/index.php\/produkt\/mq8-hydrogen-gas-sensor-h2-detection-sensor\/","url":"https:\/\/www.onetimenexttime.sk\/arduino\/index.php\/produkt\/mq8-hydrogen-gas-sensor-h2-detection-sensor\/","name":"MQ-8 Hydrogen Gas Sensor H2 Detection Sensor - Arduino e-shop","isPartOf":{"@id":"https:\/\/www.onetimenexttime.sk\/arduino\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.onetimenexttime.sk\/arduino\/index.php\/produkt\/mq8-hydrogen-gas-sensor-h2-detection-sensor\/#primaryimage"},"image":{"@id":"https:\/\/www.onetimenexttime.sk\/arduino\/index.php\/produkt\/mq8-hydrogen-gas-sensor-h2-detection-sensor\/#primaryimage"},"thumbnailUrl":"https:\/\/www.onetimenexttime.sk\/arduino\/wp-content\/uploads\/2021\/11\/17950.jpg","datePublished":"2021-11-17T09:26:00+00:00","dateModified":"2024-02-22T18:53:42+00:00","breadcrumb":{"@id":"https:\/\/www.onetimenexttime.sk\/arduino\/index.php\/produkt\/mq8-hydrogen-gas-sensor-h2-detection-sensor\/#breadcrumb"},"inLanguage":"sk-SK","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.onetimenexttime.sk\/arduino\/index.php\/produkt\/mq8-hydrogen-gas-sensor-h2-detection-sensor\/"]}]},{"@type":"ImageObject","inLanguage":"sk-SK","@id":"https:\/\/www.onetimenexttime.sk\/arduino\/index.php\/produkt\/mq8-hydrogen-gas-sensor-h2-detection-sensor\/#primaryimage","url":"https:\/\/www.onetimenexttime.sk\/arduino\/wp-content\/uploads\/2021\/11\/17950.jpg","contentUrl":"https:\/\/www.onetimenexttime.sk\/arduino\/wp-content\/uploads\/2021\/11\/17950.jpg","width":490,"height":493},{"@type":"BreadcrumbList","@id":"https:\/\/www.onetimenexttime.sk\/arduino\/index.php\/produkt\/mq8-hydrogen-gas-sensor-h2-detection-sensor\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Domov","item":"https:\/\/www.onetimenexttime.sk\/arduino\/"},{"@type":"ListItem","position":2,"name":"Obchod","item":"https:\/\/www.onetimenexttime.sk\/arduino\/"},{"@type":"ListItem","position":3,"name":"MQ-8 Hydrogen Gas Sensor H2 Detection Sensor"}]},{"@type":"WebSite","@id":"https:\/\/www.onetimenexttime.sk\/arduino\/#website","url":"https:\/\/www.onetimenexttime.sk\/arduino\/","name":"Arduino e-shop","description":"Home Assistant","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.onetimenexttime.sk\/arduino\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"sk-SK"}]}},"_links":{"self":[{"href":"https:\/\/www.onetimenexttime.sk\/arduino\/index.php\/wp-json\/wp\/v2\/product\/1513"}],"collection":[{"href":"https:\/\/www.onetimenexttime.sk\/arduino\/index.php\/wp-json\/wp\/v2\/product"}],"about":[{"href":"https:\/\/www.onetimenexttime.sk\/arduino\/index.php\/wp-json\/wp\/v2\/types\/product"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.onetimenexttime.sk\/arduino\/index.php\/wp-json\/wp\/v2\/media\/1514"}],"wp:attachment":[{"href":"https:\/\/www.onetimenexttime.sk\/arduino\/index.php\/wp-json\/wp\/v2\/media?parent=1513"}],"wp:term":[{"taxonomy":"product_cat","embeddable":true,"href":"https:\/\/www.onetimenexttime.sk\/arduino\/index.php\/wp-json\/wp\/v2\/product_cat?post=1513"},{"taxonomy":"product_tag","embeddable":true,"href":"https:\/\/www.onetimenexttime.sk\/arduino\/index.php\/wp-json\/wp\/v2\/product_tag?post=1513"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}