Skip to main content

 

Hi all,

 

As many of you saw last week on the forum, my team and I at Hikel Layouts & Trains have introduced the first PC interface for DCS, which includes the capability to run trains or control your layout from mobile devices such as iPads and smartphones.  There has been a fair amount of speculation and some partial explanations shared on the forum already, so I wanted to take the time and start a new thread that explains our system.  Please post any questions or suggestions here.

 

Over the last few years we have been constructing a 3200 sq. ft. 3-rail Scale layout known as the NorthWest Trunk Lines.  The layouts owner, Peter Hambling, insisted on having the option of running the layout from a computer.  Peter wanted to be able to put on a good display for visitors even when he’s the only one operating the trains.  As you’ll see, the computer interface has the ability to put on a pretty good show.

 

We approached the problem of layout automation as a third party with no specific loyalty to one brand or even scale of trains.  We wanted to integrate the best products we could find for each task.  Full layout automation requires three elements.  First, you must have a system to control the trains, switches and accessories.  Peter already owned numerous locomotives with Protosound 2, TMCC, and Legacy.  That made the first element simple.  The NorthWest Trunk Lines uses both DCS and Legacy to operate the locomotives.  Switches and Accessories are routed through DCS.  The second element for automation is detection.  No automation system can reliably operate a layout unless it knows where the trains are located.  Neither DCS nor Legacy currently offers any form of detection that can translate the position of a train into a digital command.  However, this capability does exist in several DCC control systems.  After researching and testing our options we selected NCE’s detection hardware to generate occupancy data.  The third element of layout automation is the software that translates the detection data into a meaningful representation of your layout and issues appropriate commands to the train control system.  There are many software programs on the market that offer widely varying degrees of automation.  The Java Model Railroad Interface (JMRI) is one such program that is free and open source, but has limited automation capabilities.  RocRail is also free and open source with more automation capabilities, but is not easily integrated with TMCC.  The most capable program, and the one we ultimately chose for the NorthWest Trunk Lines, is RR&Co. Train Controller.  Our task was to link all three elements.  Each manufacturer uses its own unique codes that must be translated to a form the other can understand.  We created out own custom software that performs the translation in real time, which we call ProtoNet.   ProtoNet intercepts the communications from each system while they are on your homes local area network (LAN).  With ProtoNet, elements of all major command control systems can be used together for the first time.

 

All the technical jargon doesn't matter unless the combination of systems offers improved operations and features beyond the excellent capabilities of each system when used independently.  Folks are generally aware of the capabilities of DCS and Legacy, so I want to share with you a bit about the new features that go beyond normal command control.

 

RR&Co. Train Controller allows you to create a schematic graphic of your layout with very simple drawing tools.  In a matter of minutes you can represent even the most complex track plans, including less common features such as 3-way switches, turntables, transfer tables, and over/under crossings.  The top software package even allows you to create multiple control panels that cover portions of your layout.  This is especially useful if you have a multi level layout where overlapping tracks could get confusing.  In the case of the NorthWest Trunk Lines we've spread the track plan across four control panels.  You don't need a monitor for each panel, but it works well for us when we have a large operating session.

 

 DCS Control Panel

 

 DSC_2759

 

Clicking on a turnout toggles it's position back and forth.  You can also place buttons anywhere on the control panel to turn on track power, active an accessory, throw all the switches in a route, or even a combination of functions.  In this photo you can see I used a round push button for track power and a diamond shaped push button for a route that throws all the switches between the yard track and the mainline.

 

DCS yard buttons

 

Once you've drawn the basic lines of your layout, you can add occupancy blocks.  Most of the time, a block is defined as the track between turnouts.  Each block is associated with one or more (3 for best control) detectors.  For 3-rail, each detector can be a simple section of insulated outside rail.  If you prefer, you can use IR or other detectors in lieu of insulated sections.

 

Adding detection opens a whole new world of possibilities for you layout.  It enables the computer to know which tracks are occupied and which are open for running trains.

 

The next step is to add your locomotives to the roster.  You can enter any Protosound 2, Protosound 3, or TMCC equipped locomotive into the roster.  You can give each locomotive the name you like, select the softkey and function features from a library of available buttons, and even enter helpful tips to remind you of each function.  Ever wonder which idle sound sequence to use when pulling up to a water tank?  Enter a tip for desired softkeys and they'll get a pop up reminder when the mouse floats over each button.  You can even enter a photo for each engine that will appear in the roster next to the name.

 

DCS engine window

 

With your layout and roster created the real fun begins.  You can drag and drop the image of your engines from the roster to their location on the layout.  Now the computer knows not only that a block is occupied, it also knows what is occupying the block.  As you drive the trains around the layout the image of the locomotive will move as successive blocks become occupied.  You can even click on a locomotive in one block, drag it to another block, and the computer will take care of all routing and speed commands to safely get the train from point A to point B.  Here you can see the software reserving a route in yellow.

 

