Maggge / MobaStation

Digital model railroad system

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MobaStation

MobaStation is a open source project to create a full digital model railroad control system based on Arduino. Main goal of the project is to use only cheap, easy to get components that can easy assembled.

MobaStation works with the Z21-LAN-Protocol. So you can connect it as Z21 to control systems like rocrail, traincontroller (not tested yet) and others. You can also use mobile-apps like the official Z21 app.

For DCC we use the Maggge/DCC-Library wich is extracted from DCC-EX-Library and slightly modified.

For accessories like turnouts, sensors and others we use the Maggge/MobaBus-Library.
Coming soon: XpressNet to connect Roco multiMAUS controller.

Installation

  1. Build the MobaStation:
    1)For Network connectivity are different possibilities:

    • Arduino Mega with integrated Wifi-Module (the ESP needs to be flashed with the AT 1.7 firmware)
    • Arduino Mega with ESP-01 connected to Serial3 (the ESP needs to be flashed with the AT 1.7 firmware)
    • Arduino Mega with Ethernet Modul
    • Arduino Mega with Ethernet and Wifi (the ESP needs to be flashed with the AT 1.7 firmware)

    2)Arduino Motorshield for DCC

    3)Optional: MCP2515 Can-Bus-Modul for MobaBus

    4)Optional: MAX485 RS485-Modul connected to Serial1 for XPressNet (at the moment not activated)

    5)Optional: Track-Power-Button (connected to Pin 24 and GND) and Track-Status-Led (connected to Pin 25 and GND). I use a Button with integrated LED-Ring 6)Optional: Track-Voltage meter (Voltage divider on MotorDriver Input. Connected to Pin A15. Resistor - values will follow).
  2. Download the latest Release (not the source code!) and extract it.

  3. Connect the Arduino Mega to USB.

  4. Open the MobaStation Config Tool.

  5. Open "Flash device" in Menu.

  6. Select the COM Port of the Arduino and the firmware contained in Package and "Flash device".

  7. Now you can connect to MobaStation in Menu

  8. Open the config window in Menu.

  9. Enter your settigns. Press "Write config" and voilĂ . Your MobaStation is now ready to drive your trains!

About

Digital model railroad system

License:GNU General Public License v3.0


Languages

Language:C++ 93.3%Language:C 6.7%