09/23/2005 Remote Train Controller on PocketPC

Trackback URL: http://layout.mixmox.com/1/PocketPC_remote_train_control


This page has moved to:
http://cabin-layout.blogspot.com/2005/09/remote-train-controller-on-pda-pocketpc.html

Overview
I added the ability for my main train control program to listen for connections over the network. When a Remote Train Controller client (such as the PDA) connects, the two computers can exchange information about the trains that are presently on the layout allowing two way communications between the two including the ability for the PDA to start routes, alter train speeds & direction, set functions for any loco with any train and control the power and halt status of the Intellibox

When the program starts, I can choose which computer I with to 'talk' to. and click the Connect button.
Connection screen
Once connection is established, the server computer sends the Power and Halt status of the IB. It also send these if ever they change.
I can then click on the Trains tab...
Selecting a train to control
I can then pick any train that is currently on the layout. Tapping on the Halt or Power indicators toggle their status.

Once I pick a train the following information is continuously displayed in real time:

current speed
current location
desired speed
speed limit
for each locomotive in the train, the status of every function present

So for example, the TEE train is currently at E Gleis 2, it is travelling at 29km/h and its desired speed is 50km/h. The speed limit of this train is 130Km/h. There is only one locomotive in the train and it is the BR01 097 and it has 4 functions, of which Smoke and Lights are currently on.
Example of speeds, functions, etc.


The 4 buttons do what their captions suggest, in that they change the current speed but leave the desired speed alone. Tapping anywhere on the speedometer bar will also set the speed to wherever you tapped! I find it a very comfortable interface to use.

If a train has multiple locomotives, the functions for each are shown in an outline..
Example of multiple locos
Note that there is no need to know locomotive decoder addresses of function number assignments. They are all presented in friendly form. My layout control works with trains, rather than locomotives, the main program does all the work of tracking what locos are in each train, what their addresses are and what speed steps would be appropriate, etc.

The third tab simply logs any exceptional events such as loosing connection etc. The checkbox allows me to watch the data coming in from the server for testing purposes. To save space the time stamp only shows the minutes and seconds.
Boring log screen


This gives me the ability to be anywhere (even out in the woods) and have control of the layout. Although I have not tried it, I could control it from any WiFi hotspot on the planet.

The main train control software looks no different and still allows full control, including any train that is currently selected. It can optionally log commands that come in from a Remote Train Controller too..
Server log sample


Update: Crane and turnout control have been added

The screens and their layout shown here are copyright Dale Schultz 2005.
Wim, that means you may not copy the screen layout and pass it off as yours OK.
Related pages....
Crane and Keyboard tabs
Speed calibration of ICE 3 (37783)
Cab signal indicators
Review: Märklin mobile crane 46715
RemoteSign display
Remote Train Controller on PocketPC
Arrival and departure display
Programming Track
s88 Test screen
Locomotive log
Philosophy of digital train control
Track length calculator
Cab views






Trains: Layout Home | RemoteSign | Newer layout
Other: Genealogy | Wilsnack | Cape Griffon


Photographs are Copyright by Dale Schultz or Debbie Broderick. Images may be saved and or printed for personal use only.