DCS route reserved

 

You can even create a schedule for a train to run making one or more stops along the way.  At recent operating sessions and displays on the NorthWest Trunk Lines we have has a couple passenger trains running pre defined routes and making stations stops.  Unlike the record/playback systems in DCS and Legacy today, these schedules are base on the train arriving at an actual location, not just time and speed commands.  Maybe something goes wrong with a coupler and your train running on a schedule breaks in two.  You intercede with your remote and stop the engine, recouple the cars, and get the train moving again.  With the current systems you would have drive the train back to it's starting point and star over.  With this new system the computer will pickup right where you left off and proceed to the next station.

 

Another great feature is the ability to trigger an event when a train passes a particular location.  On the NWTL we have set up several locations where any passing locomotive will blow it's horn or whistle just as would be required on a real railroad.  Have an early PS2 engine without the SXS grade crossing sequence softkey?  That's OK.  You can add it as a macro that operates the standard horn or whistle button pressing the correct sequence.

 

DCS macro editor

 

Have you ever wished you could have a steam engine enter labored chuff as it starts climbing a hill and have it stay in labored chuff without holding down the button on the remote?  You can do that too.  On the NWTL any steam engine climbing the Kicking Horse Loop will engage labored chuff when it starts climbing the hill and return to normal chuff when it reaches the top.  Conversely, steamers running down hill will automatically engage and disengage drifting chuff.  Diesels passing the same points will rev up or down appropriately.  Like blowing the whistle or horn, these are simply events that can be triggered wherever you like on the layout.

 

DCS action marker

 

Most people want be able to get up away from the dispatcher's desk and follow the trains as the computer runs them.  Or better yet, run another train manually at the same time.  You can still use your DCS, TMCC, or Legacy remotes at the same time.  However, you now have another option.  A software extension for RR&Co. Train Controller, called SmartHand+, supports any mobile device that has wi-fi and a web browser.  Up to 32 devices can connect to a built in web server.  The server sends a locomotive control window or control panel view as an interactive web page.  Simply enter the URL for the server into the address bar of your web browser and the panel appears.  You can access lists of your control panels or locomotive roster and quickly swap back and forth between different views.

 

DSC_3609

 

On the NWTL we use iPads around the layout as our local control panels.  We didn't have to make hard wired panels for each section of the layout.  Different devices work well for different purposes.  My own phone is an HTC Thunderbolt running Android.  It works very well for locomotive control, but is a bit small to use as a control panel.  Tablets or a laptop  are more user friendly as control panels.  However, if all I have in my hand is the phone it will still throw the switches just fine.

 

DSC_3442

 

DSC_3621

 

DSC_3611

 

This was the interface that we demonstrated at the MTH booth at York.  I brought along a wi-fi router and my laptop from home and set it up so anyone could use their own phone to connect and run an engine on the layout.  We also set up detection so people could watch the images of the locomotives moving around the layout.  The layout MTH had on display not their normal York layout.  Sadly, that layout had been stolen while in route home from the I-Hobby show in Cleveland.  If we had had the normal layout you would have been able to throw the switches as well as run the trains.

 

I first demoed our layout control package to Mike Wolf at the April, 2011, York.  After a while it became obvious to all of us that this system was too cool to not let other folks have a chance to put it on their own layouts.  However, Mike Wolf wanted to give people a chance to use at least parts of what we developed without committing to full layout automation.  So, we have begun the work to offer locomotive and DCS system control capabilities that can run as a stand-alone app on iOS and Android devices.

 

Our goal is to offer the first iOS app this spring.  This will be a free app that gives basic locomotive control similar to the DCS Remote Commander.  In the months that follow we will release a paid version of the iOS app that duplicates all the current capabilities of the current DCS remote as well as free and paid versions for Android.  Here's a look at our preliminary artwork for the iOS app.

 

iDCS_free

 

We received a lot of useful feedback from folks coming up and using the system at York.  I hope all of you who are interested in the apps and our full automation package will post your ideas here.  We've come a long way already but I know we can make the system better with your help.

 

You can look for more on the apps and our full automation package in upcoming MTH catalogs, in the pages of OGR, and here on the forum.  MTH will be handling the distribution of the apps through iTunes and Google Play.  The full automation package is tailored for each layout depending on the number of detectors required and the software package you prefer.  While the apps are a little ways off, we're ready to start putting together automation packages right now.  For those interested, you can send us your track plans and we can quote you a price for your layout.  

 

On a personal note, I want to thank Mike Wolf and the folks at MTH for allowing us be the first to bring computer and mobile interfaces for DCS to the hobby.  We hope these efforts will draw new people to the world's greatest hobby.

 

 

Attachments

Images (12)
  • DCS Control Panel
  • DCS engine window
  • DCS route reserved
  • DCS yard buttons
  • DCS action marker
  • DCS macro editor
  • DSC_2759
  • iDCS_free
  • DSC_3442
  • DSC_3611
  • DSC_3621
  • DSC_3609
Original Post

Replies sorted oldest to newest

I like what I see so far. Are you using the NCE BD20 two-channel current-sense detectors? Reason I ask is I have been looking at those for occupancy detection because they detect current flowing through a wire without interrupting the circuit, which protects a digital signal running on the wire. The old diode-based detectors corrupt digital signals. The only catch is that you need "resistor cars" within the train to make sure the block stays occupied when the locomotive clears the end of the block.

Dave,

 

We look forward to set you up.  Whenever you're ready just send us your track plans.

 

Joe,

 

We've tried to add the most flexibility we can using the existing codes.  There subtle things we can do that make the user experience even better.  For one thing, neither DCS nor Legacy displays the direction of the locomotive even though they both send specific "forward" and "reverse" commands.  The RR&Co. engine control window gives you several specific indications of the direction of travel.  Here's a comparison showing an engine in forward vs. reverse.

 

 

 

When moving forward the direction arrow on the right of the speed slider, the bar graph behind the slide maker, and the target speed indicator on the speedometer are all green.  In reverse, each changes to orange.

Dear Dave:

 

I am interested in using your system to replace local control pannels, so that I can place an Ipad at each town (5 locations) for local switch and uncoupler control. i would continue to use the DCS controller to run the engines. Alternatively, I would have 1 ipad per user (for a total of 3 users), who would be able to select the town they are at, and get the control screen for that town to display on the ipad, if this is possible. They would then use the ipad to control the switches and uncouplers (and accessories if possible), and use the DCS remote to run their engine.

 

Would it be possible to start with track control, without adding train location detection?

 

Your system looks fantastic and is changing my thinking about redoing all my control pannels to a "map type pannel with pushbuttons" for switches and uncoupling tracks.

 

Thanks: Joe K

Dave,

 

Thanks for the detailed info.  You said,

 

"As many of you saw last week on the forum, my team and I at Hikel Layouts & Trains have introduced the first PC interface for DCS, which includes the capability to run trains or control your layout from mobile devices such as iPads and smartphones."


To me, the key word is "first".  The question is, once the hardware is available, will MTH provide the codes that the software sends to the hardware?  If so, that would allow for second, third, and more third-party developers.  I'm hoping this is the case.  I'm not so much interested in train control, but would like to create a layout control program for my own layout.  


I have a 42" LCD tv on the back wall of my layout.  I have long envisioned an image of my layout on the screen, with mouse clicks changing turnouts and controlling blocks as you describe.  As a programmer, I'd like to design the software myself.


I'm hoping that this news will lead to an opening of the MTH "secret codes" for more than 1 developer.   Your thoughts?

 

thanks,

ed

Originally Posted by Joe K:

Dear Dave:

 

I am interested in using your system to replace local control pannels, so that I can place an Ipad at each town (5 locations) for local switch and uncoupler control. i would continue to use the DCS controller to run the engines. Alternatively, I would have 1 ipad per user (for a total of 3 users), who would be able to select the town they are at, and get the control screen for that town to display on the ipad, if this is possible. They would then use the ipad to control the switches and uncouplers (and accessories if possible), and use the DCS remote to run their engine.

 

Would it be possible to start with track control, without adding train location detection?

 

Your system looks fantastic and is changing my thinking about redoing all my control pannels to a "map type pannel with pushbuttons" for switches and uncoupling tracks.

 

Thanks: Joe K

Hi Joe,

 

Yes, our system can support either concept of 5 mounted iPads or 3 walk around iPads.  You can have both switches and accessories on the same panel.  Yes, you can get started without implementing all the detection.  You can create all your control panels for each location on the layout and even put in the occupancy blocks, you just won't see any color change or moving locomotive graphics.  Each panel can control all the switches and uncoupling tracks in a given area of your layout.  If you'd like to get started you can contact me at hikelogauge@gmail.com.  Here's some more detail...

 

The system will support up to 32 mobile devices (not just iOS) at once.  On the NWTL during an operating session we use 8 to 12 iPads as local control panels depending on how many people bring an iPad.  Some people then use the DCS or Legacy remotes to run trains.  Others have taken to using an iPad or phone to run the trains.  Any mix of inputs you like is possible.

 

You can control switches that are connected to DCS with AIU's, TMCC/Legacy with SC2's, ASC's, or DZ-2500's, or even connected to the NCE DCC system.  Switches and accessories from all three systems can be seamlessly mixed together on the same control panel.  Here's a look at how a switch or accessory is setup.

 

DCS switch editing

 

