{"id":558,"date":"2021-12-24T13:39:41","date_gmt":"2021-12-24T12:39:41","guid":{"rendered":"https:\/\/modellbahnhof-gruenberg.de\/?p=558"},"modified":"2021-12-27T11:51:57","modified_gmt":"2021-12-27T10:51:57","slug":"24-dezember-2021-blockvorbereitungen","status":"publish","type":"post","link":"https:\/\/modellbahnhof-gruenberg.de\/?p=558","title":{"rendered":"24. Dezember 2021 &#8211; Blockvorbereitungen"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Der Bahnhof Gr\u00fcnberg soll nat\u00fcrlich auch in der Lage sein, am <a rel=\"noreferrer noopener\" href=\"http:\/\/fremo-block.sourceforge.net\/index.html\" data-type=\"URL\" data-id=\"http:\/\/fremo-block.sourceforge.net\/index.html\" target=\"_blank\">FREMO-Streckenblock<\/a> teilzunehmen. Der bekannteste Weg zur Anbindung an den Streckenblock ist dabei die <a rel=\"noreferrer noopener\" href=\"http:\/\/fremo-block.sourceforge.net\/BlockKiste\/index.html\" data-type=\"URL\" data-id=\"http:\/\/fremo-block.sourceforge.net\/BlockKiste\/index.html\" target=\"_blank\">Blockkiste<\/a> mit ihrer analogen <a rel=\"noreferrer noopener\" href=\"http:\/\/fremo-block.sourceforge.net\/BahnhofRelais\/index.html\" data-type=\"URL\" data-id=\"http:\/\/fremo-block.sourceforge.net\/BahnhofRelais\/index.html\" target=\"_blank\">Bahnhofs-Schnittstelle in Relaistechnik<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Da wir unseren Bahnhof vollst\u00e4ndig mit Loconet steuern, haben wir uns aber daf\u00fcr entschieden, die <a rel=\"noreferrer noopener\" href=\"https:\/\/github.com\/nh-finescale\/ln2block\" data-type=\"URL\" data-id=\"https:\/\/github.com\/nh-finescale\/ln2block\" target=\"_blank\">LN2Block<\/a>-Implementierung von DKap einzusetzen. Es handelt sich dabei um eine Zusatzplatine f\u00fcr einen Arduino Nano, die sich um die Anbindung der <a rel=\"noreferrer noopener\" href=\"http:\/\/fremo-block.sourceforge.net\/BlockInterface\/index.html\" data-type=\"URL\" data-id=\"http:\/\/fremo-block.sourceforge.net\/BlockInterface\/index.html\" target=\"_blank\">elektronischen Block-Schnittstelle<\/a> (9-polige Buchse) an das Loconet k\u00fcmmert. Zus\u00e4tzlich hat die Platine noch einen Anschluss f\u00fcr einen Gleiskontakt, ein Schl\u00fcsselinterface und ein kleines Display zur Zustands\u00fcberwachung. Die Umsetzung des Kommunikationsprotokolls f\u00fcr die elektronische Block-Schnittstelle und die Kommunikation im Loconet erfolgt durch ein Programm auf dem Arduino.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">F\u00fcr den Bahnhof Gr\u00fcnberg haben wir f\u00fcr jede Richtung eine solche LN2Block-Platine vorgesehen, auch f\u00fcr den Abzweig nach Lollar, bei dem das im Original nicht der Fall war. Man wei\u00df ja nie, welche Strecken im FREMO-Betrieb da angeschlossen werden.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"683\" src=\"https:\/\/modellbahnhof-gruenberg.de\/wp-content\/uploads\/2021\/12\/JB_20211224_LN2Block_1173-1024x683.jpg\" alt=\"\" class=\"wp-image-560\" srcset=\"https:\/\/modellbahnhof-gruenberg.de\/wp-content\/uploads\/2021\/12\/JB_20211224_LN2Block_1173-1024x683.jpg 1024w, https:\/\/modellbahnhof-gruenberg.de\/wp-content\/uploads\/2021\/12\/JB_20211224_LN2Block_1173-300x200.jpg 300w, https:\/\/modellbahnhof-gruenberg.de\/wp-content\/uploads\/2021\/12\/JB_20211224_LN2Block_1173-768x512.jpg 768w, https:\/\/modellbahnhof-gruenberg.de\/wp-content\/uploads\/2021\/12\/JB_20211224_LN2Block_1173-1536x1024.jpg 1536w, https:\/\/modellbahnhof-gruenberg.de\/wp-content\/uploads\/2021\/12\/JB_20211224_LN2Block_1173-1200x800.jpg 1200w, https:\/\/modellbahnhof-gruenberg.de\/wp-content\/uploads\/2021\/12\/JB_20211224_LN2Block_1173.jpg 1600w\" sizes=\"auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><figcaption>Dreimal LN2Block f\u00fcr die drei Strecken in Gr\u00fcnberg<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Die LN2Block-Platine stellt keine Bedienoberfl\u00e4che zur Verf\u00fcgung. Diese muss extern bereitgestellt werden, wie zum Beispiel durch die Integration in ein Spurplanstellwerk. F\u00fcr unseren Bahnhof Gr\u00fcnberg mit seinem mechanischen Stellwerk soll <a rel=\"noreferrer noopener\" href=\"http:\/\/fremo-block.sourceforge.net\/Felderblock\/felderblock.html\" data-type=\"URL\" data-id=\"http:\/\/fremo-block.sourceforge.net\/Felderblock\/felderblock.html\" target=\"_blank\">Felderblock<\/a> zum Einsatz kommen. In diesem Bereich gibt es aktuell gerade einige sehr interessante Implementierungsans\u00e4tze von m\u00f6glichst realistischen Varianten mit feinen Hebeln und durch Servos beweglichen Feldern bis  zu einfacheren Varianten mit Tastern und LEDs. Um einen robusten und einfachen Aufbau realisieren zu k\u00f6nnen, der hoffentlich auch den rauen FREMO-Betrieb \u00fcberlebt, haben wir uns f\u00fcr letztere Variante entschieden. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Im folgenden Bild ist ein primitiver Prototyp f\u00fcr die Bedienoberfl\u00e4che zu sehen, mit dem erstmal nur die Funktion der Block-Anbindung des Bahnhofs getestet werden soll. Parallel dazu laufen Arbeiten, alle LEDs, Taster und das Loconet-Interface auf einer Platine zu integrieren. Das reduziert den Verkabelungsaufwand deutlich und sorgt daf\u00fcr, dass sich alle Elemente immer gleich an der richtigen Position f\u00fcr den Einbau in ein Geh\u00e4use befinden. Als Erweiterung wird es dann noch eine zweite Platine mit Fahrstra\u00dfenhebeln geben, so dass diese Platinen nicht nur f\u00fcr den Streckenblock, sondern auch f\u00fcr den als n\u00e4chste Ausbaustufe zu realisierenden Bahnhofsblock verwendet werden k\u00f6nnen.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"833\" height=\"1024\" src=\"https:\/\/modellbahnhof-gruenberg.de\/wp-content\/uploads\/2021\/12\/JB_20211224_LN2Block_1169-833x1024.jpg\" alt=\"\" class=\"wp-image-563\" srcset=\"https:\/\/modellbahnhof-gruenberg.de\/wp-content\/uploads\/2021\/12\/JB_20211224_LN2Block_1169-833x1024.jpg 833w, https:\/\/modellbahnhof-gruenberg.de\/wp-content\/uploads\/2021\/12\/JB_20211224_LN2Block_1169-244x300.jpg 244w, https:\/\/modellbahnhof-gruenberg.de\/wp-content\/uploads\/2021\/12\/JB_20211224_LN2Block_1169-768x945.jpg 768w, https:\/\/modellbahnhof-gruenberg.de\/wp-content\/uploads\/2021\/12\/JB_20211224_LN2Block_1169-1249x1536.jpg 1249w, https:\/\/modellbahnhof-gruenberg.de\/wp-content\/uploads\/2021\/12\/JB_20211224_LN2Block_1169-1200x1476.jpg 1200w, https:\/\/modellbahnhof-gruenberg.de\/wp-content\/uploads\/2021\/12\/JB_20211224_LN2Block_1169.jpg 1301w\" sizes=\"auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 984px) 61vw, (max-width: 1362px) 45vw, 600px\" \/><figcaption>Bedienoberfl\u00e4che Felderblock<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"683\" height=\"1024\" src=\"https:\/\/modellbahnhof-gruenberg.de\/wp-content\/uploads\/2021\/12\/JB_20211224_LN2Block_1170-683x1024.jpg\" alt=\"\" class=\"wp-image-564\" srcset=\"https:\/\/modellbahnhof-gruenberg.de\/wp-content\/uploads\/2021\/12\/JB_20211224_LN2Block_1170-683x1024.jpg 683w, https:\/\/modellbahnhof-gruenberg.de\/wp-content\/uploads\/2021\/12\/JB_20211224_LN2Block_1170-200x300.jpg 200w, https:\/\/modellbahnhof-gruenberg.de\/wp-content\/uploads\/2021\/12\/JB_20211224_LN2Block_1170-768x1152.jpg 768w, https:\/\/modellbahnhof-gruenberg.de\/wp-content\/uploads\/2021\/12\/JB_20211224_LN2Block_1170-1024x1536.jpg 1024w, https:\/\/modellbahnhof-gruenberg.de\/wp-content\/uploads\/2021\/12\/JB_20211224_LN2Block_1170.jpg 1067w\" sizes=\"auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 984px) 61vw, (max-width: 1362px) 45vw, 600px\" \/><figcaption>Tempor\u00e4re Realisierung mit IO-Dekoder<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Mit diesen Komponenten kann nun schon ein erster Test des Streckenblocks vorgenommen werden. Im folgenden Bild sieht man in der linken H\u00e4lfte die Bedienoberfl\u00e4che des Felderblocks und die LN2Block-Platine f\u00fcr den Bahnhof Gr\u00fcnberg. Rechts ist eine Blockkiste mit einem Bahnhofssimulator zu sehen, die das Gegenst\u00fcck des Streckenblocks bildet.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"540\" src=\"https:\/\/modellbahnhof-gruenberg.de\/wp-content\/uploads\/2021\/12\/JB_20211224_LN2Block_1176-1024x540.jpg\" alt=\"\" class=\"wp-image-566\" srcset=\"https:\/\/modellbahnhof-gruenberg.de\/wp-content\/uploads\/2021\/12\/JB_20211224_LN2Block_1176-1024x540.jpg 1024w, https:\/\/modellbahnhof-gruenberg.de\/wp-content\/uploads\/2021\/12\/JB_20211224_LN2Block_1176-300x158.jpg 300w, https:\/\/modellbahnhof-gruenberg.de\/wp-content\/uploads\/2021\/12\/JB_20211224_LN2Block_1176-768x405.jpg 768w, https:\/\/modellbahnhof-gruenberg.de\/wp-content\/uploads\/2021\/12\/JB_20211224_LN2Block_1176-1536x809.jpg 1536w, https:\/\/modellbahnhof-gruenberg.de\/wp-content\/uploads\/2021\/12\/JB_20211224_LN2Block_1176-1200x632.jpg 1200w, https:\/\/modellbahnhof-gruenberg.de\/wp-content\/uploads\/2021\/12\/JB_20211224_LN2Block_1176.jpg 1600w\" sizes=\"auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><figcaption>Testaufbau f\u00fcr den Streckenblock<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">F\u00fcr die Integration in das Stellwerk muss dieses nun als N\u00e4chstes die passenden Botschaften zur Stellung der Signale \u00fcber Loconet an die LN2Block-Platine schicken und umgekehrt auf die Botschaften der Platine reagieren, um die Bedienung der Ausfahrtsignale zu sperren oder freizugeben. Dies ist nun der n\u00e4chste Schritt.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Der Bahnhof Gr\u00fcnberg soll nat\u00fcrlich auch in der Lage sein, am FREMO-Streckenblock teilzunehmen. Der bekannteste Weg zur Anbindung an den Streckenblock ist dabei die Blockkiste mit ihrer analogen Bahnhofs-Schnittstelle in Relaistechnik. Da wir unseren Bahnhof vollst\u00e4ndig mit Loconet steuern, haben wir uns aber daf\u00fcr entschieden, die LN2Block-Implementierung von DKap einzusetzen. Es handelt sich dabei um &hellip; <a href=\"https:\/\/modellbahnhof-gruenberg.de\/?p=558\" class=\"more-link\"><span class=\"screen-reader-text\">\u201e24. Dezember 2021 &#8211; Blockvorbereitungen\u201c <\/span>weiterlesen<\/a><\/p>\n","protected":false},"author":6,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_crdt_document":"","ngg_post_thumbnail":0,"footnotes":""},"categories":[17,19],"tags":[],"class_list":["post-558","post","type-post","status-publish","format-standard","hentry","category-elektronik","category-stellwerk"],"_links":{"self":[{"href":"https:\/\/modellbahnhof-gruenberg.de\/index.php?rest_route=\/wp\/v2\/posts\/558","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/modellbahnhof-gruenberg.de\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/modellbahnhof-gruenberg.de\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/modellbahnhof-gruenberg.de\/index.php?rest_route=\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/modellbahnhof-gruenberg.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=558"}],"version-history":[{"count":8,"href":"https:\/\/modellbahnhof-gruenberg.de\/index.php?rest_route=\/wp\/v2\/posts\/558\/revisions"}],"predecessor-version":[{"id":595,"href":"https:\/\/modellbahnhof-gruenberg.de\/index.php?rest_route=\/wp\/v2\/posts\/558\/revisions\/595"}],"wp:attachment":[{"href":"https:\/\/modellbahnhof-gruenberg.de\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=558"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/modellbahnhof-gruenberg.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=558"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/modellbahnhof-gruenberg.de\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=558"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}