A long time since the last posting, but here is a train one...
For the Warley show this year, I will have a demonstration on DCC and 2mm scale topics. This will include some basic issues, such as how to fit decoders in limited space, and some more advanced topics, such as train detection, interlocking, and automation.
The advanced topics are illustrated with a simple track arrangement which can be run automatically or manually. A fairly rough video is shown below (bring back the old version of Windows Movie Editor, it was easier than the current one !).
The automated shunting sequence includes careful buffing up to the train, and if the loco running has lights, these are switched on/off at appropriate times.
The train detection is through MERG DTC-8 detectors which register current in a track section. Those feed their output to a HDL LocoIO board, which places the information on a LocoNet network. From the network, information is picked up by other LocoIO boards (displays status on LEDs, etc), and via a computer interface, to JMRI. The LocoIO boards also provide input from the manual lever frame, and output to LED signals at the trackside and servo motor drivers to move turnouts.
JMRI provides the interlocking for the signals rules, an on-screen duplicate of the lever frame, and the automation scripts which send instructions to run trains, change signals and turnouts, alter functions on trains, etc.. The scripts respond to the state of the track detectors. JMRI can track a named train around the system, so it is known which train is in which section.
Train movement comes from a Digitrax Zephyr command station, which relays instructions from LocoNet to the track. It also offers the manual running controller.
A second manual handset, a Uhlenbrock Fred, provides a hand-held controller.
And, if any visitors turn up with an iPhone with the WiThrottle Application loaded, they are welcome to connect it into the system and drive the trains on their iPhone.