{"id":104,"date":"2013-11-14T19:31:10","date_gmt":"2013-11-14T19:31:10","guid":{"rendered":"https:\/\/ca.rstenpresser.de\/blag\/?p=104"},"modified":"2013-11-14T19:53:59","modified_gmt":"2013-11-14T19:53:59","slug":"using-ola-to-controll-a-led-sign","status":"publish","type":"post","link":"https:\/\/ca.rstenpresser.de\/blag\/2013\/11\/using-ola-to-controll-a-led-sign\/","title":{"rendered":"Using OLA to controll a LED-Sign"},"content":{"rendered":"<p>Earlier this year my colleague <a href=\"http:\/\/construvision.de\">R\u00c3\u00bcdiger<\/a> and me build some LED-Letters and mounted them to the building front. The letters themselfes are made of 20mm Acrylic with buildin RGB-LEDs. A 3mm black Acrylic plate was added on top to cover the LEDs and generate more contrast for daylight conditions.<\/p>\n\n\t\t<div id='gallery-1' class='gallery galleryid-104 gallery-columns-3 gallery-size-thumbnail gallery1'><script type=\"text\/javascript\">\r\n\/\/ <![CDATA[\r\n\tjQuery(document).ready(function () {\r\n\t\tjQuery(\".gallery1 a\").attr(\"rel\",\"gallery1\");\t\r\n\t\tjQuery('a[rel=\"gallery1\"]').colorbox({maxWidth:\"95%\", maxHeight:\"95%\",title: function(){ return jQuery(this).children().attr(\"alt\"); }, });\r\n\t});\r\n\/\/ ]]>\r\n<\/script>\n<figure class=\"gallery-item\">\n<div class=\"gallery-icon\">\r\n<a href=\"https:\/\/ca.rstenpresser.de\/wp-files\/2013\/11\/IMAG3060.small_.jpg\" title=\"\" rel=\"gallery1\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ca.rstenpresser.de\/wp-files\/2013\/11\/IMAG3060.small_-150x150.jpg\" width=\"150\" height=\"150\" alt=\"\" \/><\/a>\r\n<\/div><figcaption class=\"gallery-caption\" id=\"caption105\"><span class=\"imagedescription\">This is actually me working. A rare picture \ud83d\ude00<\/span><br \/>\n<\/figcaption><\/figure><figure class=\"gallery-item\">\n<div class=\"gallery-icon\">\r\n<a href=\"https:\/\/ca.rstenpresser.de\/wp-files\/2013\/11\/IMG_1873.small_.jpg\" title=\"\" rel=\"gallery1\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ca.rstenpresser.de\/wp-files\/2013\/11\/IMG_1873.small_-150x150.jpg\" width=\"150\" height=\"150\" alt=\"The color distortion is actually the running animation.\" \/><\/a>\r\n<\/div><\/figure>\r\n\t\t<\/div>\n\n<p>The control is build around the <a href=\"http:\/\/www.opendmx.net\/index.php\/Open_Lighting_Project\">OLA Software<\/a>. A Raspberry-Pi drives all the components. Two KarateLight devices provide 8 RGB channels each. A USB-Hub (which also poweres the Pi) and a USB-WLAN-Stick make the setup complete. The LEDs are powered by two 320Watt switching-mode PSU. Everyhting fits nicely into a steel cabinet which makes this thing waterproof. In order to organize the cables coming in at the bottom I build two combs which clamp the cables into place.<\/p>\n<p>Since i dont have a cool DMX Application i wrote a few lines of python to generate a simple animation. Basically all it does is calculate a gauss-distribusion which is then shifted from left to right. Its quite simple and not well implemented, but it works: <a href=\"https:\/\/ca.rstenpresser.de\/wp-files\/2013\/11\/ola.python_fader.zip\">ola.python_fader.<\/a><\/p>\n<p>I then use ola_recorder to store a single run of the script into a file. Playback is also done with ola_recorder running inside screen.<\/p>\n<div style=\"width: 660px;\" class=\"wp-video\"><!--[if lt IE 9]><script>document.createElement('video');<\/script><![endif]-->\n<video class=\"wp-video-shortcode\" id=\"video-104-1\" width=\"660\" height=\"371\" preload=\"metadata\" controls=\"controls\"><source type=\"video\/mp4\" src=\"https:\/\/ca.rstenpresser.de\/wp-files\/2013\/11\/VID_20131008_194500.mp4?_=1\" \/><a href=\"https:\/\/ca.rstenpresser.de\/wp-files\/2013\/11\/VID_20131008_194500.mp4\">https:\/\/ca.rstenpresser.de\/wp-files\/2013\/11\/VID_20131008_194500.mp4<\/a><\/video><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Earlier this year my colleague R\u00c3\u00bcdiger and me build some LED-Letters and mounted them to the building front. The letters themselfes are made of 20mm Acrylic with buildin RGB-LEDs. A 3mm black Acrylic plate was added on top to cover the LEDs and generate more contrast for daylight conditions. The control is build around the &hellip; <a href=\"https:\/\/ca.rstenpresser.de\/blag\/2013\/11\/using-ola-to-controll-a-led-sign\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Using OLA to controll a LED-Sign<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[17],"tags":[38,44,47,48,22,46,45],"_links":{"self":[{"href":"https:\/\/ca.rstenpresser.de\/blag\/wp-json\/wp\/v2\/posts\/104"}],"collection":[{"href":"https:\/\/ca.rstenpresser.de\/blag\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ca.rstenpresser.de\/blag\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ca.rstenpresser.de\/blag\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ca.rstenpresser.de\/blag\/wp-json\/wp\/v2\/comments?post=104"}],"version-history":[{"count":5,"href":"https:\/\/ca.rstenpresser.de\/blag\/wp-json\/wp\/v2\/posts\/104\/revisions"}],"predecessor-version":[{"id":113,"href":"https:\/\/ca.rstenpresser.de\/blag\/wp-json\/wp\/v2\/posts\/104\/revisions\/113"}],"wp:attachment":[{"href":"https:\/\/ca.rstenpresser.de\/blag\/wp-json\/wp\/v2\/media?parent=104"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ca.rstenpresser.de\/blag\/wp-json\/wp\/v2\/categories?post=104"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ca.rstenpresser.de\/blag\/wp-json\/wp\/v2\/tags?post=104"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}