How to install DCC using the Arduino IDE.
This procedure installs DCC++ in a DCC base station. This allows you to control your train using the DCC ++ system using the DCC++EX web throttle, your phone, JMRI a Raspberry Pi, etc.
How To Install DCC++ Tutorial Library
The tutorials below will take you step by step through everything that you have to do. Below is the list. Images to the left link to supporting videos.

DCC Base Station – How to make the Base Station more often referred to the Command Station (CS).

DCC WiFi Control – How to install Wifi for control from your phone or other remote device.

DCC Power And Wiring – A necessary step.

DCC Software Automatic Installation – How to use a simple installer (very easy and fast)

DCC Software Installation Using Arduino IDE – For those who prefer to use the IDE.

DCC Ex Throttle – Control trains from your computer.

Engine Driver Throttle – Control from a phone.
All the information in the tutorials above have been condensed from the work done by a group of volunteers who are continuing to make this system more fantastic than it is already. Their work can be found her. DCC-Ex
DCC Guide | Online Model Train Club |