Trains.com

Subscriber & Member Login

Login, or register today to interact in our online community, comment on articles, receive our newsletter, manage your account online and more!

DCC Signal

1019 views
3 replies
1 rating 2 rating 3 rating 4 rating 5 rating
  • Member since
    April 2003
  • 305,205 posts
DCC Signal
Posted by Anonymous on Thursday, June 21, 2007 6:35 PM

I am building a DCC decoder interface circuit.  I need to know the signal codes necessary for manipulating the speed/direction, changing the CV variables, and other functions such as toggling the locomotive lights on and off.

What I know already:

I know how a DCC signal communicates electrically with the decoder (command control uses a PWM system with 58us marks for a 1 and 100us for a 0) and the basic packet format (preamble, address, data, and parity check).

I found a pdf http://www.nmra.org/standards/DCC/standards_rps/S-92-2004-07.pdf that contains a table of codes (see figure 2) for manipulating up to 28 speeds and the signal codes necessary to do it.

Thanks 

 

  • Member since
    July 2006
  • From: Vail, AZ
  • 1,943 posts
Posted by Vail and Southwestern RR on Thursday, June 21, 2007 7:03 PM

If I understood the question right, I think the answer is in here:

http://www.nmra.org/standards/DCC/standards_rps/rp921.html

 

Jeff But it's a dry heat!

  • Member since
    July 2006
  • From: Vail, AZ
  • 1,943 posts
Posted by Vail and Southwestern RR on Thursday, June 21, 2007 7:11 PM

I just thought I'd toss in that depending on what you are trying to do it could well have already been done, and can be had for free.

http://jmri.sourceforge.net/

and to interface from the PC to the tracks:

http://bbmgroup.home.comcast.net/sprog/

(that one costs, but it is hardware, so you'd expect it.

I have not used these, but I know that lots of people use DecoderPro (JMRI), and I think SPROG sounds nifty.

 

Jeff But it's a dry heat!

  • Member since
    February 2007
  • From: Christiana, TN
  • 2,134 posts
Posted by CSX Robert on Thursday, June 21, 2007 10:00 PM
 Vail and Southwestern RR wrote:


If I understood the question right, I think the answer is in here:

http://www.nmra.org/standards/DCC/standards_rps/rp921.html



Here is the PDF version:

http://www.nmra.org/standards/DCC/standards_rps/RP-921%202006%20Aug%2021.pdf

Here is the web site for all of the NMRA Standards and Recommended Practices.

http://www.nmra.org/standards/consist.html

If you got Standard 9.2 off of this page, then the Recommended Practices are further down on the same page. There are other Recommended Practices you may want to look at too.


Subscriber & Member Login

Login, or register today to interact in our online community, comment on articles, receive our newsletter, manage your account online and more!

Users Online

There are no community member online

Search the Community

ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT
Model Railroader Newsletter See all
Sign up for our FREE e-newsletter and get model railroad news in your inbox!