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:
- S-9.1 Electrical Standard
- S-9.2 DCC Communications Standard
- S-9.2.1 Extended Packet Formats for Digital Command Control Standard
- 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
Mobile client application demo
- Clone this repository:
git clone https://github.com/yourusername/yourrepository.git
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.
We welcome contributions to this project! Please follow these steps:
- Fork the repository
- Create a new branch (
git checkout -b your-feature
) - Commit your changes (
git commit -m 'Add a new feature
) - Push to the branch (
git push origin your-feature
) - Create a new Pull Request
This project is licensed under the MIT License.