Skip to content

TrainDatabase lets you control your model trains with your PC. Whether you want to run a single train or a whole network, TrainDatabase gives you an easy and intuitive way to do it.

License

Notifications You must be signed in to change notification settings

Jakob-Eichberger/TrainDatabase

Repository files navigation

TrainDatabase

TrainDatabase lets you control your model trains with your PC. Whether you want to run a single train or a whole network, TrainDatabase gives you an easy and intuitive way to do it. With TrainDatabase, you can:

  • Control you trains via a modern and elegant user interface
  • Run a single train or a whole network with ease and flexibility
  • Support double traction for more power and speed
  • Measure locomotive speed via an arduino based speed measurment unit for reliable double tractions.
  • Import your existing locomotives from the Roco/Fleischmann Z21 smartphone app.

Getting Started

Installing the software

  1. Make sure that you have a z21/Z21 from Roco/Fleischmann. (No other digital control center is currently supported)
  2. Go to this link to download the installer.
  3. Install the software using the provided installer!
  4. When the app starts for the first time you get the option to import your Z21 layout (from the new Z21 Android/IOS App).

Import existing z21 Layout.

  1. Open the Roco/Fleischmann Z21 App.
  2. Go to "Layouts"
  3. Select the layout you want to export.
  4. Scroll down and click "Export".
  5. Select the "Share" option.
  6. Save the file to your device or send it to yourself via Email.
  7. In the TrainDatabase go to "Database".
  8. Click "Neue Datenbank importieren".
  9. Select the .z21 File.
  10. Click "Jetzt importieren".
  11. The Software imports the database, and it will show a "Import erfolgreich" dialog, if the import was successful.

Examples of use

Main window

In the main window you can manage your vehicles and search for them:

Note: In the search bar you can search for any attribute that the vehicle might have. (Like name, railway transport company, epoch, etc)

image

Vehicle edit window

In the edit window, the vehicle and its functions can be changed.

Note: The shown fields are not yet final.

image image image image

Vehicle control window

In the control window the speed, direction of travel, and functions of a vehicle can be controlled.

image

Speeed measurement window

TrainDatabase (with the help of a raspberry pi and two infrared sensors) allows you to measure the speed of your vehicle so that it can be used in trains with multiple locomotives.

image

Project Status

Feature Name Status
Import Roco/Fleischmann Z21 app data
Import Rocrail data
Manage vehicles
Control vehicle speed / functions manually
Multi traction support
Joystick support
Hotykey support
Layout control
Train automation

Sources

TBD

FAQ

TBD

Technologies

  • .Net 5.0 WPF
  • EF Core 5.0.0
  • OxyPlot.WPF 2.0.0
  • SharpDX 4.2.0

About

TrainDatabase lets you control your model trains with your PC. Whether you want to run a single train or a whole network, TrainDatabase gives you an easy and intuitive way to do it.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks