How To Create Simulated Model Train Layout Plans & Control Train With Your PC

Ads by Google

As an avid electronics enthusiast, I’ve always been fascinated by any hobby that involves electricity which moves objects. Model train building is a lifelong passion and hobby for many people, and it has been for many generations.

Here at MakeUseOf, we’ve covered a lot of topics that involve ways you can use outside applications to control your PC; such as Ben’s article on how to control your PC using Remote Access, or my article on 3 ways to remotely restart your computer over the Internet. But, what about controlling other things with your computer?

Specifically in the world of model train building and operation, the ability to design model train layout plans, and then control a model train with your computer would be very cool. This is where CATrain comes in. CATrain is a very cool Windows app written by a guy by the name of Joel Bouchat over in France. With his application, you can design and lay out a complete model railroad track, design a timed “itinerary,” and yes – you can even hook up your train to your computer and automate your model train.

Creating Model Train Layout Plans With CATrain

When I first discovered CATrain, from the screenshots I thought that it would be a simplistic, amateur application. Maybe it’s because I’ve spent too many years playing graphically intensive games like SIM City or Roller Coaster Tycoon. A video game CATrain is not.  Once you install the application, it quickly becomes apparent that what you’re dealing with here isn’t so much a simulator style game, but more of a design application that comes preloaded with everything you might need to accurately lay out a model train railroad.

Ads by Google

catrain1

The app first comes up in design mode, and you’re offered a pallet full of the various train track segments that you’d find in most model railroad kits. The learning curve for folks already familiar with most Windows applications is essentially zero. It’s all drag and drop – that’s it.

tips2

As you click a track segment, it attaches to your mouse pointer. Move your mouse over to the grid section that you want to fill and the application provides a tip with your options at the upper right hand corner of the application (nice touch!).

mode3

Once you have a decent model train layout plan, you can switch the application mode over to add elements like the power supply and signals (electrical design), set the grades of track segments, or switch the application over into “run” mode.

display4

Under Display options is where you’ll find the bulk of how you configure the on-screen appearance of your design and where you can configure the itinerary for your train. It’s also where you open up the throttle and device controls, a critical part of the application if you plan to simulate the operation of your train on the screen, or control your real train off the screen.

power_supply5

The next menu item is where you can view the wiring configuration of your design track to make sure that you’ve placed the correct connections together, and that the polarity of the power supply is correct. When you select the “show polarity” option, it shows up overlaid on top of the track as shown above.

placetrain

Ready to place your simulated train on your new model train layout plan? When you go to select “Place a Train on the Railway” under the “Trains” option, you’ll be pleasantly surprised to find a total of 30 train types. You also have the option to edit your own train.

traincontrol6

Once you’ve selected your train, bring your mouse over to the track and left click to place it wherever you’d like the train to start, the application pops up the throttle control icon as shown above. I’m afraid my pathetic little track won’t exactly provide the opportunity for a fun itinerary for this poor little train. However, the application comes preloaded with a long list of pre-designed model train layout plans (under the TCI folder), and when you see the creativity (and complexity) that went into some of these designs I’m sure you’ll be as surprised as I was.

tracks8

Of course, on top of the well-written design software (and free on top of that), the best part of this software is its ability to actually control your model railroad hardware. When you install the application, you’ll notice a USB driver installed along with it for that purpose. However, this is where the “free” stops, because obviously to control your model train you need the microprocessors to plug your computer into in order to do so. Required hardware includes a USB interface, PWM controller, device controller and train detector. Joel sells these pre-made, or you can buy the electrical schematics to build them yourself.  Whether you choose to use his hardware, or you build it yourself, CATrain represents at least one very cool way that you can interface between your PC and something in the real world that you can actually control.

Are you a model train enthusiast? Have you ever hooked up your PC to control something in the real world? Tell us about it in the comments section below.

Ads by Google
Check out more about:

14 Comments - Write a Comment

Reply

Ken

** WARNING **

I installed CATrain (tried to download from both webservers given on the download page) as soon as it finished installing both times, my Virus scanner detected a Trojan Virus.

It was a low risk type TROJ_GENERIC
(Mal/Psyme-B(Sophos), Exploit.JS.ADODB.Stream.e(Kaspersky), EXP/ADODB.Stream.E.86(Avira))

Just thought people should know.

Ryan Dube

Hey Ken,

I saw multiple links and got mine from the one marked as “english,” if I remember correctly – and my updated virus scanner detected no issues. There were more than two links – do you mean you tried from both English sites?

Thanks for spotting this – if there’s any virus issue it’ll be good to let readers know.

Reply

Duenielsun

Hello,
thanks for your review. I’m one of the two developers of catrain. So let me give you another hint:
The original catrain – files could be downloaded at <a href="http://www.catrain.org title="http://www.catrain.org/&quot; – that's one important remark – so you will get every time the newest files. So it seems, that you've tested the last version (2.2.3). In the new version (2.2.4) you see some small enhancements: 1) There is TGV/ICE Train, 2) Double traction is possible, 3) The file open dialog opens in TCI-Folder directly ;-)

Kind Regards,
Daniel Merbecks

Reply

Duenielsun

Hello,
i do not know, where “Ken” downloaded CATrain – we didn’t found any virus in our files. Please, tell us, where you download it.
Kind Regards,
Daniel

Your comment