Hi Brian,
EmbeddedMan wrote:
That is so unbelievably cool! Your boards look great.
Thanks! I used ExpressPCB's software as it's sooo much easier to use that everyone else's favourite Eagle. Then I printed the designs onto Press-n-Peel Blue, ironed them onto the blank PCB and etched in ammonium persulphate... easy

Of coure I will have larger quantities made for me - last I did PCB design I used a 486 running Windows 95 about 10 years ago to do a large 4-layer board that used a 68000 cpu. PICs are *way* easier to work with

EmbeddedMan wrote:
Can you describe more about what it is (exactly) it does? I'm a little bit into MR myself - I tried to get into the DIY DCC scene a few years back but not much came of it.
I too dabbled in DCC recently, think it was the only way to go. What I discovered surprised me:
* DCC is expensive - $100's to buy throttles, boosters etc. and THEN you need to equip each loco. In my case, N-scale, this is quite a bit more expensive than for HO, O etc. with prices here in Australia of $AU90 per decoder.
* DCC is hard to control - when working alone on my small layout it was easy to manage one loco, but DCC's main advantage is in handling many simultaneously. Trouble is, the human mind is NOT
For an individual running a layout DCC is no more advantageous than DC. Of course when you have 10 of your best MR friends around DCC can be a lot of fun.
Then I re-joined my old MR club and the case against DCC got worse.
* Many of the members are over 50, with a good many over 70. These folks have many locos, with more than one of them having 200 or so. DCC converting them all, or even an interesting subset, would be prohibitively expensive.
* The club funds itself through exhibitions to the public at shopping malls etc. This requires automated running of 20 or more trains to make them appealing/enthralling for the audience. DCC is little help here, as you either need 20 volunteers manning the layout for 7 days straight, or you need a computer and a whole bunch of software/programming effort.
Automated control of the 20 or so locos on current layouts has hitherto been done *electromechanically* with dozens of telco-grade relays running on 48v wired into a kind of primitive computer (us Aussies are clever that way - it's amazing what we can do with fencing wire

) All this required kilometres of wiring back to a central console/rack and is prone to breaking oddly.
My goal was to improve upon this with modern digital control in a totally expandable fashion. Our new layout *could* run 50 locos if we could control them well... and would be a stunning display as a result.
The controller shown provides full digital control of the regulated rail voltage using digital pots and a linear regulator... providing complete software control over simulated inertia. The USB interface is used for field updates of firmware and event reporting/control to a computer for centralised control.
The RS422 serial bus, opto-isolated inputs and relay outputs on the board allow for what I call "emergent control"

Basically you plug as many of these together as you like to fully automate a DC-based layout, without need for a central computer (though the addition of it allows some clever things). The protocol running between the boards allows for semi-automated and manual control as well.
A variant of the board uses an RFID readers for sensing RFID tags under locos and DB lookup on SD-card flash memory allows programming of individual loco characterstics including acceleration, braking and running speeds (and sounds later.) This board also handles the RS422 protocol and is inserted into the control loop to allow controllers to be sent loco-specific data.
Wireless hand-controller versions will allow for semi-auto and manual control/intervention, with the wireless base station again inserting itself into the control loop.
All digital I/O is expandable to allow for controlling larger numbers of signals, points and so on.
<whew!> When I describe it all like that it sounds like a lot

Much of the cleverness is in firmware and the protocol the controllers use to talk to each other. The proof will be in the pudding as they say, but the thought of 50 trains running around a layout without human intervention is exciting to say the least.
Regards,
Paul