{"id":64,"date":"2014-07-13T00:48:00","date_gmt":"2014-07-12T22:48:00","guid":{"rendered":"http:\/\/sharedinventions.com\/?p=64"},"modified":"2018-10-25T09:26:57","modified_gmt":"2018-10-25T07:26:57","slug":"raspberrypi-power-switch","status":"publish","type":"post","link":"https:\/\/sharedinventions.com\/?p=64","title":{"rendered":"RaspberryPi power switch"},"content":{"rendered":"<p>I had a power switch (from Pi Supply), but I didn&#8217;t found it useful. In real cases it&#8217;s just not work to have the switch and the Pi apart.<\/p>\n<p>I also had a case, so I said, why not combining them. I realized, that by soldering the tact switches to the backside of the board I can mount the unit inside the case.<\/p>\n<p>I&#8217;ve created a video about this (sorry it is bit too long).<br \/>\n<iframe loading=\"lazy\" src=\"\/\/www.youtube.com\/embed\/U_5dfCXYs38\" width=\"560\" height=\"315\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n<p>I also changed the capacitor to a 10\u03bcF one. The unit shipped with a 220\u03bcF capacitor, which is intended to work on any GPIO pins of the Pi. But as I only want to use the pin GPIO8, a 10\u03bcF one is perfect. (The pin 8 will go HIGH immediately after the Kernel is loaded, and LOW, when the Kernel stops.\u00a0 So you do not have to wait so long, and you don&#8217;t need any extra software for the switch to work.)<\/p>\n<p>I&#8217;m not going to provide any DIY description for the process, as this is a tricky modification. I&#8217;m mostly eyeballed all the places. Or put in other words: If you do not know how to apply this mod without detailed documentation, I don&#8217;t recommend you to undertake it.<\/p>\n<p><a href=\"http:\/\/sharedinventions.com\/wp-content\/uploads\/2014\/07\/DSC00363.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-65\" src=\"http:\/\/sharedinventions.com\/wp-content\/uploads\/2014\/07\/DSC00363-1024x781.jpg\" alt=\"DSC00363\" width=\"665\" height=\"507\" srcset=\"https:\/\/sharedinventions.com\/wp-content\/uploads\/2014\/07\/DSC00363-1024x781.jpg 1024w, https:\/\/sharedinventions.com\/wp-content\/uploads\/2014\/07\/DSC00363-300x229.jpg 300w, https:\/\/sharedinventions.com\/wp-content\/uploads\/2014\/07\/DSC00363-660x503.jpg 660w, https:\/\/sharedinventions.com\/wp-content\/uploads\/2014\/07\/DSC00363.jpg 1404w\" sizes=\"auto, (max-width: 665px) 100vw, 665px\" \/><\/a><\/p>\n<p>But I give you a one-to-one template help you drilling the wholes to the right place, as this is the most tricky part.<\/p>\n<blockquote><p><strong><a title=\"One to one template for the drills\" href=\"http:\/\/sharedinventions.com\/wp-content\/uploads\/2014\/07\/pi-supply-switch-mod2.pdf\">Download the one-to-one template for the holes<\/a><\/strong><\/p>\n<p>Print out the template (1:1) and cut the rectangle. (The rectangle is intended to be smaller than the real size of the RPi.) Fit the template corner marked with an arc inside the box-roof to the corner where you can find the (original) slot for the power plug.<\/p>\n<p>Please note that I did not tried this template myself, I&#8217;ve just measured the actually drilled holes. Also note that this template is made measuring this particular case. I don&#8217;t guarantee that the template is perfect. So please verify before drilling!<\/p><\/blockquote>\n<p>You still need to cut the slot for the new power input by eyeballing it. \ud83d\ude42<\/p>\n<p>After half a year using the Pi whit the switch I still find it very useful.<\/p>\n<p><a href=\"http:\/\/sharedinventions.com\/wp-content\/uploads\/2014\/07\/DSC00365.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-66\" src=\"http:\/\/sharedinventions.com\/wp-content\/uploads\/2014\/07\/DSC00365.jpg\" alt=\"DSC00365\" width=\"720\" height=\"480\" srcset=\"https:\/\/sharedinventions.com\/wp-content\/uploads\/2014\/07\/DSC00365.jpg 900w, https:\/\/sharedinventions.com\/wp-content\/uploads\/2014\/07\/DSC00365-300x200.jpg 300w, https:\/\/sharedinventions.com\/wp-content\/uploads\/2014\/07\/DSC00365-660x439.jpg 660w\" sizes=\"auto, (max-width: 720px) 100vw, 720px\" \/><\/a><\/p>\n<p>Parts used:<\/p>\n<ul>\n<li>Switch panel: http:\/\/www.pi-supply.com\/product\/pi-supply-raspberry-pi-power-switch\/<\/li>\n<li>Case modified: https:\/\/www.modmypi.com\/shop\/raspberry-pi-case-red<\/li>\n<li>10\u03bcF elco capacitor,<\/li>\n<li>Some wires and jumpers.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>I had a power switch (from Pi Supply), but I didn&#8217;t found it useful. In real cases it&#8217;s just not work to have the switch and the Pi apart. I also had a case, so I said, why not combining them. I realized, that by soldering the tact switches to the backside of the board\u2026 <span class=\"read-more\"><a href=\"https:\/\/sharedinventions.com\/?p=64\">Read More &raquo;<\/a><\/span><\/p>\n","protected":false},"author":1,"featured_media":65,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6,8],"tags":[],"class_list":["post-64","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-gadgets","category-raspberry-pi"],"_links":{"self":[{"href":"https:\/\/sharedinventions.com\/index.php?rest_route=\/wp\/v2\/posts\/64","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sharedinventions.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sharedinventions.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sharedinventions.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/sharedinventions.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=64"}],"version-history":[{"count":4,"href":"https:\/\/sharedinventions.com\/index.php?rest_route=\/wp\/v2\/posts\/64\/revisions"}],"predecessor-version":[{"id":349,"href":"https:\/\/sharedinventions.com\/index.php?rest_route=\/wp\/v2\/posts\/64\/revisions\/349"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/sharedinventions.com\/index.php?rest_route=\/wp\/v2\/media\/65"}],"wp:attachment":[{"href":"https:\/\/sharedinventions.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=64"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sharedinventions.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=64"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sharedinventions.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=64"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}