{"id":121,"date":"2021-03-05T14:03:00","date_gmt":"2021-03-05T14:03:00","guid":{"rendered":"http:\/\/meatpie\/?p=121"},"modified":"2021-04-10T18:33:59","modified_gmt":"2021-04-10T18:33:59","slug":"led-mask","status":"publish","type":"post","link":"https:\/\/snersbots.co.uk\/index.php\/led-mask\/","title":{"rendered":"Led Mask"},"content":{"rendered":"\n<p>I saw a post last year from Tyler Glaiel on Medium, and decided to copy his idea and make a mask. <\/p>\n\n\n\n<!--more-->\n\n\n\n<p>I made the first one, which was really difficult to solder. I moved on to the second. This was a little tidier, but unfortunately it had issues. I had placed the microphone over the nose. The result was that it only worked when you weren&#8217;t wearing it.<\/p>\n\n\n\n<p>It is a really difficult soldering project, and I lost the confidence to try again. Hence the led tower soldering practice. Now I have no excuse. Going to have another go.<\/p>\n\n\n\n<p><a href=\"https:\/\/www.youtube.com\/watch?v=xWOJRD9Wt4U\">This is Tyler&#8217;s mask in action.<\/a><\/p>\n\n\n\n<p>So start with an Arduino Nano. This needs to be loaded up with the code. It was originally shared by Tyler, but he has since withdrawn it, so I&#8217;m sorry I am not at liberty to share it. <\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-medium\"><img loading=\"lazy\" decoding=\"async\" width=\"300\" height=\"232\" src=\"http:\/\/meatpie\/wp-content\/uploads\/2021\/03\/ArduinoFaceMask-300x232.png\" alt=\"Screen shot of the Arduino IDE\" class=\"wp-image-382\" srcset=\"https:\/\/snersbots.co.uk\/wp-content\/uploads\/2021\/03\/ArduinoFaceMask-300x232.png 300w, https:\/\/snersbots.co.uk\/wp-content\/uploads\/2021\/03\/ArduinoFaceMask-1024x793.png 1024w, https:\/\/snersbots.co.uk\/wp-content\/uploads\/2021\/03\/ArduinoFaceMask-768x595.png 768w, https:\/\/snersbots.co.uk\/wp-content\/uploads\/2021\/03\/ArduinoFaceMask.png 1035w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><figcaption>The Arduino IDE with the sketch ready to upload onto the Nano<\/figcaption><\/figure><\/div>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"577\" height=\"433\" src=\"http:\/\/meatpie\/wp-content\/uploads\/2021\/03\/Nano_Working.jpg\" alt=\"Photo of the Arduino Nano with light on\" class=\"wp-image-391\" srcset=\"https:\/\/snersbots.co.uk\/wp-content\/uploads\/2021\/03\/Nano_Working.jpg 577w, https:\/\/snersbots.co.uk\/wp-content\/uploads\/2021\/03\/Nano_Working-300x225.jpg 300w\" sizes=\"auto, (max-width: 577px) 100vw, 577px\" \/><figcaption>The Nano has an odd shaped USB which has been sitting at the top of the stairs for a month &#8211; now I know what it is doing there &#8211; code is loaded, and the led lights up, so looks like it worked.<\/figcaption><\/figure><\/div>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/meatpie\/wp-content\/uploads\/2021\/02\/MaskPlan01-rotated.jpg\" alt=\"A rough drawing showing the proposed layout of the wiring\" class=\"wp-image-361\" width=\"233\" height=\"310\" srcset=\"https:\/\/snersbots.co.uk\/wp-content\/uploads\/2021\/02\/MaskPlan01-rotated.jpg 233w, https:\/\/snersbots.co.uk\/wp-content\/uploads\/2021\/02\/MaskPlan01-225x300.jpg 225w\" sizes=\"auto, (max-width: 233px) 100vw, 233px\" \/><figcaption>I wouldn&#8217;t call it a wiring diagram. <br>However this is a rough sketch of where I want everything to go.<\/figcaption><\/figure><\/div>\n\n\n\n<figure class=\"wp-block-gallery columns-3 is-cropped wp-block-gallery-1 is-layout-flex wp-block-gallery-is-layout-flex\"><ul class=\"blocks-gallery-grid\"><li class=\"blocks-gallery-item\"><figure><img loading=\"lazy\" decoding=\"async\" width=\"433\" height=\"577\" src=\"http:\/\/meatpie\/wp-content\/uploads\/2021\/03\/Mask_LedInitial-rotated.jpg\" alt=\"\" data-id=\"386\" data-full-url=\"http:\/\/meatpie\/wp-content\/uploads\/2021\/03\/Mask_LedInitial-rotated.jpg\" data-link=\"http:\/\/meatpie\/mask_ledinitial\/\" class=\"wp-image-386\" srcset=\"https:\/\/snersbots.co.uk\/wp-content\/uploads\/2021\/03\/Mask_LedInitial-rotated.jpg 433w, https:\/\/snersbots.co.uk\/wp-content\/uploads\/2021\/03\/Mask_LedInitial-225x300.jpg 225w\" sizes=\"auto, (max-width: 433px) 100vw, 433px\" \/><\/figure><\/li><li class=\"blocks-gallery-item\"><figure><img loading=\"lazy\" decoding=\"async\" width=\"433\" height=\"577\" src=\"http:\/\/meatpie\/wp-content\/uploads\/2021\/03\/Mask_LedWiresCut-rotated.jpg\" alt=\"\" data-id=\"388\" data-full-url=\"http:\/\/meatpie\/wp-content\/uploads\/2021\/03\/Mask_LedWiresCut-rotated.jpg\" data-link=\"http:\/\/meatpie\/mask_ledwirescut\/\" class=\"wp-image-388\" srcset=\"https:\/\/snersbots.co.uk\/wp-content\/uploads\/2021\/03\/Mask_LedWiresCut-rotated.jpg 433w, https:\/\/snersbots.co.uk\/wp-content\/uploads\/2021\/03\/Mask_LedWiresCut-225x300.jpg 225w\" sizes=\"auto, (max-width: 433px) 100vw, 433px\" \/><\/figure><\/li><li class=\"blocks-gallery-item\"><figure><img loading=\"lazy\" decoding=\"async\" width=\"433\" height=\"577\" src=\"http:\/\/meatpie\/wp-content\/uploads\/2021\/03\/Mask_LedProtected-rotated.jpg\" alt=\"Back of the 8x8 led matrix showing progress\" data-id=\"387\" data-full-url=\"http:\/\/meatpie\/wp-content\/uploads\/2021\/03\/Mask_LedProtected-rotated.jpg\" data-link=\"http:\/\/meatpie\/mask_ledprotected\/\" class=\"wp-image-387\" srcset=\"https:\/\/snersbots.co.uk\/wp-content\/uploads\/2021\/03\/Mask_LedProtected-rotated.jpg 433w, https:\/\/snersbots.co.uk\/wp-content\/uploads\/2021\/03\/Mask_LedProtected-225x300.jpg 225w\" sizes=\"auto, (max-width: 433px) 100vw, 433px\" \/><\/figure><\/li><\/ul><figcaption class=\"blocks-gallery-caption\">On my plan I need the centre 5V and GND wires, and the rightmost DIN wire on the back of my 8&#215;8 led matrix. The others can be cut off, we will not be using them. <br>And I want the microphone to sit over these wires, so I need to put down some masking tape &#8211; a bit thick to ensure nothing nicks and gets exposed.<\/figcaption><\/figure>\n\n\n\n<div style=\"height:21px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p> I need a 330 \u03a9 resistor between DIN and D6 on the Arduino. I want the Arduino to lie on the opposite end of the led matrix from the DIN connector, so I will try to judge the length right this time.<\/p>\n\n\n\n<p>A7 on the Arduino needs to go to &#8216;OUT&#8217; on the microphone. This is my last microphone &#8211; gently with the solder. There are two secrets to a good joint. <\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Be patient. Let the iron warm up properly.<\/li><li>Don&#8217;t try and solder with a blobby tip. I use kitchen roll &#8211; doubled over thick so I don&#8217;t burn myself. It gently cleans the tip without de-tinning it.<\/li><\/ol>\n\n\n\n<p>The joint on the microphone is OK. Not so pleased with D6 &#8211; blobby tip &#8211; I don&#8217;t follow my own advice.<\/p>\n\n\n\n<p>Now I just need to solder the black and reds. A lot easier when I plan it up properly.<\/p>\n\n\n\n<p>Note to self. You want the incoming to go to Arduino Vin.<\/p>\n\n\n\n<p>Use the 5V out from the Arduino to power the microphone.<\/p>\n\n\n\n<p>Wire the led direct to the battery. In this way, hopefully the microphone will get a stable power supply and will work reliably. (I might have already blown it).<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I saw a post last year from Tyler Glaiel on Medium, and decided to copy his idea and make a mask.<\/p>\n","protected":false},"author":1,"featured_media":387,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6,5],"tags":[],"class_list":["post-121","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-electronics","category-soldering"],"_links":{"self":[{"href":"https:\/\/snersbots.co.uk\/index.php\/wp-json\/wp\/v2\/posts\/121","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/snersbots.co.uk\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/snersbots.co.uk\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/snersbots.co.uk\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/snersbots.co.uk\/index.php\/wp-json\/wp\/v2\/comments?post=121"}],"version-history":[{"count":27,"href":"https:\/\/snersbots.co.uk\/index.php\/wp-json\/wp\/v2\/posts\/121\/revisions"}],"predecessor-version":[{"id":538,"href":"https:\/\/snersbots.co.uk\/index.php\/wp-json\/wp\/v2\/posts\/121\/revisions\/538"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/snersbots.co.uk\/index.php\/wp-json\/wp\/v2\/media\/387"}],"wp:attachment":[{"href":"https:\/\/snersbots.co.uk\/index.php\/wp-json\/wp\/v2\/media?parent=121"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/snersbots.co.uk\/index.php\/wp-json\/wp\/v2\/categories?post=121"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/snersbots.co.uk\/index.php\/wp-json\/wp\/v2\/tags?post=121"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}