{"id":2112,"date":"2021-12-14T00:02:34","date_gmt":"2021-12-13T22:02:34","guid":{"rendered":"http:\/\/mgf-lab.mgf-kulmbach.de\/?p=2112"},"modified":"2021-12-14T00:02:37","modified_gmt":"2021-12-13T22:02:37","slug":"stationsschild-dk0mgf-weiterbau","status":"publish","type":"post","link":"https:\/\/mgf-lab.mgf-kulmbach.de\/index.php\/2021\/12\/14\/stationsschild-dk0mgf-weiterbau\/","title":{"rendered":"Stationsschild DK0MGF &#8211; Weiterbau"},"content":{"rendered":"\n<p>Nachdem ein erster Test f\u00fcr die Beleuchtung des gelaserten Acrylglasschilds mit dem Rufzeichen unserer Amateurfunk Schulstation DK0MGF erfolgreich verlaufen ist, wurde weitergebaut. Hinzugekommen ist in der Zwischenzeit ein Geh\u00e4use aus 3mm starkem <a href=\"https:\/\/www.kraftplex.com\/\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\"Kraftplex (opens in a new tab)\">Kraftplex<\/a> und der zum Test eingesetzte Arduino wurde durch einen ATTiny13a ersetzt. <\/p>\n\n\n\n<p>Das Lasern der Geh\u00e4uses \u00fcbernahm unser Mr. Beam Lasercutter. Nach ein paar Probeschnitten zur Optimierung der Laserparameter stand fest, dass der Cutter mit dem 3mm starken Material gut zurecht kommt. Das Schnittmuster f\u00fcr die fingergezinkte Box wurde online \u00fcber <a rel=\"noreferrer noopener\" aria-label=\"makercase.com (opens in a new tab)\" href=\"https:\/\/www.makercase.com\/#\/\" target=\"_blank\">makercase.com<\/a> erzeugt. Der anschlie\u00dfende Schnitt verlief problemlos, dauerte allerdings auf Grund der St\u00e4rke des Materials aber rund 6 Stunden.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img decoding=\"async\" loading=\"lazy\" width=\"480\" height=\"320\" src=\"https:\/\/mgf-lab.mgf-kulmbach.de\/wp-content\/uploads\/2021\/12\/DK0MGF6.jpg\" alt=\"\" class=\"wp-image-2114\" srcset=\"https:\/\/mgf-lab.mgf-kulmbach.de\/wp-content\/uploads\/2021\/12\/DK0MGF6.jpg 480w, https:\/\/mgf-lab.mgf-kulmbach.de\/wp-content\/uploads\/2021\/12\/DK0MGF6-300x200.jpg 300w, https:\/\/mgf-lab.mgf-kulmbach.de\/wp-content\/uploads\/2021\/12\/DK0MGF6-450x300.jpg 450w\" sizes=\"(max-width: 480px) 100vw, 480px\" \/><\/figure><\/div>\n\n\n\n<p>Das Zusammenstecken war danach ganz einfach, alles passte wunderbar. <\/p>\n\n\n\n<ul class=\"is-layout-flex wp-block-gallery-1 wp-block-gallery columns-2 is-cropped\"><li class=\"blocks-gallery-item\"><figure><img decoding=\"async\" loading=\"lazy\" width=\"480\" height=\"321\" src=\"https:\/\/mgf-lab.mgf-kulmbach.de\/wp-content\/uploads\/2021\/12\/DK0MGF4.jpg\" alt=\"\" data-id=\"2115\" data-link=\"https:\/\/mgf-lab.mgf-kulmbach.de\/?attachment_id=2115\" class=\"wp-image-2115\" srcset=\"https:\/\/mgf-lab.mgf-kulmbach.de\/wp-content\/uploads\/2021\/12\/DK0MGF4.jpg 480w, https:\/\/mgf-lab.mgf-kulmbach.de\/wp-content\/uploads\/2021\/12\/DK0MGF4-300x201.jpg 300w, https:\/\/mgf-lab.mgf-kulmbach.de\/wp-content\/uploads\/2021\/12\/DK0MGF4-449x300.jpg 449w\" sizes=\"(max-width: 480px) 100vw, 480px\" \/><\/figure><\/li><li class=\"blocks-gallery-item\"><figure><img decoding=\"async\" loading=\"lazy\" width=\"480\" height=\"320\" src=\"https:\/\/mgf-lab.mgf-kulmbach.de\/wp-content\/uploads\/2021\/12\/DK0MGF5.jpg\" alt=\"\" data-id=\"2116\" data-link=\"https:\/\/mgf-lab.mgf-kulmbach.de\/?attachment_id=2116\" class=\"wp-image-2116\" srcset=\"https:\/\/mgf-lab.mgf-kulmbach.de\/wp-content\/uploads\/2021\/12\/DK0MGF5.jpg 480w, https:\/\/mgf-lab.mgf-kulmbach.de\/wp-content\/uploads\/2021\/12\/DK0MGF5-300x200.jpg 300w, https:\/\/mgf-lab.mgf-kulmbach.de\/wp-content\/uploads\/2021\/12\/DK0MGF5-450x300.jpg 450w\" sizes=\"(max-width: 480px) 100vw, 480px\" \/><\/figure><\/li><\/ul>\n\n\n\n<p>Der Innenaufbau ist noch nicht endg\u00fcltig. Der LED-Streifen mit den 16 WS2812B ist auf eine Holzleiste geklebt, die Stromversorgung erfolgt \u00fcber ein 5V\/2A Steckernetzteil von Voltcraft. <\/p>\n\n\n\n<p>Als Controller arbeitet ein kleiner ATTiny13a mit nur 1000 Byte Speicherplatz, was uns zun\u00e4chst vor ein paar Probleme gestellt hat, waren die von uns \u00fcblicherweise benutzen Programmbibliotheken deutlich zu gro\u00df! Im Internet fand sich schlie\u00dflich aber eine extrem kleine Bibliothek mit allen ben\u00f6tigten Routinen namens <a rel=\"noreferrer noopener\" aria-label=\"light_ws2812 (opens in a new tab)\" href=\"https:\/\/github.com\/cpldcpu\/light_ws2812\" target=\"_blank\">light_ws2812<\/a>, die bereits von anderen Entwicklern erfolgreich eingesetzt worden war.  <\/p>\n\n\n\n<p>Beim Upload auf den AVR ATTiny13a (unser damals zu Testzwecken eingesetzter Arduino Uno wurde kurzerhand als ISP umfunktioniert) zeigte sich aber ein neues Problem: die Arduino IDE, die wir zum flashen einsetzen wollten erzeugte aus dem Quellcode immer .hex Dateien, die gr\u00f6\u00dfer als die zur Verf\u00fcgung stehenden 1kB waren!<\/p>\n\n\n\n<p>Andere Entwickler benutzen eine AVR Toolchain, die wir schlie\u00dflich nach viel Recherche f\u00fcr unsere Zwecke mit <br><em>avr-gcc -Wall -g -Os -mmcu=attiny13 -o main.bin main.c <br>avr-objcopy -j .text -j .data -O ihex main.bin main.hex<br>avrdude -p attiny13 -P \/dev\/ttyACM0 -c avrisp -b 19200 -U flash:w:main.hex<\/em><br>erfolgreich unter Linux mit den richtigen Parameterm f\u00fcr unser Projekt anpassen konnten.<\/p>\n\n\n\n<p>Umso sch\u00f6ner war es dann, das Stationsschild neu erstrahlen zu sehen.<\/p>\n\n\n\n<figure class=\"wp-block-embed-youtube wp-block-embed is-type-video is-provider-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<div class=\"epyt-video-wrapper\"><iframe loading=\"lazy\"  style=\"display: block; margin: 0px auto;\"  id=\"_ytid_44587\"  width=\"640\" height=\"360\"  data-origwidth=\"640\" data-origheight=\"360\"  data-relstop=\"1\" src=\"https:\/\/www.youtube.com\/embed\/hjTTjDl4Lmk?enablejsapi=1&#038;origin=https:\/\/mgf-lab.mgf-kulmbach.de&#038;autoplay=0&#038;cc_load_policy=0&#038;cc_lang_pref=&#038;iv_load_policy=1&#038;loop=0&#038;modestbranding=1&#038;rel=0&#038;fs=1&#038;playsinline=0&#038;autohide=2&#038;theme=dark&#038;color=red&#038;controls=1&#038;\" class=\"__youtube_prefs__  epyt-is-override  no-lazyload\" title=\"YouTube player\"  allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen data-no-lazy=\"1\" data-skipgform_ajax_framebjll=\"\"><\/iframe><\/div>\n<\/div><\/figure>\n\n\n\n<p>Bevor das Geh\u00e4use zusammengeleimt werden kann muss das Innenleben noch etwas aufger\u00e4umt werden und die beiden Minileiterplatten f\u00fcr die Stromverteilung und den Microcontroller fixiert werden.<\/p>\n\n\n\n<p>Und dann haben wir festgestellt, dass die Beleuchtung zwar nicht mehr ganz so hell aber daf\u00fcr noch sch\u00f6ner weil gleichm\u00e4\u00dfiger leuchtend aussieht, wenn die LEDs nicht direkt am Acrylglas anliegen sondern etwas Abstand zu diesem haben, Hierf\u00fcr m\u00fcssen aber noch Halterungen f\u00fcr die Acrylglasscheibe designt und gefertigt werden. Wir hoffen aber, dass unsere Funkamateure des MGF ihr Stationsschild bald in H\u00e4nden halten k\u00f6nnen.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Nachdem ein erster Test f\u00fcr die Beleuchtung des gelaserten Acrylglasschilds mit dem Rufzeichen unserer Amateurfunk Schulstation DK0MGF erfolgreich verlaufen ist, wurde weitergebaut. Hinzugekommen ist in der Zwischenzeit ein Geh\u00e4use aus 3mm starkem Kraftplex und der zum Test eingesetzte Arduino wurde durch einen ATTiny13a ersetzt. Das Lasern der Geh\u00e4uses \u00fcbernahm unser Mr. Beam Lasercutter. Nach ein paar Probeschnitten zur Optimierung der Laserparameter stand fest, dass der Cutter mit dem 3mm starken Material gut zurecht kommt. Das Schnittmuster f\u00fcr die fingergezinkte Box&#8230;<\/p>\n<p class=\"read-more\"><a class=\"btn btn-default\" href=\"https:\/\/mgf-lab.mgf-kulmbach.de\/index.php\/2021\/12\/14\/stationsschild-dk0mgf-weiterbau\/\">Weiterlesen<span class=\"screen-reader-text\"> Weiterlesen<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":2114,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[18],"tags":[53,62,50,61,59,63],"_links":{"self":[{"href":"https:\/\/mgf-lab.mgf-kulmbach.de\/index.php\/wp-json\/wp\/v2\/posts\/2112"}],"collection":[{"href":"https:\/\/mgf-lab.mgf-kulmbach.de\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mgf-lab.mgf-kulmbach.de\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mgf-lab.mgf-kulmbach.de\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mgf-lab.mgf-kulmbach.de\/index.php\/wp-json\/wp\/v2\/comments?post=2112"}],"version-history":[{"count":3,"href":"https:\/\/mgf-lab.mgf-kulmbach.de\/index.php\/wp-json\/wp\/v2\/posts\/2112\/revisions"}],"predecessor-version":[{"id":2118,"href":"https:\/\/mgf-lab.mgf-kulmbach.de\/index.php\/wp-json\/wp\/v2\/posts\/2112\/revisions\/2118"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/mgf-lab.mgf-kulmbach.de\/index.php\/wp-json\/wp\/v2\/media\/2114"}],"wp:attachment":[{"href":"https:\/\/mgf-lab.mgf-kulmbach.de\/index.php\/wp-json\/wp\/v2\/media?parent=2112"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mgf-lab.mgf-kulmbach.de\/index.php\/wp-json\/wp\/v2\/categories?post=2112"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mgf-lab.mgf-kulmbach.de\/index.php\/wp-json\/wp\/v2\/tags?post=2112"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}