Skip to content
forked from hsanjuan/go-dcc

Full DCC protocol implementation for controlling model trains and DCC Accessories modules

License

Notifications You must be signed in to change notification settings

BegoonLab/go-dcc

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NRMA Digital Command Control (DCC) Implementation in Go

This project is a comprehensive kit for controlling model trains using the NMRA Digital Command Control (DCC) protocol. It includes software and hardware design, integration with Raspberry Pi, and a mobile-friendly application for seamless control on mobile devices. In addition, the project offers a solution for controlling train modules, such as servos and lights, in a model train diorama.

The implementation is based on the following NMRA standards:

Features

  • Full DCC protocol implementation for controlling model trains and DCC Accessories modules
  • Hardware design for Raspberry Pi integration
  • Mobile-friendly application with zero overhead, compatible with any mobile phone
  • Control solution for train modules, including servos and lights in model train dioramas

Demo

Mobile client application demo

Installation

  1. Clone this repository:
git clone https://github.com/yourusername/yourrepository.git

Usage

Ensure your Raspberry Pi is set up and connected to your model train and DCC Accessories modules.

Run the compiled executable to start the server:

./yourrepository

Open the mobile-friendly application on your phone by navigating to the server's IP address and port number.

Use the application's interface to control your model train and DCC Accessories modules.

Contributing

We welcome contributions to this project! Please follow these steps:

  1. Fork the repository
  2. Create a new branch (git checkout -b your-feature)
  3. Commit your changes (git commit -m 'Add a new feature)
  4. Push to the branch (git push origin your-feature)
  5. Create a new Pull Request

License

This project is licensed under the MIT License.

About

Full DCC protocol implementation for controlling model trains and DCC Accessories modules

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 45.5%
  • Vue 22.6%
  • JavaScript 20.2%
  • C++ 9.2%
  • HTML 0.9%
  • Sass 0.6%
  • Other 1.0%