Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Digital model railroad system

License

NotificationsYou must be signed in to change notification settings

Maggge/MobaStation

Repository files navigation

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 theMaggge/DCC-Library wich is extracted fromDCC-EX-Library and slightly modified.

For accessories like turnouts, sensors and others we use theMaggge/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 latestRelease (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!


[8]ページ先頭

©2009-2025 Movatter.jp