{"id":619,"date":"2021-05-05T06:00:51","date_gmt":"2021-05-05T06:00:51","guid":{"rendered":"http:\/\/meatpie\/?p=619"},"modified":"2021-05-05T06:06:28","modified_gmt":"2021-05-05T06:06:28","slug":"connected-little-sandwich-box-construction","status":"publish","type":"post","link":"https:\/\/snersbots.co.uk\/index.php\/connected-little-sandwich-box-construction\/","title":{"rendered":"Connected Little Sandwich Box &#8211; Construction"},"content":{"rendered":"\n<p>In the April 2021 <a href=\"https:\/\/hackspace.raspberrypi.org\">Hackspace<\/a> there is an article for <a href=\"https:\/\/github.com\/connected-little-boxes\">Connected Little Boxes<\/a>. <a href=\"https:\/\/www.robmiles.com\">The author<\/a> assured me it was simple to make, so I decided to give it a go. Our 3D printer never did work, so decided to use a round sandwich box, which would fit the NeoPixel ring quite nicely.<\/p>\n\n\n\n<!--more-->\n\n\n\n<p>This is the first time I&#8217;ve used a Wemos. Still need to fiddle around with the code before I can claim to know anything about it. I decided to solder the headers on to the board. This would be useful for adding more sensors to the project over time. <\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"433\" height=\"577\" src=\"http:\/\/meatpie\/wp-content\/uploads\/2021\/05\/CLSB-Wemos-rotated.jpg\" alt=\"A photo of the Wemos showing soldered headers\" class=\"wp-image-622\" srcset=\"https:\/\/snersbots.co.uk\/wp-content\/uploads\/2021\/05\/CLSB-Wemos-rotated.jpg 433w, https:\/\/snersbots.co.uk\/wp-content\/uploads\/2021\/05\/CLSB-Wemos-225x300.jpg 225w\" sizes=\"auto, (max-width: 433px) 100vw, 433px\" \/><figcaption>The Wemos with soldered headers<\/figcaption><\/figure><\/div>\n\n\n\n<p>I took some bought connecting wires with male and female ends. This would look nice, and make it easy to add the connections to the Wemos. Good thing, as I initially connected the Digital Input from the NeoPixel ring to the wrong pin on the Wemos.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"433\" height=\"577\" src=\"http:\/\/meatpie\/wp-content\/uploads\/2021\/05\/CLSB-NeoPixel-ring-rotated.jpg\" alt=\"A photo of the NeoPixel ring showing soldering\" class=\"wp-image-623\" srcset=\"https:\/\/snersbots.co.uk\/wp-content\/uploads\/2021\/05\/CLSB-NeoPixel-ring-rotated.jpg 433w, https:\/\/snersbots.co.uk\/wp-content\/uploads\/2021\/05\/CLSB-NeoPixel-ring-225x300.jpg 225w\" sizes=\"auto, (max-width: 433px) 100vw, 433px\" \/><figcaption>The NeoPixel ring showing soldering<\/figcaption><\/figure><\/div>\n\n\n\n<p>Very pleased with my soldering. The whole thing is secured with sellotape so that it would not be visible through the sandwich box.. Not very high-tech. The NeoPixel&#8217;s static envelope was put between the NeoPicel and the Wemos to prevent inadvertent contact.<\/p>\n\n\n\n<p>CrazyRobMiles very kindly shared his code <a href=\"https:\/\/github.com\/connected-little-boxes\/box-code\">here<\/a>. I followed the instructions in HackSpace to load it up using Visual Studio Code. I must say it worked very well. I will be looking at Visual Studio Code for these projects in future. The link includes full setup instructions which were very clear and easy to follow. I used an existing mqtt server which had already been set up for this purpose. <\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"433\" height=\"577\" src=\"http:\/\/meatpie\/wp-content\/uploads\/2021\/05\/CLSB-lights-up-rotated.jpg\" alt=\"A photo of the Connected Little Sandwich Box working\" class=\"wp-image-626\" srcset=\"https:\/\/snersbots.co.uk\/wp-content\/uploads\/2021\/05\/CLSB-lights-up-rotated.jpg 433w, https:\/\/snersbots.co.uk\/wp-content\/uploads\/2021\/05\/CLSB-lights-up-225x300.jpg 225w\" sizes=\"auto, (max-width: 433px) 100vw, 433px\" \/><figcaption>The Connected Little Sandwich Box working<\/figcaption><\/figure><\/div>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the April 2021 Hackspace there is an article for Connected Little Boxes. The author assured me it was simple to make, so I decided to give it a go. Our 3D printer never did work, so decided to use a round sandwich box, which would fit the NeoPixel ring quite nicely.<\/p>\n","protected":false},"author":1,"featured_media":627,"comment_status":"open","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6,11,5],"tags":[41,29,42],"class_list":["post-619","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-electronics","category-other-projects","category-soldering","tag-connected-little-boxes","tag-soldering","tag-wemos"],"_links":{"self":[{"href":"https:\/\/snersbots.co.uk\/index.php\/wp-json\/wp\/v2\/posts\/619","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=619"}],"version-history":[{"count":10,"href":"https:\/\/snersbots.co.uk\/index.php\/wp-json\/wp\/v2\/posts\/619\/revisions"}],"predecessor-version":[{"id":635,"href":"https:\/\/snersbots.co.uk\/index.php\/wp-json\/wp\/v2\/posts\/619\/revisions\/635"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/snersbots.co.uk\/index.php\/wp-json\/wp\/v2\/media\/627"}],"wp:attachment":[{"href":"https:\/\/snersbots.co.uk\/index.php\/wp-json\/wp\/v2\/media?parent=619"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/snersbots.co.uk\/index.php\/wp-json\/wp\/v2\/categories?post=619"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/snersbots.co.uk\/index.php\/wp-json\/wp\/v2\/tags?post=619"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}