{"id":97,"date":"2012-03-11T21:47:33","date_gmt":"2012-03-12T03:47:33","guid":{"rendered":"http:\/\/www.firmwarez.com\/?p=97"},"modified":"2012-09-02T08:26:51","modified_gmt":"2012-09-02T14:26:51","slug":"dc501-defcon-19-badge","status":"publish","type":"post","link":"http:\/\/www.firmwarez.com\/?p=97","title":{"rendered":"dc501 Defcon 19 Badge"},"content":{"rendered":"<p>I designed and built some badges for Defcon 19 for our <a href=\"https:\/\/www.defcon.org\/html\/defcon-groups\/dc-groups.html\" target=\"_blank\">DC group<\/a>, <a href=\"http:\/\/www.firmwarez.com\/?p=199\" target=\"_blank\">dc501<\/a>.  <\/p>\n<p>The badge is based on a Microchip PIC18F13K50.  Power is from a single CR123, boosted to 5V by an LT1610.  The blue 7-segment LEDS are some Chinese e-bay purchase; they were cheap and look nifty. Board was designed to fit in an Altoids tin; called cool and retro by folks who gave us positive feedback at the con.<\/p>\n<p><img src=\"http:\/\/www.firmwarez.com\/wp-content\/uploads\/2012\/03\/100_2509.jpg\" alt=\"cutting and shaping boards\" \/><\/p>\n<p>You can see the paper doll for the board in the Altoids can. As part of documenting my projects here on this blog for the hacker\/maker crowd, I will include some tips that will be old hat for experienced hardware folks.  Printing a 1 to 1 paper doll is always a good idea, because parts don&#8217;t always fit the way they look in layout.  In this case it also let me come up with a template for shaping the boards to fit the rounded edges of the tin.<\/p>\n<p>At the time of this writing, both mine and ShortGrrl&#8217;s are still running on the original CR123 installed at Defcon 19&#8230;not bad! We ran our badges pretty much anytime we were awake at the con, and have run them at a number of dc501 meetings. The CR123 is still my favorite battery, but that comes from designing military stuff I guess. There&#8217;s a lot of energy in a CR123, and an efficient step-up regulator can help in squeezing it all out.<\/p>\n<p>Schematic and layout done in Altium\/Protel DXP.  The boards were part of a prototype lot purchased from low-cost no-frills online board house.  Code written in Microchip C18.  <\/p>\n<p>The code walks through dc501 at varying intensities, then dc19, and finally a handle.  I customized each dc501 member&#8217;s badge with their handle, or at least best I could with the 7-segment displays.  Snide was easy, Quin not bad, ShortGrrl&#8217;s became &#8220;6rrl&#8221; and mine was &#8220;Fir&#8221; with dancing dashes.  I wrote the state machine to be easily modified if members wanted to change the sequence, add displays, and so forth.  <\/p>\n<p><img src=\"http:\/\/www.firmwarez.com\/wp-content\/uploads\/2012\/03\/100_2508.jpg\" alt=\"panels of boards\" width=400\/><\/p>\n<p>Buying boards in a panel lot can reduce cost for home projects, but you have to cut them.  I cut boards with a dremel and cutting wheels, and shape the boards on a belt sander.  Wear some kind of mask so you don&#8217;t breathe the dust, it&#8217;s fiberglass and does the same thing to your lungs as asbestos.<\/p>\n<p>I am planning on making dc501 badges for Defcon 20; the thought now is to go tiny and see if I can fit the same basic concept in an Altoids mini tin.  I&#8217;ve got some really cute little 7-seg LEDs from another project.  <\/p>\n<p>This pic shows the first tests I did on the drive FETs for the LEDs.  I really like the dark blue glow of the display on the right.<\/p>\n<p><img src=\"http:\/\/www.firmwarez.com\/wp-content\/uploads\/2012\/03\/IMG_20110722_214649.jpg\" alt=\"LED test\" width=400\/><\/p>\n<p>And the first test with running code.<\/p>\n<p><img src=\"http:\/\/www.firmwarez.com\/wp-content\/uploads\/2012\/03\/IMG_20110725_233154.jpg\" alt=\"first run\" width=400\/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I designed and built some badges for Defcon 19 for our DC group, dc501. The badge is based on a Microchip PIC18F13K50. Power is from a single CR123, boosted to 5V by an LT1610. The blue 7-segment LEDS are some Chinese e-bay purchase; they were cheap and look nifty. Board was designed to fit in [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_s2mail":"yes"},"categories":[7],"tags":[9,37,36,14,34],"_links":{"self":[{"href":"http:\/\/www.firmwarez.com\/index.php?rest_route=\/wp\/v2\/posts\/97"}],"collection":[{"href":"http:\/\/www.firmwarez.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.firmwarez.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.firmwarez.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/www.firmwarez.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=97"}],"version-history":[{"count":55,"href":"http:\/\/www.firmwarez.com\/index.php?rest_route=\/wp\/v2\/posts\/97\/revisions"}],"predecessor-version":[{"id":1097,"href":"http:\/\/www.firmwarez.com\/index.php?rest_route=\/wp\/v2\/posts\/97\/revisions\/1097"}],"wp:attachment":[{"href":"http:\/\/www.firmwarez.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=97"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.firmwarez.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=97"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.firmwarez.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=97"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}