Power, DCC and wiring
What the difference between DC and DCC actually is at the rail, what a decoder does, how to wire a layout so it stays reliable, the handful of CVs worth knowing, and why a reverse loop shorts out.
On DC, the controller varies the voltage between about 0 and 12 V and flips its polarity to change direction. The locomotive is a dumb motor: more volts, more speed. Every locomotive on that piece of wiring does the same thing at the same time.
On DCC, the rails carry a constant, full-voltage square wave that swings between
+ and −. That waveform is both the power supply and a stream of digital packets.
A short half-cycle means a 1, a long one means a 0. Each locomotive
has a decoder that reads packets addressed to it and ignores the rest.
…you run one train at a time, you like the simplicity, you have a fleet of older models that would each need a decoder, or you are building something small and temporary. It is not a wrong answer.
…you want two trains moving independently, you want a locomotive to sit idling in a siding with its lights on, or you want sound. The wiring saving alone — no block switches, no section wiring — is substantial.
Between motor pulses the decoder measures the voltage the motor generates as it coasts, works out how fast it is really turning, and corrects. That is why a good decoder holds a steady crawl up a gradient and through a turnout. It is sometimes called load compensation or “silent drive”.
Run a pair of heavy wires around the layout underneath — the bus — and drop a pair of thin feeders from every length of rail down to it. Do not rely on rail joiners to carry current between sections: they are mechanical connectors that happen to conduct, until they don't.
Lay a coin across both rails anywhere on the layout. The command station should shut down instantly. If it merely grumbles, or nothing happens, the wiring at that spot is too thin or too far from a feeder — and a real short there would cook something rather than trip the protection.
A starter command station supplies 2–3 A, which runs perhaps four or five HO locomotives — fewer with sound. Beyond that you add a booster: its own transformer and output stage feeding its own section of track, taking commands from the same bus.
Even on a small layout it is worth dividing the track into two or three power districts, each behind its own electronic circuit breaker. A derailment in the yard then stops the yard, and the train on the main line keeps going.
Follow the left-hand rail round a loop that turns a train back on itself and you will find it arrives at the right-hand rail. Two different polarities, one piece of metal — a dead short, and it happens on DC and DCC alike.
Wyes and turntables have exactly the same problem and exactly the same cure. A turntable bridge is a reverse section that rotates.
A decoder's settings live in numbered memory slots. There are over a thousand; you will use about eight. Program them on a dedicated programming track (low power, reads back values) or on the main line with POM — programming on the main — which writes to one address while everything else keeps running.
| CV | What it is | Typical use |
|---|---|---|
| 1 | Short address, 1–127 | The number you call the locomotive by. Set it to the last two digits of the running number. |
| 2 | Start voltage (V-start) | Raise it until the model just creeps at speed step 1. The single most satisfying adjustment there is. |
| 3 | Acceleration rate | Momentum. A heavy freight should take several seconds to get moving; a light railcar should not. |
| 4 | Deceleration rate | The same for braking. Set it high and you must plan your stops — which is the point. |
| 5 | Maximum voltage (V-high) | Cap a model that runs absurdly fast at full throttle, or match two locomotives for double-heading. |
| 8 | Manufacturer ID | Read-only — but on most decoders writing 8 to it performs a factory reset. Remember this one. |
| 17 + 18 | Long address, 128–9999 | Set together; most command stations do the arithmetic for you when you type the number. |
| 29 | Configuration bits | Direction of travel, 14 vs 28/128 speed steps, whether the long address is used, whether DC running is allowed. |
| 19 | Consist address | Puts several locomotives under one throttle for double-heading, keeping their own lighting behaviour. |
An hour of tuning is undone by one accidental reset. Keep the address, decoder type and any altered CVs on a card with the model's box.
A sound decoder carries recorded samples of a specific prototype and plays them against the motor's actual load: notch up on a climb, chuff in time with the drivers, brake squeal on a stop. It needs a speaker with a sealed enclosure — the enclosure matters more than the speaker — and it draws current even when the locomotive is standing still.
A keep-alive (stay-alive) is a bank of capacitors that keeps the decoder powered for a second or two across a dirty patch of rail. It stops the humiliating reboot mid-whistle, and it improves slow running even without sound. Fit one if there is room.
Prototype sound at scale distance is quiet. A locomotive that can be heard across the room is roughly ten times too loud. Turn the master volume down to about a third and the illusion improves enormously.
A coil that snaps the blades over with a bang. Cheap, fast, noisy, and it needs a capacitor discharge unit to fire reliably without cooking the coil. Peco PL-10, Seep, Hornby.
A geared motor that pushes the blades across over a couple of seconds and then stalls harmlessly against them. Quiet, prototypical, and usually has spare contacts for frog polarity and signalling. Tortoise, Cobalt.
A hobby servo plus a small driver board. The cheapest slow-motion option, fully adjustable in throw and speed, and easy to control from a microcontroller if you enjoy that side of things.
On DCC, a stationary (accessory) decoder lets you throw turnouts from the same handset that drives the trains, and lets a route be set with one button. Very satisfying — and entirely optional. Wire in wire-in-tube from a knob on the fascia works perfectly and never fails.