Coder Social home page Coder Social logo

dcc-z21's Introduction

DCC-Z21

This repository contains Python sources for connecting to DCC-Z21 equipment such as DR5000 control centers, SwitchPilot-Servo and LokSound5 decoders; The sources describe Python classes for typilcal objects and protocols. By importing the classes in environments that run Python (such as scripting from MacOS terminal, DrawBot.com and webbrowsers) it is possible to define model train layouts and operation schedules entirely by code. No other 3rd-party applications are necessary.

All is very much in development, so for now classes, methods and file architecture can still be alteret without notice.

[z21.py] <--- (LAN) ---> [DR5000] <--- (2-wire rails) ---> [LokSound5]

This is an initial project start. More outlines for future development will be posted soon.

The development is done on MacOS, but since most Python code will only use standard labraries, it should not be a problem to run on Windows or Linux.

For questions, additional info and contributions, contact [email protected]

Sources

  • z21.py Contains the main classes and global helper functions
  • testController.py Test the basic controller functions, such a track power on/off and overall settings.
  • TrainTheTrain contains the ongoing results of a test, to see what would be needed to write an application for (partly) replacing Koploper. If successful this may become a separate repository.

Interesting references

Z21

Connecting BRAWA Test track “Der BRAWA Rollenprüfstand”

General links

History

  • 2023-10-27 Tested on DR5000 via LAN with LokSound5

dcc-z21's People

Contributors

petrvanblokland avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.