Zentrale Z21PG: Unterschied zwischen den Versionen

Aus Digital Modellbahn
Zeile 31: Zeile 31:
  
 
'''Sketch:'''
 
'''Sketch:'''
:*[https://sourceforge.net/projects/pgahtow/files/Z21_mobile/DCC_Zentrale/Z21_Ethernet_DCC_Zentrale_v2.zip Arduino DCC Zentrale v2 Sketch Download]
+
:*[https://sourceforge.net/projects/pgahtow/files/Z21_mobile/DCC_Zentrale/Z21_Ethernet_DCC_Zentrale_v2.zip Arduino DCC Zentrale v2 Download]
:*[https://sourceforge.net/projects/pgahtow/files/Z21_mobile/DCC_Zentrale/Z21_Ethernet_DCC_Zentrale_v1.zip Arduino DCC Zentrale v1 Sketch Download]
+
:*[https://sourceforge.net/projects/pgahtow/files/Z21_mobile/DCC_Zentrale/Z21_Ethernet_DCC_Zentrale_v1.zip Arduino DCC Zentrale v1 Download]
 
'''Library:'''
 
'''Library:'''
 
:*[https://sourceforge.net/projects/pgahtow/files/Arduino%20%28v1.0%29%20libaries/DCCInterfaceMaster.zip Arduino DCC Interface Library Download]
 
:*[https://sourceforge.net/projects/pgahtow/files/Arduino%20%28v1.0%29%20libaries/DCCInterfaceMaster.zip Arduino DCC Interface Library Download]
 
:*[https://sourceforge.net/projects/pgahtow/files/Arduino%20%28v1.0%29%20libaries/XpressNetMaster.zip Arduino XpressNet Master Interface Library Download]
 
:*[https://sourceforge.net/projects/pgahtow/files/Arduino%20%28v1.0%29%20libaries/XpressNetMaster.zip Arduino XpressNet Master Interface Library Download]
 
<br />
 
<br />

Version vom 28. Februar 2015, 17:18 Uhr

Eigenbau | Zentrale | Z21 mobile


Beschreibung

Hier wird der Aufbau einer DCC Zentrale auf Basis eines Arduino MEGA zur Steuerung der Modellbahn über das Z21 LAN Protokoll beschrieben. Auf den Arduino MEGA wird dazu ein Ethernet Shield mit dem W5100 Chip aufgesetzt. Mit diesem Ethernet Shield, kann der Arduino MEGA in ein bestehendes Netzwerk integriert werden und dann über WLAN mit Handreglern oder einer Computersoftware Rocrail kommunizieren.

Funktionsumfang

Hardware

Als Master, wird der Hauptknoten bezeichnet, welcher das XpressNet steuert. Der Master übernimmt die gesamte Kommunikation auf dem Bus. Unbedingt notwendig ist ein Master, wenn ein preisgünstiger ROCO Booster 10761 verwendet wird. In dem Falle kann ein Arduino für den Booster das DCC-Gleissignal erzeugen.

Arduino XpressNet Master Interface

Software

Die Software ist mit der Arduino IDE geschrieben.

Sketch:

Library: