{"id":1641,"date":"2013-07-21T16:24:36","date_gmt":"2013-07-21T22:24:36","guid":{"rendered":"http:\/\/www.firmwarez.com\/?p=1641"},"modified":"2013-08-07T14:31:03","modified_gmt":"2013-08-07T20:31:03","slug":"architectural-led-tear-down-report","status":"publish","type":"post","link":"http:\/\/www.firmwarez.com\/?p=1641","title":{"rendered":"Architectural LED Tear-down Report"},"content":{"rendered":"<p>It&#8217;s amazing what some people will throw away, isn&#8217;t it? So, I get an early morning call from a friend whose title is, get this &#8220;Director of Visitor Experience&#8221;, which I think I&#8217;m quite qualified to claim for some visitors&#8230;but anyway, my buddy calls me and says &#8220;hey, are you interested in some LED lights?&#8221;  Well, duh. &#8220;The architectural LEDs off the <a href=\"https:\/\/www.google.com\/search?q=two+rivers+bridge&#038;tbm=isch&#038;tbo=u&#038;source=univ&#038;sa=X&#038;ei=RE3sUdyJEIXrrgH49YD4DQ&#038;ved=0CGoQsAQ&#038;biw=1366&#038;bih=707&#038;sei=Dk7sUfnrEcvkqQHppoD4Dg\"  target=\"_blank\">Some-number Somethings Something<\/a> were replaced.  The old ones are in a dumpster at the <em>redacted<\/em>. They are 4 feet long, and marked for 240VAC.&#8221;  <\/p>\n<p>Dude, I&#8217;m on it.  Big time.<\/p>\n<p>Ok, so even a pirate like me believes in a bit of due diligence. First order of business is to research salvage and dumpster diving laws here in FlyOver country&#8230;after that? Well, a little bit of field work, the treasures are at their new home, and I&#8217;m just glowing with excitement. <\/p>\n<p><img src=\"http:\/\/www.firmwarez.com\/wp-content\/uploads\/2013\/07\/FieldWork.jpg\" alt=\"\" \/><br \/>\n<em>Field work.  &#8220;You want to be a good archaeologist&#8230;you&#8217;ve got to get out of the library!&#8221;<\/em><\/p>\n<p>They are labeled with the part number, project name, and marked &#8220;240V, 17 watt&#8221;.  Oh, and for doubling your phun, they have a DMX label on them.  Well, the address isn&#8217;t there anymore, but there is a label that apparently prior to exposure to the elements, had a DMX address on it.  For those of you who haven&#8217;t been around DJ or stage lighting DMX512 is an ancient, super simple protocol that uses the RS485 physical layer, originally designed to control &#8220;dimmers&#8221;, but now used for lasers, light heads, wall washes, all sorts of raving glowing goodness, as well as stage lighting, and major architectural lighting installations.<\/p>\n<p><img src=\"http:\/\/www.firmwarez.com\/wp-content\/uploads\/2013\/07\/LEDglotrance.jpg\" alt=\"\" \/><br \/>\n<em>glo&#8230;   &#8220;\u05d5\u05b7\u05d9\u05b9\u05bc\u05d0\u05de\u05b6\u05e8 \u05d0\u05b1\u05dc\u05b9\u05d4\u05b4\u05d9\u05dd, \u05d9\u05b0\u05d4\u05b4\u05d9 \u05d0\u05d5\u05b9\u05e8; \u05d5\u05b7\u05d9\u05b0\u05d4\u05b4\u05d9 \u05d0\u05d5\u05b9\u05e8&#8221;<\/em><\/p>\n<p>My salvage operation results in a large number of four foot units and single two foot version.  The LEDs are encased in an extruded plastic housing, with the connectors coming in through rectangular blocks bolted to the back of the housing.  Inside the housing is an assembly stack of individual foot long boards, each with 18 RGB LEDs on it.  The enclosures terminate in waterproof caps, and everything is sealed with silicone. They are designed to be daisy-chained together.<\/p>\n<p><img src=\"http:\/\/www.firmwarez.com\/wp-content\/uploads\/2013\/07\/EndCap.jpg\" alt=\"\" \/><br \/>\n<em>Enclosure details<\/em><\/p>\n<p>Of course the first thing I do is take one apart. I&#8217;m quite happy to find that behind the board stack is an AC to DC convertor, marked &#8220;input 100VAC to 277VAC&#8221;. Nice. These will run off of a household outlet.<br \/>\nThe connectors are big waterproof industrial things.  Knowing I want to make these glow NOW, and that finding the right connector can be a big time sink, I do two things. 1) Order a <a href=\"http:\/\/www.opendmx.net\/index.php\/Velleman_K8062\"  target=\"_blank\">USB DMX controller kit<\/a>, and 2) sacrifice one light to obtain the appropriate connector. I use the connector with a stinger for power.<\/p>\n<p><img src=\"http:\/\/www.firmwarez.com\/wp-content\/uploads\/2013\/07\/LEDConnector.jpg\" alt=\"\" \/><br \/>\n<em>Nice waterproof Wieland &#8220;Solar&#8221; power and signal connector<\/em><\/p>\n<p><img src=\"http:\/\/www.firmwarez.com\/wp-content\/uploads\/2013\/07\/Stinger.jpg\" alt=\"\" \/><br \/>\n<em>Stinger<\/em><\/p>\n<p>So wow, the USB to DMX kit comes in fast.  I build it and use some freeware called <a href=\"http:\/\/www.dmxcontrol.org\/\" title=\"dmxcontrol dot org\" target=\"_blank\">DMXControl<\/a>. In short order I have light. And it was good. I also find that each of these has a hard coded DMX address.  Well, three, one each for Red, Green, and Blue. They are addressable by light assembly, that is each 4 foot (or 2 foot though I only have one) unit is all the same color. According to the manufacturer&#8217;s web site, they also have versions that are addressable by individual foot long boards.<\/p>\n<p><img src=\"http:\/\/www.firmwarez.com\/wp-content\/uploads\/2013\/07\/LEDtest.jpg\" alt=\"\" \/><br \/>\n<em>I do say old chap, W00t!<\/em><\/p>\n<p>The LED board has some nifty features.  Each section has connectors for power and DMX, as well as connectors at each end to allow daisy chaining the boards themselves.  There is a switching power supply (they take 24V in), and a 75176 RS485 signal driver on both the receive and transmit ends.  This means that even if there are many of these daisy chained across, say hypothetically a 1,368 foot long structure, the signal is strong because it is repeated by successive drivers on each board in the chain. Though properly terminated RS485 can be transmitted for quite some distance. Still, I think repeating the drivers like this is good practice for a reliability critical environment.<\/p>\n<p><img src=\"http:\/\/www.firmwarez.com\/wp-content\/uploads\/2013\/07\/bridgeboards.jpg\" alt=\"\" \/><br \/>\n<em>Artsy board shot<\/em><\/p>\n<p><img src=\"http:\/\/www.firmwarez.com\/wp-content\/uploads\/2013\/07\/BoardCon.jpg\" alt=\"\" \/><br \/>\n<em>Board to board interconnect<\/em><\/p>\n<p>There are three reasonably healthy FETs on each board, driving each color of the RGB LEDs. The designers chose a <a href=\"http:\/\/www.microchip.com\/\" target=\"_blank\">Microchip<\/a> <a href=\"http:\/\/www.microchip.com\/wwwproducts\/Devices.aspx?dDocName=en520467\" target=\"_blank\">dsPIC33FJ12MC202EML<\/a>. I&#8217;ve done a similar control board with a PIC18F26K80, see my <a href=\" http:\/\/www.firmwarez.com\/?p=1527\" target=\"_blank\">Simple RGB LED driver<\/a> post.  And yes, DMX control is part of what I&#8217;ve developed for my board. Sometimes the cost savings of choosing one processor over another is immaterial:  in this case, while yes, the processor I used is &#8220;cheaper&#8221;, even on a major project like the one these LEDs came from it would&#8217;ve saved only $250. If you&#8217;ve already got code for one processor, you can easily burn up that much in an engineer&#8217;s time porting it to a &#8220;cheaper&#8221; option. Of course all of that is really immaterial if two years after installation you rip down the hundreds of still functioning lights from the bridge, replace them with the newer, cooler, brighter version, and toss all of those still functioning lights into a dumpster.  Welcome to an inefficiency in our supposed otherwise efficient capitalism.<\/p>\n<p><img src=\"http:\/\/www.firmwarez.com\/wp-content\/uploads\/2013\/07\/LEDdsPIC.jpg\" alt=\"\" \/><br \/>\n<em>dsPIC and support components<\/em><\/p>\n<p><img src=\"http:\/\/www.firmwarez.com\/wp-content\/uploads\/2013\/07\/LEDfet.jpg\" alt=\"\" \/><br \/>\n<em>LED drive FETs<\/em><\/p>\n<p>DMXControl (both DMX control the concept, and the program I used to run the lights) is phun to play with. I did some Groovebox twiddling and shot a video of some of these lights using DMXControl as a spectrum analyzer. Yeah, so this little project I got to play pirate, hacker, engineer, and dance music producer. Rave out!<\/p>\n<p>(<a href=\"http:\/\/www.firmwarez.com\/wp-content\/uploads\/2013\/08\/BridgedLEDs.mp3\" target=\"_blank\">Here&#8217;s a link to the song used in the demo video<\/a>)<\/p>\n<div class=\"youtube_sc  fluid widescreen\"><div class=\"inner block\"><noscript><style type=\"text\/css\">.youtube_sc iframe.yp{display:none;}<\/style><object width=\"560\" height=\"340\" class=\"yp\" title=\"YouTube video player\"><param name=\"movie\" value=\"http:\/\/www.youtube.com\/v\/2EUl0RE3QiI?version=3&amp;hl=en_US\"><param name=\"allowscriptaccess\" value=\"always\"><param name=\"wmode\" value=\"transparent\"><embed src=\"http:\/\/www.youtube.com\/v\/2EUl0RE3QiI?version=3&amp;hl=en_US\" width=\"560\" height=\"340\" class=\"yp\" type=\"application\/x-shockwave-flash\" wmode=\"transparent\" allowscriptaccess=\"always\"><span style=\"display:block;margin-top:15px;\">The Adobe Flash Player is required for video playback.<br><a href=\"http:\/\/get.adobe.com\/flashplayer\/\" title=\"Install from Adobe\">Get the latest Flash Player<\/a> or <a href=\"http:\/\/www.youtube.com\/watch?v=2EUl0RE3QiI\" target=\"_blank\" title=\"Watch on YouTube\">Watch this video on YouTube<\/a>.<\/span><\/object><\/noscript><iframe src=\"http:\/\/www.youtube.com\/embed\/2EUl0RE3QiI?version=3&amp;wmode=transparent\" width=\"560\" height=\"340\" class=\"yp\" title=\"YouTube video player\" frameborder=\"0\" allowfullscreen><\/iframe><\/div><\/div>\n<p><img src=\"http:\/\/www.firmwarez.com\/wp-content\/uploads\/2013\/07\/LEDfilming.jpg\" alt=\"\" \/><br \/>\n<em>If I wasn&#8217;t just some hacker, this would be called a &#8220;production still&#8221;&#8230;<\/em><\/p>\n<p><img src=\"http:\/\/www.firmwarez.com\/wp-content\/uploads\/2013\/07\/GrooveBox.jpg\" alt=\"\" \/><br \/>\n<em>Like groovy man<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>It&#8217;s amazing what some people will throw away, isn&#8217;t it? So, I get an early morning call from a friend whose title is, get this &#8220;Director of Visitor Experience&#8221;, which I think I&#8217;m quite qualified to claim for some visitors&#8230;but anyway, my buddy calls me and says &#8220;hey, are you interested in some LED lights?&#8221; [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":1647,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_s2mail":"yes"},"categories":[7],"tags":[],"_links":{"self":[{"href":"http:\/\/www.firmwarez.com\/index.php?rest_route=\/wp\/v2\/posts\/1641"}],"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=1641"}],"version-history":[{"count":20,"href":"http:\/\/www.firmwarez.com\/index.php?rest_route=\/wp\/v2\/posts\/1641\/revisions"}],"predecessor-version":[{"id":1764,"href":"http:\/\/www.firmwarez.com\/index.php?rest_route=\/wp\/v2\/posts\/1641\/revisions\/1764"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/www.firmwarez.com\/index.php?rest_route=\/wp\/v2\/media\/1647"}],"wp:attachment":[{"href":"http:\/\/www.firmwarez.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1641"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.firmwarez.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1641"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.firmwarez.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1641"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}