TOPIC THIS POST: Programming loco decoders
DCC allows you to independently configure a locomotive decoder with custom settings for that locomotive, so you can literally tune each locomotive to get the best performance out of it..
Loco decoders include the ability to set starting voltage and speed, top speed, configure reverse settings to be different from the forward settings and a whole host of of other options.
This is all done using configuration variables or CVs. While there are some common CVs in the NMRA DCC standard, many CVs are not standard and vary considerably from one decoder manufacturer to another. In order to get the most from a decoder, you can spend hours pouring over complex manuals trying to figure out binary bit settings to get certain features to work as you want.
A free open source decoder programming aid is now available called DecoderPro that alleviates most of the loco decoder programming pain and complexity. You need some sort of PC running either Windows, the Mac OS, or Linux. Using an internet connection, you can download DecoderPro, install it, connect your PC to your command station, and be in point-and-click decoder programming heaven!
The next few series of posts on this forum clinic we'll step through how to download, install, configure, and use DecoderPro to program decoders. Believe me, once you see how easy it is to program even complex decoder settings with DecoderPro, you won't want to go back to doing decoder programming by bit-fiddling with arcane CV's documented somewhere in your decoder manual!
DOWNLOADING DECODER PRO
Navigate your computer browser to this link:
http://jmri.sourceforge.net/
Click on the DecoderPro link on the left, then click on the download link at the top of the page. On this page you will see various versions listed for specific operating systems. In this clinic we focus on Windows, since the lion's share of PC users have that os.
(click to enlarge)
INSTALLING DECODER PRO
Once you have downloaded DecoderPro, you need to install it. On the DecoderPro main page you will see the install guides listed at the left. Click on the Windows link.
(click to enlarge)
On this page you can read about what you need to have hardware-wise to install DecoderPro. Your machine must be at least 120MHz Pentium II, have 64MB or more memory, and be able to display 800x600 screen resolution.
You also need to get and install Java. You may already have Java installed on your machine -- you can open a command window on your system and check to see if you already have Java installed. Open a MSDOS command line window and type the command shown here:
(click to enlarge)
If you have Java installed, you will get a response that lists the Java version, something like what we show here:
(click to enlarge)
I have Java 1.4.2 installed, which will work just fine – you need to have Java version 1.3.1 or later installed. I'm okay as it is, but for purposes of showing you here how to download and install Java, let's assume I need to download and install it (it's free from Sun Microsystems). Just below the sample “java -version” command you will see the link for downloading Java. Click the link:
(click to enlarge)
This takes you to a page with a button on it for downloading the latest version of Java. Click the button to download Java:
(click to enlarge)
Once you have downloaded the Java installer, double click on it, and answer yes to the license agreement. On the next screen, take the typical installation, as shown here:
(click to enlarge)
Once the install is complete, click the finish button:
(click to enlarge)
Now if you open the command window and type
java -version you should see a version of Java listed. I did have version 1.4.2, but now you can see I have the latest version, which happens to be 1.5.0:
(click to enlarge)
Go ahead now and double click on the DecoderPro install icon to install DecoderPro itself.
STARTING UP DECODER PRO
With Java installed, you are all set to fire up DecoderPro. Just double click the DecoderPro icon on your desktop. You should see this box come up:
(click to enlarge)
Notice the programming buttons are grayed out ... that means you need to connect your PC to your command station. We'll cover how to do that in the next installment of this FORUM CLINIC.
TOPIC NEXT POST: Connecting your PC to your command station