Home › Magazines › 2005 › May › Programmer for DCC Model Railway Control

Programmer for DCC Model Railway Control

Opens the door to new possibilities

Published in issue 343, May 2005

Programmer for DCC Model Railway Control
The DCC system distinguishes itself from the competition (the Märklin/EEDTS-system) by being far more flexible, but also for the necessity of having to program the decoders. The majority of control boxes on the market perform this function only poorly, usually only a limited number of parameters are accessible. The stand-alone programmer presented here offers a great deal more functionality!
The article states that the microprocessor fuse bits have to be set to the defaults of the Pony programmer software. Because the Pony defaults are different from the microprocessor’s factory defaults, they are repeated here: none of the 16 bits must be programmed (they must be left at ‘1’), except SPIEN. SPIEN (serial program enable) should be left at the factory default, i.e., programmed (‘0’). The factory defaults will cause the chip to operate at the 1-MHz internal oscillator instead of the 8-MHz external quartz clock. You can easily verify that the chip is running on the external quartz clock. Connect a DVM in DC voltmeter mode to pin 19 of the processor. The level measured should be between 0.5 V and 1.5 V. If not, ICs supplied through our Readers Services (item code 040422-41) should be returned to our software service department for free reprogramming.

Click below to download a PDF copy of this article from Elektor magazine.

 

Downloads 

PDF Article (U050546.pdf)
10 Elektor Credits
PCB layout (040422-PCB.pdf)
Free download
 

Order from Elektor 

ATmega8515-8PI (040422-41)
040422-41 (USD 28.00)
PCB, bare
040422-1
 

Order from Eurocircuits 

PCB, bare

 

Free downloads 

040422-11.zip

Free download

Please note. In view of the complexity of international markets, Elektor cannot guarantee the availability of components for this project.

Subscribe now

Subscribe to our free
E-weekly Newsletter!

Enter your Email address:

Follow Elektor

      

Act now!

FAQ

Before submitting questions, review our FAQ section!

Bestseller

Microprocessor Design using Verilog HDL

This book is a practical guide to processor design in the real world. It presents the Verilog HDL in an easily digestible fashion and serves as a thorough introduction about reducing a computer architecture and instruction set to practice. 

Package Deals

Elektor Bundles

Check our Package Deals and save money! Discounts up to 19% now available!

Price Slashed

Elektor OSPV

This Open Source People Vehicle is perfect for factory halls, warehouses, hospitals, colleges, schools etc.

Elektor PCBs at 25% OFF