Skip to content

habazut/dcc-ardu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

What’s DCC++

DCC++ is an open-source hardware and software system for the operation of DCC-equipped model railroads.

This is a fork of the DCC++ Base Station code base.

The DCC++ Base Station consists of an Arduino micro controller fitted with an Arduino Motor Shield that can be connected directly to the tracks of a model railroad.

What’s in this Repository

This repository, BaseStation-Uno, contains a complete DCC++ Base Station sketch designed for compiling and uploading into an Arduino Uno. All sketch files are in the folder named DCCpp_Uno. More information about the sketch can be found in the included PDF file.

To utilize this sketch, simply download a zip file of this repository and open the file DCCpp_Uno.ino within the DCCpp_Uno folder using your Arduino IDE. This can be done through the green Clone or download... button on the upper right. The master version is available behind this ZIP archive link as well.

Please do not rename the folder containing the sketch code, nor add any files to that folder. The Arduino IDE relies on the structure and name of the folder to properly display and compile the code.

The version on the Master branch is currently 11.0.7+haba. The high version number has been chose to avoid conflicts with the classic DCC++ code but should not indicate that dcc-ardu is "more".

  • Supports both the Arduino Uno and Arduino Mega (Mega untested)
  • Built-in configuration for both the original Arduino Motor Shield as well as a Pololu MC33926 Motor Shield
  • Built-in configuration and support of Ethernet Shields (for use with Mega only, untested)
  • Fixed: CV write in service mode (bitwise and bytewise)
  • Fixed: CV read in service mode (direct byte)
  • Emitsts a trigger pulse on pin 4 at end of preamble to be used with a scope if enabled in Config.h
  • Current limits implemented on main (board specific) and prog (250mA according to NMRA) track.
  • Current limits are enforced with t< 20ms if current > 2 * Imax and logarithmical slower if Imax < I < 2 * Imax
  • Ackdetect improved
  • RailCom cutout can be enabled in Config.h - experimental

Some notes taken during the project can be found in the docs corner.

This fork will be geared to be used together with JMRI and not as a standalone layout controller.

-Sun Apr 19 04:00:00 CEST 2020

About

DCC controller for Arduino. Fork of DCC++

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published