Just above the editing window you can see a black square around a switch on the track diagram.  That's the switch I'm editing.  You can see at the top of the editing window that I've already given this switch a name, "West Field."  This is part of our Canadian section modeling Field, B.C.  Setting up the switch is very simple.  Select the control system that will run the switch.  In this case, #1 is the NCE system handling detection, #2 also says NCE but is really DCS, and #3 is TMCC.  You select the system, enter the switch's address, and hit OK.  If the switch throws backwards from the way it should you simply click on the section labeled "Output Configuration."  That will swap which way the switch throws when you touch the switch on the panel.

 

Accessories are set up the same way.  Any device that can be wired up to an AIU or TMCC ASC, etc., can be controlled with virtual push buttons and toggle switches that you can place anywhere on the control panel.  On the NWTL we have a Crestron lighting system that can duplicate time of day.  Again, we took a systems integration approach.  We connected accessory outputs from AIU's to the inputs for the Crestron lighting system.  That allows us to trigger lighting changes from either a DCS remote or from the virtual push buttons seen in the above photo.  I created a section on the control panel called "LIGHTING CONTROL."  The first button under lighting control is labeled "CYCLE."  Each press of that button advances the time of day by 30 minutes.   Once an accessory is on the panel it can also be triggered by the movement of the trains.  In one of our passenger schedules the lighting advances 1/2 an hour as the train enters each new block.  With this system the City of New Orleans really can go 500 scale miles before the day is done!

 

We realize that to some folks all this seams really complicated and we don't want you to feel left out.  As model railroad builders we're accustom to hiring out our time to help people get their railroads up and running.  That's the approach we are taking with the layout automation system as well.  If you're comfortable with crating and editing the control panels yourself that's great.  For those who need some help, we can create your control panels for you based on your track plan and how your layout is wired.

Attachments

Images (1)
  • DCS switch editing
Originally Posted by eddiem:

Dave,

 

Thanks for the detailed info.  You said,

 

"As many of you saw last week on the forum, my team and I at Hikel Layouts & Trains have introduced the first PC interface for DCS, which includes the capability to run trains or control your layout from mobile devices such as iPads and smartphones."


To me, the key word is "first".  The question is, once the hardware is available, will MTH provide the codes that the software sends to the hardware?  If so, that would allow for second, third, and more third-party developers.  I'm hoping this is the case.  I'm not so much interested in train control, but would like to create a layout control program for my own layout.  


I have a 42" LCD tv on the back wall of my layout.  I have long envisioned an image of my layout on the screen, with mouse clicks changing turnouts and controlling blocks as you describe.  As a programmer, I'd like to design the software myself.


I'm hoping that this news will lead to an opening of the MTH "secret codes" for more than 1 developer.   Your thoughts?

 

thanks,

ed

Hi Ed,

 

It's up to MTH to decide if others will have access to the DCS codes.  As far as I know they do not plan to release the codes to the general public.  Our software comes with a user agreement similar to the DCS Loader software which does not allow its use for other than authorized purposes.  I'm sure that's a disappointment for a programmer like yourself, but it's not up to me.  MTH wanted to bring a control package to the hobby that is highly capable from day one and we're pleased that they saw our system as worthy.

 

I'm sure for some folks writing their own software would be fun project in and of itself.  However, I think you will find our software package is capable of doing what you envision with your 42" TV as a monitor.

Dave:

 

Thanks for your prompt reply. It looks like I need to wire all my switches, uncouplers and some accessories to my AIU's, prior to getting your new system working.

 

I will be responding to your email address directly, after I update my layout drawing to show all the block separations, and add an ID number to each of my switches and uncouplers. I hope to have this done by early next week.

 

Looking forward to having an electronic control pannel in my train room.

 

Joe K

Dave, you asked for input and ideas. I think this one would be simple to create. How about some type of on screen comunication between operators, so that we can do away with the walkie talkies. Several operators would be able to communicate (text on their screen) with the dispatcher, without ever speaking a single word. Also an area on the screen where full quotes could be stored, (that the user can create and save for the operating session), that way there is less one finger on screen typing. If possible transparent type lettering over the screen that your on, so that you don't have to change to a text screen, would be great. I would hope this could be done without sending an actual text, cause not all basements have good cell signal (unless the person would buy an extender, and using e-mail would be too slow) that way we also would not have to pay $100.00 more for an ipad with phone capability. Think about it. With a mini camera in each engine, and a window on the screen diplay, from the camera, every operator would be inside their own virtual loco without ever over hearing dispatch communications to other operators.We would then have to pay closer attention to our track signals, cause we would not know whats going on on the rest of the layout. Yes, the future of operators will be wearing those virtual cyber helmet things.

Post

OGR Publishing, Inc., 1310 Eastside Centre Ct, Suite 6, Mountain Home, AR 72653
800-980-OGRR (6477)
www.ogaugerr.com

×
×
×
×
Link copied to your clipboard.
×
×