{"id":2633,"date":"2021-10-29T21:33:00","date_gmt":"2021-10-29T19:33:00","guid":{"rendered":"https:\/\/buznik.net\/j\/?p=2633"},"modified":"2023-02-27T22:06:10","modified_gmt":"2023-02-27T20:06:10","slug":"smoke-and-temperature-sensor-for-my-3d-printer","status":"publish","type":"post","link":"https:\/\/buznik.net\/j\/2633-smoke-and-temperature-sensor-for-my-3d-printer\/","title":{"rendered":"Smoke and\u00a0Temperature Sensor for\u00a0my 3D-printer"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Sometime ago I bought an&nbsp;IKEA smoke sensor. It lived some time in&nbsp;the&nbsp;kitchen as&nbsp;expected, but&nbsp;then I put next to&nbsp;my 3D-printer that was located in&nbsp;the&nbsp;garage.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">But&nbsp;then, it doesn\u2019t make a&nbsp;lot of&nbsp;sense if it only fires an&nbsp;alarm in&nbsp;case of&nbsp;smoke, since I maybe away, so I decided to&nbsp;hack it into something IoT.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">There are a&nbsp;couple of&nbsp;useful blog (<a href=\"http:\/\/thomas-messmer.com\/index.php\/kontakt\/14-free-knowledge\/howtos\/75-smoke-detector-to-shutdown-3d-printer\">this<\/a>&nbsp;and&nbsp;<a href=\"https:\/\/blog.flo.cx\/2018\/08\/ikea-diy-smart-smoke-detector\/\">that<\/a>) posts that I started from.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">It took quite a&nbsp;while to&nbsp;just follow the&nbsp;advice given there and&nbsp;to&nbsp;solder properly ground connection to&nbsp;the&nbsp;CS2105G0-S12 chip (that people suggest is actually MC145012). Anyway my project is a&nbsp;bit simpler in&nbsp;a&nbsp;way&nbsp;\u2013 the&nbsp;wi-fi module (Wemos D1 mini) is constantly powered with USB and&nbsp;feeds data every second to&nbsp;Blynk.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"800\" src=\"https:\/\/buznik.net\/j\/wp-content\/uploads\/2023\/02\/img_20211029_233110_030-800x800.jpg\" alt=\"\" class=\"wp-image-2634\" srcset=\"https:\/\/buznik.net\/j\/wp-content\/uploads\/2023\/02\/img_20211029_233110_030-800x800.jpg 800w, https:\/\/buznik.net\/j\/wp-content\/uploads\/2023\/02\/img_20211029_233110_030-300x300.jpg 300w, https:\/\/buznik.net\/j\/wp-content\/uploads\/2023\/02\/img_20211029_233110_030-150x150.jpg 150w, https:\/\/buznik.net\/j\/wp-content\/uploads\/2023\/02\/img_20211029_233110_030-768x768.jpg 768w, https:\/\/buznik.net\/j\/wp-content\/uploads\/2023\/02\/img_20211029_233110_030-120x120.jpg 120w, https:\/\/buznik.net\/j\/wp-content\/uploads\/2023\/02\/img_20211029_233110_030.jpg 1080w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"800\" src=\"https:\/\/buznik.net\/j\/wp-content\/uploads\/2023\/02\/img_20211029_233110_007-800x800.jpg\" alt=\"\" class=\"wp-image-2636\" srcset=\"https:\/\/buznik.net\/j\/wp-content\/uploads\/2023\/02\/img_20211029_233110_007-800x800.jpg 800w, https:\/\/buznik.net\/j\/wp-content\/uploads\/2023\/02\/img_20211029_233110_007-300x300.jpg 300w, https:\/\/buznik.net\/j\/wp-content\/uploads\/2023\/02\/img_20211029_233110_007-150x150.jpg 150w, https:\/\/buznik.net\/j\/wp-content\/uploads\/2023\/02\/img_20211029_233110_007-768x768.jpg 768w, https:\/\/buznik.net\/j\/wp-content\/uploads\/2023\/02\/img_20211029_233110_007-120x120.jpg 120w, https:\/\/buznik.net\/j\/wp-content\/uploads\/2023\/02\/img_20211029_233110_007.jpg 1080w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"754\" src=\"https:\/\/buznik.net\/j\/wp-content\/uploads\/2023\/02\/screenshot-2021-10-29-at-23.24.05-800x754.png\" alt=\"\" class=\"wp-image-2635\" srcset=\"https:\/\/buznik.net\/j\/wp-content\/uploads\/2023\/02\/screenshot-2021-10-29-at-23.24.05-800x754.png 800w, https:\/\/buznik.net\/j\/wp-content\/uploads\/2023\/02\/screenshot-2021-10-29-at-23.24.05-300x283.png 300w, https:\/\/buznik.net\/j\/wp-content\/uploads\/2023\/02\/screenshot-2021-10-29-at-23.24.05-768x724.png 768w, https:\/\/buznik.net\/j\/wp-content\/uploads\/2023\/02\/screenshot-2021-10-29-at-23.24.05.png 1424w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">One other issue I had was that smoke sensor IC is using 9V for&nbsp;power and&nbsp;signals, so it had to&nbsp;be stepped down. With invaluable help from my former colleague&nbsp;<a href=\"https:\/\/michd.me\/\">Mich<\/a>, I did it using an&nbsp;NPN transistor and&nbsp;it works pretty smoothly.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Printed a&nbsp;special case for&nbsp;it to&nbsp;fit all the&nbsp;components.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In&nbsp;case of&nbsp;smoke the&nbsp;Blynk app will send me a&nbsp;notification. Later on, it will also turn off the&nbsp;smart socket that the&nbsp;printer is powered with.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Arduino source is on&nbsp;<a href=\"https:\/\/github.com\/beshur\/arduino-misc\/tree\/master\/ESP8266_Temperature_Smoke\">Github<\/a>. I will try to&nbsp;put some more details and&nbsp;the&nbsp;scheme later.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I have no&nbsp;illusions that this thingy is pretty weak in&nbsp;terms of&nbsp;safety and&nbsp;reliability&nbsp;\u2013 there are too many things to&nbsp;break in&nbsp;case of&nbsp;a&nbsp;real fire&nbsp;\u2013 but&nbsp;it was an&nbsp;important learning project for&nbsp;me.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Sometime ago I bought an&nbsp;IKEA smoke sensor. It lived some time in&nbsp;the&nbsp;kitchen as&nbsp;expected, but&nbsp;then I put next to&nbsp;my 3D-printer that was located in&nbsp;the&nbsp;garage. But&nbsp;then, it doesn\u2019t make a&nbsp;lot of&nbsp;sense if it only fires an&nbsp;alarm in&nbsp;case of&nbsp;smoke, since I maybe away, so I decided to&nbsp;hack it into something IoT. There are a&nbsp;couple of&nbsp;useful blog (this&nbsp;and&nbsp;that) posts [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":2637,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[768],"tags":[],"class_list":["post-2633","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-projects-en"],"acf":[],"jetpack_featured_media_url":"https:\/\/buznik.net\/j\/wp-content\/uploads\/2023\/02\/img_20211029_233110_047.jpg","_links":{"self":[{"href":"https:\/\/buznik.net\/j\/wp-json\/wp\/v2\/posts\/2633","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/buznik.net\/j\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/buznik.net\/j\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/buznik.net\/j\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/buznik.net\/j\/wp-json\/wp\/v2\/comments?post=2633"}],"version-history":[{"count":2,"href":"https:\/\/buznik.net\/j\/wp-json\/wp\/v2\/posts\/2633\/revisions"}],"predecessor-version":[{"id":2657,"href":"https:\/\/buznik.net\/j\/wp-json\/wp\/v2\/posts\/2633\/revisions\/2657"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/buznik.net\/j\/wp-json\/wp\/v2\/media\/2637"}],"wp:attachment":[{"href":"https:\/\/buznik.net\/j\/wp-json\/wp\/v2\/media?parent=2633"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/buznik.net\/j\/wp-json\/wp\/v2\/categories?post=2633"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/buznik.net\/j\/wp-json\/wp\/v2\/tags?post=2633"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}