{"id":104,"date":"2014-08-26T22:23:07","date_gmt":"2014-08-26T22:23:07","guid":{"rendered":"http:\/\/gencarelle.com\/blog\/?p=104"},"modified":"2014-08-26T22:23:07","modified_gmt":"2014-08-26T22:23:07","slug":"power-button-for-beaglebone-black","status":"publish","type":"post","link":"https:\/\/gencarelle.com\/blog\/2014\/08\/26\/power-button-for-beaglebone-black\/","title":{"rendered":"Power button for BeagleBone Black"},"content":{"rendered":"<p>The cheap plastic case I use for the BeagleBone Black in my Mame cabinet hides the power button. Not a big deal because I can safely power on by flipping the power switch on the surge protector it&#8217;s plugged in to, and I can power off using the shutdown command in Linux. However, it seemed like the addition of an accessible power button would be nice. So&#8230;<\/p>\n<p><a href=\"https:\/\/gencarelle.com\/blog\/wp-content\/uploads\/2014\/08\/20140826_172535.jpg\"><img loading=\"lazy\" class=\"size-medium wp-image-112 aligncenter\" src=\"https:\/\/gencarelle.com\/blog\/wp-content\/uploads\/2014\/08\/20140826_172535-300x168.jpg\" alt=\"20140826_172535\" width=\"300\" height=\"168\" srcset=\"https:\/\/gencarelle.com\/blog\/wp-content\/uploads\/2014\/08\/20140826_172535-300x168.jpg 300w, https:\/\/gencarelle.com\/blog\/wp-content\/uploads\/2014\/08\/20140826_172535-1024x576.jpg 1024w, https:\/\/gencarelle.com\/blog\/wp-content\/uploads\/2014\/08\/20140826_172535-500x281.jpg 500w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>1x\u00a0\u00a0Adafruit Bone Box (http:\/\/www.adafruit.com\/products\/699)<br \/>\n1x\u00a0Momentary Push Button Switch (https:\/\/www.sparkfun.com\/products\/9190)<br \/>\n2x\u00a0Jumper Wires M\/F (https:\/\/www.sparkfun.com\/products\/9140)<\/p>\n<p>1) Remove the top of the case and drill a 5\/16\u00a0hole (size according\u00a0to the actual button you use). Button placement is up to you, mine is almost dead center. If you want to add an additional boot and\/or a reset button later make sure to position the first hole to allow this. The plastic is fragile so don&#8217;t press very hard when drilling the hole or it will crack. You might not be able to tell from the picture but mine cracked a little on both sides of the hole I drilled.<\/p>\n<p>2) Glue the button to the bottom side so the part you press will be sticking out of the case. I used hot glue rather than super glue since I have a tendency to use to much and end up tearing off my finger prints on the item I&#8217;m attempting to glue.<\/p>\n<p>3) Connect one jumper wire from side A of the switch to pin 1 on the BBB P9 interface.<\/p>\n<p>4) Connect one jumper wire from side B of the switch to pin 9 on the P9 interface. Pin 9 is 5 positions down on the pin 1 side of the connector.<\/p>\n<p><a href=\"https:\/\/gencarelle.com\/blog\/wp-content\/uploads\/2014\/08\/Cape_expansion_headers.png\"><img loading=\"lazy\" class=\"size-medium wp-image-116 aligncenter\" src=\"https:\/\/gencarelle.com\/blog\/wp-content\/uploads\/2014\/08\/Cape_expansion_headers-300x215.png\" alt=\"Cape_expansion_headers\" width=\"300\" height=\"215\" srcset=\"https:\/\/gencarelle.com\/blog\/wp-content\/uploads\/2014\/08\/Cape_expansion_headers-300x215.png 300w, https:\/\/gencarelle.com\/blog\/wp-content\/uploads\/2014\/08\/Cape_expansion_headers-417x300.png 417w, https:\/\/gencarelle.com\/blog\/wp-content\/uploads\/2014\/08\/Cape_expansion_headers.png 702w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>5) Put the top of the case back on.<\/p>\n<p>That&#8217;s all there is to it. Super easy and inexpensive way to make your BBB a bit more like a real computer.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The cheap plastic case I use for the BeagleBone Black in my Mame cabinet hides the power button. Not a big deal because I can safely power on by flipping the power switch on the surge protector it&#8217;s plugged in &hellip; <a href=\"https:\/\/gencarelle.com\/blog\/2014\/08\/26\/power-button-for-beaglebone-black\/\">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":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/gencarelle.com\/blog\/wp-json\/wp\/v2\/posts\/104"}],"collection":[{"href":"https:\/\/gencarelle.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/gencarelle.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/gencarelle.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/gencarelle.com\/blog\/wp-json\/wp\/v2\/comments?post=104"}],"version-history":[{"count":4,"href":"https:\/\/gencarelle.com\/blog\/wp-json\/wp\/v2\/posts\/104\/revisions"}],"predecessor-version":[{"id":117,"href":"https:\/\/gencarelle.com\/blog\/wp-json\/wp\/v2\/posts\/104\/revisions\/117"}],"wp:attachment":[{"href":"https:\/\/gencarelle.com\/blog\/wp-json\/wp\/v2\/media?parent=104"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/gencarelle.com\/blog\/wp-json\/wp\/v2\/categories?post=104"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/gencarelle.com\/blog\/wp-json\/wp\/v2\/tags?post=104"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}