{"id":2014,"date":"2016-02-23T05:49:12","date_gmt":"2016-02-23T13:49:12","guid":{"rendered":"http:\/\/thelawlers.com\/Blognosticator\/?p=2014"},"modified":"2017-03-19T01:09:40","modified_gmt":"2017-03-19T08:09:40","slug":"time-lapse-weather-proof-box-construction","status":"publish","type":"post","link":"https:\/\/thelawlers.com\/Blognosticator\/?p=2014","title":{"rendered":"Time-lapse weather-proof box construction"},"content":{"rendered":"<p><a href=\"https:\/\/thelawlers.com\/Blognosticator\/wp-content\/uploads\/2015\/10\/Blognosticator-Head.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1940\" src=\"https:\/\/thelawlers.com\/Blognosticator\/wp-content\/uploads\/2015\/10\/Blognosticator-Head.png\" alt=\"Blognosticator Head\" width=\"252\" height=\"115\" \/><\/a><\/p>\n<p>This is part two of a blog about making a weather-proof time-lapse camera box, and the camera equipment to go inside it. You can <a href=\"https:\/\/thelawlers.com\/Blognosticator\/?p=2007\" target=\"_blank\">read part one here.<\/a><\/p>\n<p>With may plan to do a year-long time-lapse project, I began in earnest to finish the weather-proof box for the camera and electronics.<\/p>\n<p>I decided to make the entire box with parts cut on the CNC router in my shop. I would make the box out of 3\/4 inch Baltic plywood, which itself is weather-proof. When finished, I would spray a coat of clear acrylic over the box to add to its resistance to the weather.<\/p>\n<p><a href=\"https:\/\/thelawlers.com\/Blognosticator\/wp-content\/uploads\/2016\/02\/time-lapse-box-cutting.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2015\" src=\"https:\/\/thelawlers.com\/Blognosticator\/wp-content\/uploads\/2016\/02\/time-lapse-box-cutting.jpg\" alt=\"Devices\" width=\"684\" height=\"459\" srcset=\"https:\/\/thelawlers.com\/Blognosticator\/wp-content\/uploads\/2016\/02\/time-lapse-box-cutting.jpg 684w, https:\/\/thelawlers.com\/Blognosticator\/wp-content\/uploads\/2016\/02\/time-lapse-box-cutting-300x201.jpg 300w\" sizes=\"auto, (max-width: 684px) 100vw, 684px\" \/><\/a><\/p>\n<p><em><span style=\"color: #0000ff;\">This is my box parts layout in Illustrator. The parts were cut from a sheet of Baltic plywood 29 x 44 inches in size. At the top are the two pieces that form the mounting bracket on the back of the box. This is a pretty simple pattern, and it was all cut with one router cutter \u2013 the 1\/4 inch end cutter.<\/span><\/em><\/p>\n<p>I designed the box in Adobe Illustrator, then converted the illustrations into a cutting plan in one big sheet. I have made enough parts on the CNC machine now that I don\u2019t get too obsessive about drawing 3D versions to check them. I just forge ahead, cutting with abandon, and then I build. This has gotten me into trouble a few times, but in general I have great confidence in the process.<\/p>\n<p>My work flow is to start the machine, and run the Mach3 cutting program to get set-up. Mach3 is the controller software for the CNC machine. It converts machine instructions from the design software into the actual motor pulses that move the stepper motors on the machine to their cutting positions. This software runs on a Sony Vaio laptop computer conneced to the CNC router by an Ethernet cable. I bring the cutting head close to the operator\u2019s position, put a laser pointer tool into the router spindle, and locate the lower-left corner of the material I am cutting. This establishes the X,Y zero point. I then run the laser along the lower X-axis of the material to ensure that it\u2019s set straight in the machine. I lock the material down using a variety of tools, one of which I described in a previous blog \u2013 <a href=\"https:\/\/thelawlers.com\/Blognosticator\/?p=1873\" target=\"_blank\">the printer\u2019s quoin.<\/a><\/p>\n<p>To set the Z axis on the machine, I substitute a router cutter for the laser and use an automated zero-finding tool we have for the machine. This is a touch plate that uses electrical conductivity to establish when the cutter touches a brass plate in the tool. I connect an alligator clip to the cutter and run a routine that slowly lowers the cutter until it touches, and then \u2013 in an instant \u2013 the Z is set.<\/p>\n<p><a href=\"https:\/\/thelawlers.com\/Blognosticator\/wp-content\/uploads\/2016\/02\/Time-lapse-box-07.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2016\" src=\"https:\/\/thelawlers.com\/Blognosticator\/wp-content\/uploads\/2016\/02\/Time-lapse-box-07.jpg\" alt=\"Time-lapse box 07\" width=\"684\" height=\"513\" srcset=\"https:\/\/thelawlers.com\/Blognosticator\/wp-content\/uploads\/2016\/02\/Time-lapse-box-07.jpg 684w, https:\/\/thelawlers.com\/Blognosticator\/wp-content\/uploads\/2016\/02\/Time-lapse-box-07-300x225.jpg 300w\" sizes=\"auto, (max-width: 684px) 100vw, 684px\" \/><\/a><\/p>\n<p><em><span style=\"color: #0000ff;\">This is my CNC router making its way around the Baltic plywood and cutting the parts for my weather-proof camera box. The blue-silver device in the middle is the Bosch router on the machine. The gray hose is the dust-evacuation pipe that removes sawdust from the machine as it cuts. The machine makes a lot of noise, but it cuts with tremendous precision and makes construction of projects like this very simple.<\/span><\/em><\/p>\n<p>Then, using a program called V-Carve on the same Sony computer I enter the dimensions of my material \u2013 width, height and thickness. V-Carve has the ability to import Illustrator vectors and convert them into cutting instructions. It\u2019s a very nice program, and I am impressed by its features. Many people design in V-Carve, but I can\u2019t run it on a Mac, so I use it only to convert my Illustrator files to cutting instructions, and then export those to the Mach3 cutting program in the language it understands \u2013 G-code. G-code is a fairly simple X-Y-Z coordinate language that is used on most machine tools. It gives simple instructions to a program in X-Y coordinates, it indicates the depth of the cut, and the speed of travel and the speed of the Z axis head. If you look at G-code, it\u2019s easy to understand. Here is an example from this project:<\/p>\n<pre>G90\r\nG0 X0.0000 Y0.0000 Z0.8000\r\n(Cut outlines)\r\nT1\r\n(End Mill {0.25 inch} .25 inch pass depth 25percent stepover)\r\nF50.0\r\nF10.0\r\nS8000\r\nG0 X2.2756 Y3.1052 Z0.2000\r\nG0 \u00a0 Z0.0500\r\nG1 \u00a0 Z-0.2530 F10.0\r\nG1 X8.2609 \u00a0 F50.0\r\nG1 X9.0109\r\nG3 X14.9606 Y3.2302 R0.1250<\/pre>\n<p>In those instructions, the positions are set, the tool is set, X-Y feed is set, Z feed is set, and the speed of the cutter is set (8000 rpm). Then there is a list of instructions that take the machine from one point to the next. In this case, the file has 2200 lines of instructions.<\/p>\n<p><a href=\"https:\/\/thelawlers.com\/Blognosticator\/wp-content\/uploads\/2016\/02\/Camera-in-box-open.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2017\" src=\"https:\/\/thelawlers.com\/Blognosticator\/wp-content\/uploads\/2016\/02\/Camera-in-box-open.jpg\" alt=\"Camera in box open\" width=\"684\" height=\"448\" srcset=\"https:\/\/thelawlers.com\/Blognosticator\/wp-content\/uploads\/2016\/02\/Camera-in-box-open.jpg 684w, https:\/\/thelawlers.com\/Blognosticator\/wp-content\/uploads\/2016\/02\/Camera-in-box-open-300x196.jpg 300w\" sizes=\"auto, (max-width: 684px) 100vw, 684px\" \/><\/a><\/p>\n<p><em><span style=\"color: #0000ff;\">This shows the camera, the battery and all the electronics mounted in the partially finished box. I was testing the positions of the components to be sure that they would fit in the end.<\/span><\/em><\/p>\n<p>In V-Carve, I choose the tool (a 1\/4 inch router cutter is common), and then assign that cutter to a path as either a profile cut (outside) or an pocket cut (inside). V-Carve also has special controls for drilling, and for cutting lettering (which it does beautifully). Our CNC machine doesn\u2019t change cutters automatically, so I am usually thoughtful about grouping my cuts to use the same cutter as much as possible, then I change the cutter and move to other cuts that use that one. I always save the outside profile for last, which helps me to avoid the cut piece breaking free of its surrounding material.<\/p>\n<p>This weather-proof box included both inside and outside cuts, all of which were very simple. I transferred the file to V-Carve and prepared to cut all the needed pieces out of one half-sheet of Baltic plywood. It took about 30 minutes total, and when I was finished, I had all of the parts (except the door, which I cut later to fit). Building the box was then just a matter of assembling the pieces and screwing it together with stainless steel screws.<\/p>\n<p><a href=\"https:\/\/thelawlers.com\/Blognosticator\/wp-content\/uploads\/2016\/02\/Almost-complete-box-05.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2018\" src=\"https:\/\/thelawlers.com\/Blognosticator\/wp-content\/uploads\/2016\/02\/Almost-complete-box-05.jpg\" alt=\"Almost complete box 05\" width=\"684\" height=\"592\" srcset=\"https:\/\/thelawlers.com\/Blognosticator\/wp-content\/uploads\/2016\/02\/Almost-complete-box-05.jpg 684w, https:\/\/thelawlers.com\/Blognosticator\/wp-content\/uploads\/2016\/02\/Almost-complete-box-05-300x260.jpg 300w\" sizes=\"auto, (max-width: 684px) 100vw, 684px\" \/><\/a><\/p>\n<p><em><span style=\"color: #0000ff;\">The nearly-finished camera box sports two solar panels on its roof, a hinged access door, and the opening in the front for the glass (yet to be installed in this photo). There is a tiny notch in the underside of the roof board whose job is to cause water\u00a0to drip off the roof there, and not travel down to the glass.<\/span><\/em><\/p>\n<p>The camera box will be mounted on a steel pole made of electrical conduit. I measured that conduit, then designed a clamp mechanism made-up of two pieces of Baltic ply that will pinch the conduit and hold the camera box in-place. I plan to add two additional posts in the front of the camera box to stiffen its resistance to the wind.<\/p>\n<p>You can see in these illustrations and photos how the box went together. It\u2019s finished now and ready to house the camera and electronics to do its year-long time-lapse job.<\/p>\n<p>In my next blog I\u00a0build a new circuit board, and\u00a0include images of the mounting and assembly of the camera on the roof of the building at Cal Poly. <a href=\"https:\/\/thelawlers.com\/Blognosticator\/?p=2044\">Read that blog here.<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This is part two of a blog about making a weather-proof time-lapse camera box, and the camera equipment to go inside it. You can read part one here. With may plan to do a year-long time-lapse project, I began in &hellip; <a href=\"https:\/\/thelawlers.com\/Blognosticator\/?p=2014\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[29,10,30],"tags":[64,80,426,498,499,497,500,501],"class_list":["post-2014","post","type-post","status-publish","format-standard","hentry","category-gadgets","category-photography","category-technology","tag-brian-lawler","tag-cal-poly","tag-cnc-router","tag-g-code","tag-mach3","tag-time-lapse-camera","tag-v-carve","tag-weather-proof-box"],"_links":{"self":[{"href":"https:\/\/thelawlers.com\/Blognosticator\/index.php?rest_route=\/wp\/v2\/posts\/2014","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/thelawlers.com\/Blognosticator\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/thelawlers.com\/Blognosticator\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/thelawlers.com\/Blognosticator\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/thelawlers.com\/Blognosticator\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2014"}],"version-history":[{"count":4,"href":"https:\/\/thelawlers.com\/Blognosticator\/index.php?rest_route=\/wp\/v2\/posts\/2014\/revisions"}],"predecessor-version":[{"id":2356,"href":"https:\/\/thelawlers.com\/Blognosticator\/index.php?rest_route=\/wp\/v2\/posts\/2014\/revisions\/2356"}],"wp:attachment":[{"href":"https:\/\/thelawlers.com\/Blognosticator\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2014"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/thelawlers.com\/Blognosticator\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2014"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/thelawlers.com\/Blognosticator\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2014"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}