{"id":77,"date":"2017-01-12T20:57:24","date_gmt":"2017-01-12T19:57:24","guid":{"rendered":"http:\/\/emariete.com\/?p=77"},"modified":"2017-01-12T20:57:24","modified_gmt":"2017-01-12T19:57:24","slug":"co2-meter-sp8266","status":"publish","type":"post","link":"https:\/\/emariete.com\/en\/medidor-co2-esp8266\/","title":{"rendered":"CO2 meter with ESP8266"},"content":{"rendered":"<p class=\"wp-block-paragraph\">This article is quite old (from around 2015). Read the new articles, with updated tutorials on how to build a homemade CO2 meter, here:<\/p>\n\n\n<div class=\"gb-container gb-container-8629438e\">\n\n<figure class=\"wp-block-embed aligncenter is-type-wp-embed is-provider-emariete wp-block-embed-emariete\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"sD0LXCTTUH\"><a href=\"https:\/\/emariete.com\/en\/carbon-gas-co2-meter\/\">A home CO2 meter with Wifi against the coronavirus: The CO2 Easy<\/a><\/blockquote><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; visibility: hidden;\" title=\"&quot;A home CO2 meter with Wifi against the coronavirus: The CO2 Easy&quot; - eMariete\" src=\"https:\/\/emariete.com\/medidor-casero-co2\/embed\/#?secret=wZVjp0SXPZ#?secret=sD0LXCTTUH\" data-secret=\"sD0LXCTTUH\" width=\"600\" height=\"338\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n\n\n\n<figure class=\"wp-block-embed aligncenter is-type-wp-embed is-provider-emariete wp-block-embed-emariete\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"brLzaovJKO\"><a href=\"https:\/\/emariete.com\/en\/co2-meter-gadget\/\">CO2 Gadget: Advanced CO2 Monitor<\/a><\/blockquote><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; visibility: hidden;\" title=\"&quot;CO2 Gadget: Advanced CO2 Meter&quot; - eMariete\" src=\"https:\/\/emariete.com\/medidor-co2-gadget\/embed\/#?secret=ybrpJfWS7S#?secret=brLzaovJKO\" data-secret=\"brLzaovJKO\" width=\"600\" height=\"338\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n\n<\/div>\n\n\n<h2 class=\"wp-block-heading\" id=\"h-el-co2-dioxido-de-carbono\">CO2 (Carbon Dioxide)<\/h2>\n\n\n<div class=\"gb-grid-wrapper gb-grid-wrapper-cb1b590b\">\n<div class=\"gb-grid-column gb-grid-column-14a4908a\"><div class=\"gb-container gb-container-14a4908a\"><div class=\"gb-inside-container\">\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"600\" height=\"600\" src=\"https:\/\/emariete.com\/wp-content\/uploads\/2017\/01\/MH-Z19-4.jpg\" alt=\"Sensor MH-Z19B\" class=\"wp-image-98\" srcset=\"https:\/\/emariete.com\/wp-content\/uploads\/2017\/01\/MH-Z19-4.jpg 600w, https:\/\/emariete.com\/wp-content\/uploads\/2017\/01\/MH-Z19-4-300x300.jpg 300w, https:\/\/emariete.com\/wp-content\/uploads\/2017\/01\/MH-Z19-4-150x150.jpg 150w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/figure>\n<\/div>\n<\/div><\/div><\/div>\n\n<div class=\"gb-grid-column gb-grid-column-a1d5da34\"><div class=\"gb-container gb-container-a1d5da34\"><div class=\"gb-inside-container\">\n\n<p class=\"wp-block-paragraph\">CO2 (Carbon Dioxide) is a gas <strong>dangerous to humans<\/strong>. In high concentrations it can produce <strong>dizziness, headache, high blood pressure, rapid heart rate, choking and loss of consciousness<\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Caution should be exercised with it, especially in the <strong>places where there are many people <\/strong>and little ventilation, as we expel it in the breathing process.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Plants produce the reverse effect. <strong>Through the process of photosynthesis, they absorb CO2 and release oxygen.<\/strong>.<\/p>\n\n<\/div><\/div><\/div>\n<\/div>\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-4-3 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"How photosynthesis takes place\" width=\"1200\" height=\"900\" src=\"https:\/\/www.youtube.com\/embed\/KPFRz7pnprQ?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n<div class=\"gb-grid-wrapper gb-grid-wrapper-3ee15a0e\">\n<div class=\"gb-grid-column gb-grid-column-713a9997\"><div class=\"gb-container gb-container-713a9997\"><div class=\"gb-inside-container\">\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"758\" src=\"https:\/\/emariete.com\/wp-content\/uploads\/2020\/11\/CameraZOOM-20170113200011289-scaled-1-1024x758.jpg\" alt=\"Home CO2 meter with WiFi\" class=\"wp-image-236355\" srcset=\"https:\/\/emariete.com\/wp-content\/uploads\/2020\/11\/CameraZOOM-20170113200011289-scaled-1-1024x758.jpg 1024w, https:\/\/emariete.com\/wp-content\/uploads\/2020\/11\/CameraZOOM-20170113200011289-scaled-1-300x222.jpg 300w, https:\/\/emariete.com\/wp-content\/uploads\/2020\/11\/CameraZOOM-20170113200011289-scaled-1-768x569.jpg 768w, https:\/\/emariete.com\/wp-content\/uploads\/2020\/11\/CameraZOOM-20170113200011289-scaled-1-1536x1138.jpg 1536w, https:\/\/emariete.com\/wp-content\/uploads\/2020\/11\/CameraZOOM-20170113200011289-scaled-1-2048x1517.jpg 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/div>\n<\/div><\/div><\/div>\n\n<div class=\"gb-grid-column gb-grid-column-2c81930e\"><div class=\"gb-container gb-container-2c81930e\"><div class=\"gb-inside-container\">\n\n<p class=\"wp-block-paragraph\" id=\"block-0cb94371-8307-46ce-bb13-caf6b5c834cb\">I have been thinking for years about having Wifi CO2 sensors in the house, which would allow me to <strong>trigger alarms when levels are too high<\/strong> or perform other actions.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\" id=\"block-0cb94371-8307-46ce-bb13-caf6b5c834cb\">About a year ago, I installed a <strong>Netatmo weather station<\/strong> (which I didn't need, as I have a Davis Vantage PRO2) and one of the nice things about it is that it has <strong>an indoor CO2 sensor<\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\" id=\"block-0cb94371-8307-46ce-bb13-caf6b5c834cb\">The interior module of the Netatmo station is <strong>installed in the living room<\/strong> (providing data on temperature, humidity, brightness, sound pressure and CO2) but I would like to be able to <strong>measuring CO2 in more places<\/strong> and, in particular, to take spot measurements to know if we are \"at risk\", e.g. measuring CO2 levels. <strong>in different bedrooms<\/strong> while we sleep.<canvas width=\"103\" height=\"23\"><\/canvas><\/p>\n\n<\/div><\/div><\/div>\n<\/div>\n\n<div class=\"gb-grid-wrapper gb-grid-wrapper-019920dd\">\n<div class=\"gb-grid-column gb-grid-column-bdd5d53b\"><div class=\"gb-container gb-container-bdd5d53b\"><div class=\"gb-inside-container\">\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"600\" height=\"600\" src=\"https:\/\/emariete.com\/wp-content\/uploads\/2017\/01\/MH-Z19-3.jpg\" alt=\"\" class=\"wp-image-97\" srcset=\"https:\/\/emariete.com\/wp-content\/uploads\/2017\/01\/MH-Z19-3.jpg 600w, https:\/\/emariete.com\/wp-content\/uploads\/2017\/01\/MH-Z19-3-300x300.jpg 300w, https:\/\/emariete.com\/wp-content\/uploads\/2017\/01\/MH-Z19-3-150x150.jpg 150w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/figure>\n<\/div>\n<\/div><\/div><\/div>\n\n<div class=\"gb-grid-column gb-grid-column-897ec452\"><div class=\"gb-container gb-container-897ec452\"><div class=\"gb-inside-container\">\n\n<p class=\"wp-block-paragraph\">Until relatively recently, <strong>CO2 sensors were very expensive<\/strong> and needed a <strong>calibration <\/strong>which was not normally available to amateurs. This has changed considerably in recent months with the emergence of some <strong>economic sensors<\/strong> easy to use and pre-calibrated at the factory.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I recently started looking for information about the \"<em>state of the art<\/em>\"I was looking for a way to see if it was finally time to tackle the issue of sensors, and I came across a number of rather interesting sensors. Among the ones I came across was one that stood out from the rest, <strong>the MH-Z19<\/strong>.<\/p>\n\n<\/div><\/div><\/div>\n<\/div>\n\n\n<h2 class=\"wp-block-heading\" id=\"h-caracteristicas-y-diseno-del-detector-de-co2\">CO2 detector features and design<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">I had already decided that I was going to build a CO2 meter, now I had to decide what functionalities it would have and make the design.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">As features, the most important thing was that it had a wifi connection and that I could connect it to my home automation system, the rest didn't matter much to me.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">However, I wanted it to be a cheap design, as I was planning to put several detectors in the house and I didn't want the budget to go through the roof.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-construccion-del-detector-de-co2-wifi\">Construction of the Wifi CO2 detector<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The detector consists of an ESP8266 microcontroller module with integrated Wifi and a CO2 sensor.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Find the <strong>NEW tutorial <\/strong>to build the new version of the CO2 meter here:<\/p>\n\n\n<div class=\"gb-container gb-container-7bc1f738\">\n\n<figure class=\"wp-block-embed is-type-wp-embed is-provider-emariete wp-block-embed-emariete\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"sD0LXCTTUH\"><a href=\"https:\/\/emariete.com\/en\/carbon-gas-co2-meter\/\">A home CO2 meter with Wifi against the coronavirus: The CO2 Easy<\/a><\/blockquote><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; visibility: hidden;\" title=\"&quot;A home CO2 meter with Wifi against the coronavirus: The CO2 Easy&quot; - eMariete\" src=\"https:\/\/emariete.com\/medidor-casero-co2\/embed\/#?secret=wZVjp0SXPZ#?secret=sD0LXCTTUH\" data-secret=\"sD0LXCTTUH\" width=\"600\" height=\"338\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n\n<\/div>\n\n<div class=\"gb-container gb-container-6dde5bf4\">\n\n<figure class=\"wp-block-embed aligncenter is-type-wp-embed is-provider-emariete wp-block-embed-emariete\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"brLzaovJKO\"><a href=\"https:\/\/emariete.com\/en\/co2-meter-gadget\/\">CO2 Gadget: Advanced CO2 Monitor<\/a><\/blockquote><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; visibility: hidden;\" title=\"&quot;CO2 Gadget: Advanced CO2 Meter&quot; - eMariete\" src=\"https:\/\/emariete.com\/medidor-co2-gadget\/embed\/#?secret=ybrpJfWS7S#?secret=brLzaovJKO\" data-secret=\"brLzaovJKO\" width=\"600\" height=\"338\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n\n<\/div>","protected":false},"excerpt":{"rendered":"<p>CO2 (carbon dioxide) is a dangerous gas for humans. In high concentrations it can cause dizziness, headache, high blood pressure, rapid heart rate, asphyxia and unconsciousness.<\/p>","protected":false},"author":1,"featured_media":242994,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_uag_custom_page_level_css":"","_lmt_disableupdate":"yes","_lmt_disable":"no","footnotes":""},"categories":[16,17],"tags":[20,25,26,28,32,41,43,50,51],"class_list":["post-77","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-medidor-co2","category-proyectos-arduino","tag-arduino","tag-domotica","tag-espeasy","tag-esp8266","tag-hogar-inteligente","tag-nodemcu","tag-proyectos-arduino","tag-sensores","tag-smart-home"],"modified_by":"Mariete","uagb_featured_image_src":{"full":["https:\/\/emariete.com\/wp-content\/uploads\/2017\/01\/Medidor-de-CO2-con-ESP8266-Featured-Image.jpg",1376,768,false],"thumbnail":["https:\/\/emariete.com\/wp-content\/uploads\/2017\/01\/Medidor-de-CO2-con-ESP8266-Featured-Image-150x150.jpg",150,150,true],"medium":["https:\/\/emariete.com\/wp-content\/uploads\/2017\/01\/Medidor-de-CO2-con-ESP8266-Featured-Image-300x167.jpg",300,167,true],"medium_large":["https:\/\/emariete.com\/wp-content\/uploads\/2017\/01\/Medidor-de-CO2-con-ESP8266-Featured-Image-768x429.jpg",768,429,true],"large":["https:\/\/emariete.com\/wp-content\/uploads\/2017\/01\/Medidor-de-CO2-con-ESP8266-Featured-Image-1024x572.jpg",1024,572,true],"1536x1536":["https:\/\/emariete.com\/wp-content\/uploads\/2017\/01\/Medidor-de-CO2-con-ESP8266-Featured-Image.jpg",1376,768,false],"2048x2048":["https:\/\/emariete.com\/wp-content\/uploads\/2017\/01\/Medidor-de-CO2-con-ESP8266-Featured-Image.jpg",1376,768,false],"trp-custom-language-flag":["https:\/\/emariete.com\/wp-content\/uploads\/2017\/01\/Medidor-de-CO2-con-ESP8266-Featured-Image-18x10.jpg",18,10,true]},"uagb_author_info":{"display_name":"Mariete","author_link":"https:\/\/emariete.com\/en\/author\/admin_xlyz052h\/"},"uagb_comment_info":4,"uagb_excerpt":"El CO2 (Di\u00f3xido de Carbono) es un gas peligroso para el ser humano. En concentraciones elevadas puede producir v\u00e9rtigo, dolor de cabeza, presi\u00f3n sangu\u00ednea elevada, ritmo card\u00edaco acelerado, asfixia y p\u00e9rdida del conocimiento.","_links":{"self":[{"href":"https:\/\/emariete.com\/en\/wp-json\/wp\/v2\/posts\/77","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/emariete.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/emariete.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/emariete.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/emariete.com\/en\/wp-json\/wp\/v2\/comments?post=77"}],"version-history":[{"count":3,"href":"https:\/\/emariete.com\/en\/wp-json\/wp\/v2\/posts\/77\/revisions"}],"predecessor-version":[{"id":242993,"href":"https:\/\/emariete.com\/en\/wp-json\/wp\/v2\/posts\/77\/revisions\/242993"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/emariete.com\/en\/wp-json\/wp\/v2\/media\/242994"}],"wp:attachment":[{"href":"https:\/\/emariete.com\/en\/wp-json\/wp\/v2\/media?parent=77"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/emariete.com\/en\/wp-json\/wp\/v2\/categories?post=77"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/emariete.com\/en\/wp-json\/wp\/v2\/tags?post=77"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}