{"id":4704,"date":"2025-06-02T10:17:00","date_gmt":"2025-06-02T15:17:00","guid":{"rendered":"https:\/\/lab.rapternet.us\/?p=4704"},"modified":"2025-05-13T19:46:29","modified_gmt":"2025-05-14T00:46:29","slug":"finishing-old-projects-1-adafruit-gas-mask","status":"publish","type":"post","link":"https:\/\/lab.rapternet.us\/?p=4704","title":{"rendered":"Finishing Old Projects 1 &#8211; Adafruit Gas Mask"},"content":{"rendered":"\n<p>I have a number of old projects I started years ago and never got around to finishing. Some of these have electronics in the plans, others are just 3d prints. Many of them I purchased parts for, or printed parts of them, but I just never managed to finish them. So I plan on getting them done, cutting a few corners to do so, but it&#8217;s better than not doing them at all.<\/p>\n\n\n\n<!--more-->\n\n\n\n<p>This first project is an adafruit designed gas mask. I picked up all the electronics for it in 2017 and even printed 90% of the parts I&#8217;d need. It mainly needs assembly and maybe a few extra bits as needed to finish it up.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Parts<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Electro luminescent (EL) wire <\/li>\n\n\n\n<li>EL wire transformer<\/li>\n\n\n\n<li>16 LED ring<\/li>\n\n\n\n<li>24 LED ring<\/li>\n\n\n\n<li>Micro controller<\/li>\n\n\n\n<li>Various 3d printed components<\/li>\n<\/ul>\n\n\n\n<p>To get this off the ground and finally built, I decided to run it off of WLED, and skip making it wearable (it&#8217;ll join my mask wall instead). To do this, we&#8217;ll want an ESP32, a relay to control the EL wire, and a step down buck converter to power the EL transformer instead of batteries.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Needed to Finish<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>ESP32<\/li>\n\n\n\n<li>Relay<\/li>\n\n\n\n<li>Step down buck converter<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Assembly<\/h2>\n\n\n\n<p>To start things out, I wanted to disassemble the EL transformer so I can make it as small as possible. If I can, I want to remove it from the battery case and get just the circuit board out which is (helpfully) quite small.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"769\" src=\"https:\/\/lab.rapternet.us\/wp-content\/uploads\/2025\/01\/pxl_20250107_0208430412283034237638803870-1024x769.jpg\" alt=\"\" class=\"wp-image-4703\" srcset=\"https:\/\/lab.rapternet.us\/wp-content\/uploads\/2025\/01\/pxl_20250107_0208430412283034237638803870-1024x769.jpg 1024w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2025\/01\/pxl_20250107_0208430412283034237638803870-300x225.jpg 300w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2025\/01\/pxl_20250107_0208430412283034237638803870-768x577.jpg 768w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2025\/01\/pxl_20250107_0208430412283034237638803870-1536x1154.jpg 1536w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2025\/01\/pxl_20250107_0208430412283034237638803870.jpg 2000w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/figure>\n\n\n\n<p>Luckily the EL driver case can be pretty easily opened up with one screw, and we find that all we need is a small circuit board from it (which is also only held in with one screw). This can be removed easily enough from the enclosure, after which I&#8217;ll remove the battery tabs. My plan is to power it with a step down converter from the ESP 5v input to the expected 3v.<\/p>\n\n\n\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-1 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"769\" data-id=\"4702\" src=\"https:\/\/lab.rapternet.us\/wp-content\/uploads\/2025\/01\/pxl_20250107_0208243316461863908144372041-1024x769.jpg\" alt=\"\" class=\"wp-image-4702\" srcset=\"https:\/\/lab.rapternet.us\/wp-content\/uploads\/2025\/01\/pxl_20250107_0208243316461863908144372041-1024x769.jpg 1024w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2025\/01\/pxl_20250107_0208243316461863908144372041-300x225.jpg 300w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2025\/01\/pxl_20250107_0208243316461863908144372041-768x577.jpg 768w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2025\/01\/pxl_20250107_0208243316461863908144372041-1536x1154.jpg 1536w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2025\/01\/pxl_20250107_0208243316461863908144372041.jpg 2000w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"769\" data-id=\"4701\" src=\"https:\/\/lab.rapternet.us\/wp-content\/uploads\/2025\/01\/pxl_20250107_0210144837139300826540189557-1024x769.jpg\" alt=\"\" class=\"wp-image-4701\" srcset=\"https:\/\/lab.rapternet.us\/wp-content\/uploads\/2025\/01\/pxl_20250107_0210144837139300826540189557-1024x769.jpg 1024w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2025\/01\/pxl_20250107_0210144837139300826540189557-300x225.jpg 300w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2025\/01\/pxl_20250107_0210144837139300826540189557-768x577.jpg 768w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2025\/01\/pxl_20250107_0210144837139300826540189557-1536x1154.jpg 1536w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2025\/01\/pxl_20250107_0210144837139300826540189557.jpg 2000w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/figure>\n<figcaption class=\"blocks-gallery-caption wp-element-caption\">Driver opened up<\/figcaption><\/figure>\n\n\n\n<p>Now let&#8217;s see if all the parts we have will fit in the respirator design for the mask. I&#8217;m hoping to fit the EL driver, relay, and step down in the respirator, with the ESP mounted in the back of the mask. That should cover all the electronics needed for the final mask build.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"769\" src=\"https:\/\/lab.rapternet.us\/wp-content\/uploads\/2025\/01\/pxl_20250108_0139117543008586198006014717-1024x769.jpg\" alt=\"\" class=\"wp-image-4711\" srcset=\"https:\/\/lab.rapternet.us\/wp-content\/uploads\/2025\/01\/pxl_20250108_0139117543008586198006014717-1024x769.jpg 1024w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2025\/01\/pxl_20250108_0139117543008586198006014717-300x225.jpg 300w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2025\/01\/pxl_20250108_0139117543008586198006014717-768x577.jpg 768w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2025\/01\/pxl_20250108_0139117543008586198006014717-1536x1154.jpg 1536w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2025\/01\/pxl_20250108_0139117543008586198006014717.jpg 2000w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><figcaption class=\"wp-element-caption\">Testing of all the components will fit in the respirator<\/figcaption><\/figure>\n\n\n\n<p>Next up I wired up the two LED rings and stuck them into the mounting ring. I added a bit of hot glue for good measure to make sure they didn&#8217;t wiggle free.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"769\" src=\"https:\/\/lab.rapternet.us\/wp-content\/uploads\/2025\/01\/pxl_20250108_0139235478995392131661434750-1024x769.jpg\" alt=\"\" class=\"wp-image-4709\" srcset=\"https:\/\/lab.rapternet.us\/wp-content\/uploads\/2025\/01\/pxl_20250108_0139235478995392131661434750-1024x769.jpg 1024w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2025\/01\/pxl_20250108_0139235478995392131661434750-300x225.jpg 300w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2025\/01\/pxl_20250108_0139235478995392131661434750-768x577.jpg 768w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2025\/01\/pxl_20250108_0139235478995392131661434750-1536x1154.jpg 1536w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2025\/01\/pxl_20250108_0139235478995392131661434750.jpg 2000w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><figcaption class=\"wp-element-caption\">Assembled LED rings<\/figcaption><\/figure>\n\n\n\n<p>Hooking everything up to tune the buck converter might be a bit overkill but it worked out well enough and I needed some sort of 5v source to go off of. This was totally to make it more precise (and not to double check the LED ring functionality etc).<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"769\" src=\"https:\/\/lab.rapternet.us\/wp-content\/uploads\/2025\/01\/pxl_20250109_0133446836026341377172792898-1024x769.jpg\" alt=\"\" class=\"wp-image-4713\" srcset=\"https:\/\/lab.rapternet.us\/wp-content\/uploads\/2025\/01\/pxl_20250109_0133446836026341377172792898-1024x769.jpg 1024w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2025\/01\/pxl_20250109_0133446836026341377172792898-300x225.jpg 300w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2025\/01\/pxl_20250109_0133446836026341377172792898-768x577.jpg 768w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2025\/01\/pxl_20250109_0133446836026341377172792898-1536x1154.jpg 1536w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2025\/01\/pxl_20250109_0133446836026341377172792898.jpg 2000w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><figcaption class=\"wp-element-caption\">Setting the voltage of the step down buck converter<\/figcaption><\/figure>\n\n\n\n<p>With the buck converter tuned to the right voltage and everything else working, it was time to hook up the final parts and run it all integrated for the first time.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"769\" src=\"https:\/\/lab.rapternet.us\/wp-content\/uploads\/2025\/01\/pxl_20250109_0152396016202682367080672590-1024x769.jpg\" alt=\"\" class=\"wp-image-4714\" srcset=\"https:\/\/lab.rapternet.us\/wp-content\/uploads\/2025\/01\/pxl_20250109_0152396016202682367080672590-1024x769.jpg 1024w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2025\/01\/pxl_20250109_0152396016202682367080672590-300x225.jpg 300w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2025\/01\/pxl_20250109_0152396016202682367080672590-768x577.jpg 768w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2025\/01\/pxl_20250109_0152396016202682367080672590-1536x1154.jpg 1536w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2025\/01\/pxl_20250109_0152396016202682367080672590.jpg 2000w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><figcaption class=\"wp-element-caption\">Everything powered up for the first time together<\/figcaption><\/figure>\n\n\n\n<p>This was when I encountered a fatal flaw in my plan. I found out that the button on the converter wasn&#8217;t an on\/off I could simply hard wire, but an input to a small IC on it that cycled through 4 settings: blink fast, blink slow, on, and off. <\/p>\n\n\n\n<p>I decided to go with the stupid simple route in an effort to bring the project to completion. Instead of working through a way to have WLED set the transformer setting, or to find a way to hack around the IC on it, I&#8217;d put an extension cord on the button and deal with it later! This project has been incomplete for years, I don&#8217;t need a reason to leave it that way longer.<\/p>\n\n\n\n<p>I crammed the transformer, relay, and step down into the respirator, adding some electrical tape to the back of the transformer just in case. As usual, they&#8217;re all hot glued in as well. I left enough space for the 4 pin LED connector to fit between and get out of the respirator to the ESP.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"769\" height=\"1024\" src=\"https:\/\/lab.rapternet.us\/wp-content\/uploads\/2025\/01\/pxl_20250109_023256663225858177379806458-769x1024.jpg\" alt=\"\" class=\"wp-image-4712\" srcset=\"https:\/\/lab.rapternet.us\/wp-content\/uploads\/2025\/01\/pxl_20250109_023256663225858177379806458-769x1024.jpg 769w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2025\/01\/pxl_20250109_023256663225858177379806458-225x300.jpg 225w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2025\/01\/pxl_20250109_023256663225858177379806458-768x1023.jpg 768w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2025\/01\/pxl_20250109_023256663225858177379806458-1154x1536.jpg 1154w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2025\/01\/pxl_20250109_023256663225858177379806458.jpg 1502w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><figcaption class=\"wp-element-caption\">Assembled respirator<\/figcaption><\/figure>\n\n\n\n<p>With all the electronics in the respirator, I jammed it into the front of the mask proper to join the parts together, strung the EL wire throughout the mask and added the LED rings to it. <\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"769\" height=\"1024\" src=\"https:\/\/lab.rapternet.us\/wp-content\/uploads\/2025\/01\/pxl_20250109_0312470861014234541011315566-769x1024.jpg\" alt=\"\" class=\"wp-image-4710\" srcset=\"https:\/\/lab.rapternet.us\/wp-content\/uploads\/2025\/01\/pxl_20250109_0312470861014234541011315566-769x1024.jpg 769w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2025\/01\/pxl_20250109_0312470861014234541011315566-225x300.jpg 225w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2025\/01\/pxl_20250109_0312470861014234541011315566-768x1023.jpg 768w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2025\/01\/pxl_20250109_0312470861014234541011315566-1154x1536.jpg 1154w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2025\/01\/pxl_20250109_0312470861014234541011315566.jpg 1502w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><figcaption class=\"wp-element-caption\">Assembled mask<\/figcaption><\/figure>\n\n\n\n<p>I&#8217;m happy it&#8217;s finally built, even if I had to cut a corner and make the EL manual to turn on rather than automatic. Maybe I&#8217;ll be able to figure that out in the future, but for now, it&#8217;s off the list of shelved projects.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"769\" src=\"https:\/\/lab.rapternet.us\/wp-content\/uploads\/2025\/01\/pxl_20250109_0318446737939807978219051926-1024x769.jpg\" alt=\"\" class=\"wp-image-4708\" srcset=\"https:\/\/lab.rapternet.us\/wp-content\/uploads\/2025\/01\/pxl_20250109_0318446737939807978219051926-1024x769.jpg 1024w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2025\/01\/pxl_20250109_0318446737939807978219051926-300x225.jpg 300w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2025\/01\/pxl_20250109_0318446737939807978219051926-768x577.jpg 768w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2025\/01\/pxl_20250109_0318446737939807978219051926-1536x1154.jpg 1536w, https:\/\/lab.rapternet.us\/wp-content\/uploads\/2025\/01\/pxl_20250109_0318446737939807978219051926.jpg 2000w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><figcaption class=\"wp-element-caption\">All lit up<\/figcaption><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>I have a number of old projects I started years ago and never got around to finishing. Some of these have electronics in the plans, others are just 3d prints. Many of them I purchased parts for, or printed parts of them, but I just never managed to finish them. So I plan on getting &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/lab.rapternet.us\/?p=4704\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Finishing Old Projects 1 &#8211; Adafruit Gas Mask&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":4708,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[56],"tags":[18,55,58],"class_list":["post-4704","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-making","tag-3d-printing","tag-making","tag-wled"],"_links":{"self":[{"href":"https:\/\/lab.rapternet.us\/index.php?rest_route=\/wp\/v2\/posts\/4704","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lab.rapternet.us\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lab.rapternet.us\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lab.rapternet.us\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lab.rapternet.us\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4704"}],"version-history":[{"count":6,"href":"https:\/\/lab.rapternet.us\/index.php?rest_route=\/wp\/v2\/posts\/4704\/revisions"}],"predecessor-version":[{"id":4735,"href":"https:\/\/lab.rapternet.us\/index.php?rest_route=\/wp\/v2\/posts\/4704\/revisions\/4735"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lab.rapternet.us\/index.php?rest_route=\/wp\/v2\/media\/4708"}],"wp:attachment":[{"href":"https:\/\/lab.rapternet.us\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4704"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lab.rapternet.us\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4704"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lab.rapternet.us\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4704"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}