{"id":2547,"date":"2021-02-25T09:38:02","date_gmt":"2021-02-25T08:38:02","guid":{"rendered":"https:\/\/www.pschatzmann.ch\/home\/?p=2547"},"modified":"2021-03-01T16:34:52","modified_gmt":"2021-03-01T15:34:52","slug":"bringing-order-into-things","status":"publish","type":"post","link":"https:\/\/www.pschatzmann.ch\/home\/2021\/02\/25\/bringing-order-into-things\/","title":{"rendered":"Bringing Order into my Microcontroller Chaos"},"content":{"rendered":"<p>I had too many micro controllers and sensors and I wanted to have simple box where I can put them and easily find my modules again.<\/p>\n<p>This is the perfect use case for <strong>3D printing<\/strong>: Of cause the modules and micro controllers come in different sizes so the design needed to reflect this. It is written in OpenSCAD, so you can adjust it yourself, if you want to optimize the dimensions for your specific case&#8230;<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.pschatzmann.ch\/wp-content\/uploads\/2021\/02\/ic-box-300x225.jpg\" alt=\"\" width=\"100%\" height=\"225\" class=\"alignnone size-medium wp-image-2548\" srcset=\"https:\/\/www.pschatzmann.ch\/wp-content\/uploads\/2021\/02\/ic-box-300x225.jpg 300w, https:\/\/www.pschatzmann.ch\/wp-content\/uploads\/2021\/02\/ic-box-768x576.jpg 768w, https:\/\/www.pschatzmann.ch\/wp-content\/uploads\/2021\/02\/ic-box.jpg 1059w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/p>\n<p>Here is the source code which basically just consists of 2 loops &#8211; one for the x and the other for the y axis:<\/p>\n<pre><code>\/\/ some parameters\ngaps = [55,50,65,30,45,50,55,40,45,25,55,33,30 ];\nmaxX = 205;\nheight = 25;\ndx = 16;\ngap = 1.2;\n\nmodule box() {\n    difference() {\n        cube([maxX,150,height],center=false);\n        for (x = [1: 1 : 13]) {\n            for (y = [gap : gaps[x-1] : 150]) {\n                translate( [-dx+x*(dx+gap), y, 1.5] ) \n                    cube([dx,gaps[x-1]-gap,height], center = false);\n            }\n        }\n    }\n\n    translate([0,150,0]) cube([maxX,gap,height],center=false);\n    translate([maxX-gap,0,0]) cube([gap,150,height],center=false);\n}\n\n\n\nmodule boxWithBigCutout() {\n    box();\n    cube([(3*(dx+gap)+gap),58,25],center=false);    \n}\n\nmodule bigCutout(){\n    translate([gap,gap,1.5]) cube([(3*(dx+gap)+gap)-(2*gap),58-(2*gap),25],center=false);    \n}\n\nmodule boxAlt() {\n    difference() {\n        boxWithBigCutout();\n        bigCutout();\n    }\n} \n\nboxAlt();\n\/\/box();\n<\/code><\/pre>\n<p>You can also <a href=\"https:\/\/www.thingiverse.com\/thing:4772806\">download the solution from Thingiverse<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I had too many micro controllers and sensors and I wanted to have simple box where I can put them and easily find my modules again. This is the perfect use case for 3D printing: Of cause the modules and micro controllers come in different sizes so the design needed [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":2548,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_crdt_document":"","_import_markdown_pro_load_document_selector":0,"_import_markdown_pro_submit_text_textarea":"","_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"footnotes":""},"categories":[17,20],"tags":[],"class_list":["post-2547","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-3d-printing","category-arduino"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Bringing Order into my Microcontroller Chaos - Phil Schatzmann<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.pschatzmann.ch\/home\/2021\/02\/25\/bringing-order-into-things\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Bringing Order into my Microcontroller Chaos - Phil Schatzmann\" \/>\n<meta property=\"og:description\" content=\"I had too many micro controllers and sensors and I wanted to have simple box where I can put them and easily find my modules again. This is the perfect use case for 3D printing: Of cause the modules and micro controllers come in different sizes so the design needed [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.pschatzmann.ch\/home\/2021\/02\/25\/bringing-order-into-things\/\" \/>\n<meta property=\"og:site_name\" content=\"Phil Schatzmann\" \/>\n<meta property=\"article:published_time\" content=\"2021-02-25T08:38:02+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-03-01T15:34:52+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.pschatzmann.ch\/wp-content\/uploads\/2021\/02\/ic-box.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1059\" \/>\n\t<meta property=\"og:image:height\" content=\"794\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"pschatzmann\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"pschatzmann\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/2021\\\/02\\\/25\\\/bringing-order-into-things\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/2021\\\/02\\\/25\\\/bringing-order-into-things\\\/\"},\"author\":{\"name\":\"pschatzmann\",\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/#\\\/schema\\\/person\\\/73a53638a4e34e8373405fd737dac9b1\"},\"headline\":\"Bringing Order into my Microcontroller Chaos\",\"datePublished\":\"2021-02-25T08:38:02+00:00\",\"dateModified\":\"2021-03-01T15:34:52+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/2021\\\/02\\\/25\\\/bringing-order-into-things\\\/\"},\"wordCount\":112,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/#\\\/schema\\\/person\\\/73a53638a4e34e8373405fd737dac9b1\"},\"image\":{\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/2021\\\/02\\\/25\\\/bringing-order-into-things\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.pschatzmann.ch\\\/wp-content\\\/uploads\\\/2021\\\/02\\\/ic-box.jpg\",\"articleSection\":[\"3D Printing\",\"Arduino\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/2021\\\/02\\\/25\\\/bringing-order-into-things\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/2021\\\/02\\\/25\\\/bringing-order-into-things\\\/\",\"url\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/2021\\\/02\\\/25\\\/bringing-order-into-things\\\/\",\"name\":\"Bringing Order into my Microcontroller Chaos - Phil Schatzmann\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/2021\\\/02\\\/25\\\/bringing-order-into-things\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/2021\\\/02\\\/25\\\/bringing-order-into-things\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.pschatzmann.ch\\\/wp-content\\\/uploads\\\/2021\\\/02\\\/ic-box.jpg\",\"datePublished\":\"2021-02-25T08:38:02+00:00\",\"dateModified\":\"2021-03-01T15:34:52+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/2021\\\/02\\\/25\\\/bringing-order-into-things\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/2021\\\/02\\\/25\\\/bringing-order-into-things\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/2021\\\/02\\\/25\\\/bringing-order-into-things\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.pschatzmann.ch\\\/wp-content\\\/uploads\\\/2021\\\/02\\\/ic-box.jpg\",\"contentUrl\":\"https:\\\/\\\/www.pschatzmann.ch\\\/wp-content\\\/uploads\\\/2021\\\/02\\\/ic-box.jpg\",\"width\":1059,\"height\":794},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/2021\\\/02\\\/25\\\/bringing-order-into-things\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Bringing Order into my Microcontroller Chaos\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/#website\",\"url\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/\",\"name\":\"Phil Schatzmann Consulting\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/#\\\/schema\\\/person\\\/73a53638a4e34e8373405fd737dac9b1\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/#\\\/schema\\\/person\\\/73a53638a4e34e8373405fd737dac9b1\",\"name\":\"pschatzmann\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/wp-content\\\/uploads\\\/2022\\\/08\\\/pschatzmann.png\",\"url\":\"https:\\\/\\\/www.pschatzmann.ch\\\/wp-content\\\/uploads\\\/2022\\\/08\\\/pschatzmann.png\",\"contentUrl\":\"https:\\\/\\\/www.pschatzmann.ch\\\/wp-content\\\/uploads\\\/2022\\\/08\\\/pschatzmann.png\",\"width\":305,\"height\":305,\"caption\":\"pschatzmann\"},\"logo\":{\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/wp-content\\\/uploads\\\/2022\\\/08\\\/pschatzmann.png\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Bringing Order into my Microcontroller Chaos - Phil Schatzmann","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.pschatzmann.ch\/home\/2021\/02\/25\/bringing-order-into-things\/","og_locale":"en_US","og_type":"article","og_title":"Bringing Order into my Microcontroller Chaos - Phil Schatzmann","og_description":"I had too many micro controllers and sensors and I wanted to have simple box where I can put them and easily find my modules again. This is the perfect use case for 3D printing: Of cause the modules and micro controllers come in different sizes so the design needed [&hellip;]","og_url":"https:\/\/www.pschatzmann.ch\/home\/2021\/02\/25\/bringing-order-into-things\/","og_site_name":"Phil Schatzmann","article_published_time":"2021-02-25T08:38:02+00:00","article_modified_time":"2021-03-01T15:34:52+00:00","og_image":[{"width":1059,"height":794,"url":"https:\/\/www.pschatzmann.ch\/wp-content\/uploads\/2021\/02\/ic-box.jpg","type":"image\/jpeg"}],"author":"pschatzmann","twitter_card":"summary_large_image","twitter_misc":{"Written by":"pschatzmann","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.pschatzmann.ch\/home\/2021\/02\/25\/bringing-order-into-things\/#article","isPartOf":{"@id":"https:\/\/www.pschatzmann.ch\/home\/2021\/02\/25\/bringing-order-into-things\/"},"author":{"name":"pschatzmann","@id":"https:\/\/www.pschatzmann.ch\/home\/#\/schema\/person\/73a53638a4e34e8373405fd737dac9b1"},"headline":"Bringing Order into my Microcontroller Chaos","datePublished":"2021-02-25T08:38:02+00:00","dateModified":"2021-03-01T15:34:52+00:00","mainEntityOfPage":{"@id":"https:\/\/www.pschatzmann.ch\/home\/2021\/02\/25\/bringing-order-into-things\/"},"wordCount":112,"commentCount":0,"publisher":{"@id":"https:\/\/www.pschatzmann.ch\/home\/#\/schema\/person\/73a53638a4e34e8373405fd737dac9b1"},"image":{"@id":"https:\/\/www.pschatzmann.ch\/home\/2021\/02\/25\/bringing-order-into-things\/#primaryimage"},"thumbnailUrl":"https:\/\/www.pschatzmann.ch\/wp-content\/uploads\/2021\/02\/ic-box.jpg","articleSection":["3D Printing","Arduino"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.pschatzmann.ch\/home\/2021\/02\/25\/bringing-order-into-things\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.pschatzmann.ch\/home\/2021\/02\/25\/bringing-order-into-things\/","url":"https:\/\/www.pschatzmann.ch\/home\/2021\/02\/25\/bringing-order-into-things\/","name":"Bringing Order into my Microcontroller Chaos - Phil Schatzmann","isPartOf":{"@id":"https:\/\/www.pschatzmann.ch\/home\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.pschatzmann.ch\/home\/2021\/02\/25\/bringing-order-into-things\/#primaryimage"},"image":{"@id":"https:\/\/www.pschatzmann.ch\/home\/2021\/02\/25\/bringing-order-into-things\/#primaryimage"},"thumbnailUrl":"https:\/\/www.pschatzmann.ch\/wp-content\/uploads\/2021\/02\/ic-box.jpg","datePublished":"2021-02-25T08:38:02+00:00","dateModified":"2021-03-01T15:34:52+00:00","breadcrumb":{"@id":"https:\/\/www.pschatzmann.ch\/home\/2021\/02\/25\/bringing-order-into-things\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.pschatzmann.ch\/home\/2021\/02\/25\/bringing-order-into-things\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.pschatzmann.ch\/home\/2021\/02\/25\/bringing-order-into-things\/#primaryimage","url":"https:\/\/www.pschatzmann.ch\/wp-content\/uploads\/2021\/02\/ic-box.jpg","contentUrl":"https:\/\/www.pschatzmann.ch\/wp-content\/uploads\/2021\/02\/ic-box.jpg","width":1059,"height":794},{"@type":"BreadcrumbList","@id":"https:\/\/www.pschatzmann.ch\/home\/2021\/02\/25\/bringing-order-into-things\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.pschatzmann.ch\/home\/"},{"@type":"ListItem","position":2,"name":"Bringing Order into my Microcontroller Chaos"}]},{"@type":"WebSite","@id":"https:\/\/www.pschatzmann.ch\/home\/#website","url":"https:\/\/www.pschatzmann.ch\/home\/","name":"Phil Schatzmann Consulting","description":"","publisher":{"@id":"https:\/\/www.pschatzmann.ch\/home\/#\/schema\/person\/73a53638a4e34e8373405fd737dac9b1"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.pschatzmann.ch\/home\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/www.pschatzmann.ch\/home\/#\/schema\/person\/73a53638a4e34e8373405fd737dac9b1","name":"pschatzmann","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.pschatzmann.ch\/wp-content\/uploads\/2022\/08\/pschatzmann.png","url":"https:\/\/www.pschatzmann.ch\/wp-content\/uploads\/2022\/08\/pschatzmann.png","contentUrl":"https:\/\/www.pschatzmann.ch\/wp-content\/uploads\/2022\/08\/pschatzmann.png","width":305,"height":305,"caption":"pschatzmann"},"logo":{"@id":"https:\/\/www.pschatzmann.ch\/wp-content\/uploads\/2022\/08\/pschatzmann.png"}}]}},"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/www.pschatzmann.ch\/home\/wp-json\/wp\/v2\/posts\/2547","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.pschatzmann.ch\/home\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.pschatzmann.ch\/home\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.pschatzmann.ch\/home\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.pschatzmann.ch\/home\/wp-json\/wp\/v2\/comments?post=2547"}],"version-history":[{"count":13,"href":"https:\/\/www.pschatzmann.ch\/home\/wp-json\/wp\/v2\/posts\/2547\/revisions"}],"predecessor-version":[{"id":2641,"href":"https:\/\/www.pschatzmann.ch\/home\/wp-json\/wp\/v2\/posts\/2547\/revisions\/2641"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.pschatzmann.ch\/home\/wp-json\/wp\/v2\/media\/2548"}],"wp:attachment":[{"href":"https:\/\/www.pschatzmann.ch\/home\/wp-json\/wp\/v2\/media?parent=2547"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.pschatzmann.ch\/home\/wp-json\/wp\/v2\/categories?post=2547"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.pschatzmann.ch\/home\/wp-json\/wp\/v2\/tags?post=2547"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}