{"id":369,"date":"2016-08-18T01:42:20","date_gmt":"2016-08-18T06:42:20","guid":{"rendered":"http:\/\/slackworld.org\/blog\/?p=369"},"modified":"2020-02-14T22:40:45","modified_gmt":"2020-02-15T03:40:45","slug":"brb-brb-remix","status":"publish","type":"post","link":"http:\/\/slackworld.org\/blog\/archives\/369","title":{"rendered":"BRB BRB Remix"},"content":{"rendered":"<p>&nbsp;<\/p>\n<p>This is a remix\u00a0my <a href=\"http:\/\/slackworld.org\/blog\/archives\/326\" target=\"_blank\" rel=\"noopener\">BRB BRB<\/a> project using cheaper components, namely a <a href=\"http:\/\/digistump.com\/products\/1\" target=\"_blank\" rel=\"noopener\">Digispark<\/a> knockoff instead of a <a href=\"https:\/\/www.pjrc.com\/store\/teensy.html\" target=\"_blank\" rel=\"noopener\">Teensy<\/a>&#8230;<\/p>\n<p>My company requires us to lock our computers anytime we step away.\u00a0 This is easy enough to do in Windows by pressing Win+L, but that isn&#8217;t the slack way.\u00a0 In addition sometimes you have already stood up, taken your hands away from the keyboard when you remember you need to lock the computer.\u00a0 So I decided to implement the BRB BRB (Be Right Back Big Red Button).\u00a0 This gives me a nice large button to\u00a0push\u00a0that locks my computer.\u00a0 It has the side benefit of just being fun to mash on.<\/p>\n<p><!--more--><\/p>\n<p>Following is a quick run down of the parts and software.\u00a0 This is not a step by step build, though I may do one in the future as this is a simple and rewarding projects for someone of any skill level.<\/p>\n<h2>Parts<\/h2>\n<p>This is really a simple project you need the following (with estimated costs):<\/p>\n<ul>\n<li><a href=\"https:\/\/www.amazon.com\/gp\/product\/B008ZY8G5O\/ref=as_li_tl?ie=UTF8&amp;camp=1789&amp;creative=9325&amp;creativeASIN=B008ZY8G5O&amp;linkCode=as2&amp;tag=slackworld0f-20&amp;linkId=bd710495b12092c213e325ebb3530267\" target=\"_blank\" rel=\"noopener\">Emergency Stop Push Button<\/a><img loading=\"lazy\" decoding=\"async\" style=\"border: none !important; margin: 0px !important;\" src=\"\/\/ir-na.amazon-adsystem.com\/e\/ir?t=slackworld0f-20&amp;l=am2&amp;o=1&amp;a=B008ZY8G5O\" alt=\"\" width=\"1\" height=\"1\" border=\"0\" \/>\u00a0$9<\/li>\n<li><a href=\"https:\/\/www.amazon.com\/gp\/product\/B07KVS4YGQ\/ref=as_li_tl?ie=UTF8&amp;camp=1789&amp;creative=9325&amp;creativeASIN=B07KVS4YGQ&amp;linkCode=as2&amp;tag=slackworld0f-20&amp;linkId=e28ba603420f6e96764658fd8beb5576\" target=\"_blank\" rel=\"noopener\">Digispark knock w\/USB micro<\/a><img loading=\"lazy\" decoding=\"async\" style=\"border: none !important; margin: 0px !important;\" src=\"\/\/ir-na.amazon-adsystem.com\/e\/ir?t=slackworld0f-20&amp;l=am2&amp;o=1&amp;a=B07KVS4YGQ\" alt=\"\" width=\"1\" height=\"1\" border=\"0\" \/>\u00a0$5<\/li>\n<li><a href=\"https:\/\/www.amazon.com\/gp\/product\/B00NH142KI\/ref=as_li_tl?ie=UTF8&amp;camp=1789&amp;creative=9325&amp;creativeASIN=B00NH142KI&amp;linkCode=as2&amp;tag=slackworld0f-20&amp;linkId=a66c51bf67fe077dc248d7b0d6afb4a6\" target=\"_blank\" rel=\"noopener\">Micro USB cable<\/a><img loading=\"lazy\" decoding=\"async\" style=\"border: none !important; margin: 0px !important;\" src=\"\/\/ir-na.amazon-adsystem.com\/e\/ir?t=slackworld0f-20&amp;l=am2&amp;o=1&amp;a=B00NH142KI\" alt=\"\" width=\"1\" height=\"1\" border=\"0\" \/>\u00a0$5<\/li>\n<li>Wire (4&#8243;), solder $0<\/li>\n<\/ul>\n<p><a href=\"http:\/\/slackworld.org\/blog\/wp-content\/uploads\/2016\/08\/IMG_20140717_190132.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-thumbnail wp-image-376\" src=\"http:\/\/slackworld.org\/blog\/wp-content\/uploads\/2016\/08\/IMG_20140717_190132-150x150.jpg\" alt=\"IMG_20140717_190132\" width=\"150\" height=\"150\" \/><\/a><a href=\"http:\/\/slackworld.org\/blog\/wp-content\/uploads\/2016\/08\/IMG_20150403_165328.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-thumbnail wp-image-372\" src=\"http:\/\/slackworld.org\/blog\/wp-content\/uploads\/2016\/08\/IMG_20150403_165328-150x150.jpg\" alt=\"IMG_20150403_165328\" width=\"150\" height=\"150\" \/><\/a><\/p>\n<p>The knockoff\u00a0pictured above has a USB\u00a0female connector and takes a standard USB micro cable.\u00a0 The\u00a0authentic <span style=\"color: #0066cc;\"><u>Digisparks<\/u><\/span> have a built in USB A Male connector.\u00a0 If you want to use an authentic Digispark (good products, please support them) then you will either need to solder a cable or possibly use a <a href=\"http:\/\/digistump.com\/products\/109\" target=\"_blank\" rel=\"noopener\">Digispark Pro<\/a>\u00a0(code untested).<\/p>\n<h2>Assembly<\/h2>\n<p>Assembly is pretty easy.\u00a0\u00a0You need 2 short (about 2&#8243;) pieces of wire.\u00a0 Strip and tin each end and hook one to the P0 connection, and the other to the\u00a0P2 connection.\u00a0 The GND could be used instead of P2, but I found everything fit better if I used connections on the same side of the board.<\/p>\n<p>The E-stop button I used was normally closed (NC), but the software will work with a normally open (NO) switch with an easy change.\u00a0 There are only two contacts on the switch so\u00a0connect one of the two wires to each contact.\u00a0 It doesn&#8217;t matter which is which.\u00a0 If you have both NO, and NC contacts just pick which set you want and make sure the\u00a0software is configured appropriately.<\/p>\n<p>Also, most E-stop buttons latches in the &#8220;stop&#8221; position when pressed.\u00a0 The one I purchased was no exception.\u00a0 It required a slight turn to get it to release.\u00a0 This was not the behavior I wanted, so I disassembled the button mechanics and was able to easily disable the latch mechanism in a\u00a0way it could easily be reversed.\u00a0 The specific procedure required will depend on the specific E-stop that you have.<\/p>\n<p>I drilled a small\u00a0notch at the top of the black bottom piece to allow the USB cable to escape.<\/p>\n<p>I then attached the USB cable, gently fit the component in and closed up the case.<\/p>\n<p><a href=\"http:\/\/slackworld.org\/blog\/wp-content\/uploads\/2016\/08\/IMG_20150403_170538.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-thumbnail wp-image-371\" src=\"http:\/\/slackworld.org\/blog\/wp-content\/uploads\/2016\/08\/IMG_20150403_170538-150x150.jpg\" alt=\"IMG_20150403_170538\" width=\"150\" height=\"150\" \/><\/a><\/p>\n<h2>Software<\/h2>\n<p>I used the <a title=\"http:\/\/arduino.cc\/en\/main\/software\" href=\"http:\/\/arduino.cc\/en\/main\/software\" target=\"_blank\" rel=\"noopener\"><span style=\"color: #0066cc;\">Arduino environment<\/span><\/a>\u00a0with the <a title=\"https:\/\/www.pjrc.com\/teensy\/teensyduino.html\" href=\"https:\/\/digistump.com\/wiki\/digispark\/tutorials\/connecting\" target=\"_blank\" rel=\"noopener\"><span style=\"color: #0066cc;\">Digispark<\/span><\/a> configuration to program the Digispark.<\/p>\n<p>Code: <a href=\"https:\/\/github.com\/slackmasterstan\/BRBDigi\" target=\"_blank\" rel=\"noopener\">https:\/\/github.com\/slackmasterstan\/BRBDigi<\/a><\/p>\n<p><a href=\"http:\/\/slackworld.org\/blog\/wp-content\/uploads\/2014\/08\/IMG_20140717_1911221.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-thumbnail wp-image-345\" src=\"http:\/\/slackworld.org\/blog\/wp-content\/uploads\/2014\/08\/IMG_20140717_1911221-150x150.jpg\" alt=\"IMG_20140717_191122\" width=\"150\" height=\"150\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; This is a remix\u00a0my BRB BRB project using cheaper components, namely a Digispark knockoff instead of a Teensy&#8230; My company requires us to lock our computers anytime we step away.\u00a0 This is easy enough to do in Windows by &hellip;<\/p>\n<p class=\"read-more\"><a href=\"http:\/\/slackworld.org\/blog\/archives\/369\">Read more &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":345,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[15,1],"tags":[28,44],"class_list":["post-369","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-electronics","category-uncategorized","tag-arduino","tag-digispark"],"_links":{"self":[{"href":"http:\/\/slackworld.org\/blog\/wp-json\/wp\/v2\/posts\/369","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/slackworld.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/slackworld.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/slackworld.org\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/slackworld.org\/blog\/wp-json\/wp\/v2\/comments?post=369"}],"version-history":[{"count":5,"href":"http:\/\/slackworld.org\/blog\/wp-json\/wp\/v2\/posts\/369\/revisions"}],"predecessor-version":[{"id":390,"href":"http:\/\/slackworld.org\/blog\/wp-json\/wp\/v2\/posts\/369\/revisions\/390"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/slackworld.org\/blog\/wp-json\/wp\/v2\/media\/345"}],"wp:attachment":[{"href":"http:\/\/slackworld.org\/blog\/wp-json\/wp\/v2\/media?parent=369"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/slackworld.org\/blog\/wp-json\/wp\/v2\/categories?post=369"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/slackworld.org\/blog\/wp-json\/wp\/v2\/tags?post=369"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}