Model Railway Forum banner
1 - 4 of 4 Posts

·
Registered
Joined
·
1 Posts
Discussion Starter · #1 ·
Does anyone here have any insight on controlling a layout with the NCE DCC command Station using wifi? (using the WiThrottle app or Engine Driver)

We commissioned someone to make a program on a Raspberry PI that runs JMRI on boot and sets up a server to connect to, while plugged in the serial port of the NCE Station, in order to control the trains. This was done a number of years ago and on a discontinued model of RPi. Copy/Pasting the SD Card with the program on the newer models of the Raspberry pi does not work.

Was wondering if anyone else has achieved this goal or could at least point me in the right direction? Thanks!
 

·
Registered
Joined
·
1,705 Posts
Simple solution:

A USB to Serial adaptor device to link the serial on the NCE system to the PI, which are pretty common at under £20 / $20.


Download and install the build of JMRI for Raspberry PI made by Steve Todd; follow the instructions to transfer the download to a SD card. That will give you the PI's operating system, JMRI, setup the WiFi as an access point, near-automatic selection of connected DCC system, etc..



- Nigel
 

·
Registered
Joined
·
1,008 Posts
Whatever was done on the old Pi needs to be done for the new Pi, it will do the same but much faster.

I am sure that the program you have commissioned will run on the new Pi, you just have to set it up the same.

That said, JMRI can be configured to start the server automatically when it starts - you just need to configure the Pi to start JMRI automatically.
 

·
Registered
Joined
·
838 Posts
We commissioned someone to make a program ... This was done a number of years ago and on a discontinued model of RPi.
R-Pi images tend to backwards compatible but they are often (always?) not forward compatible if the hardware has changed, as in a new generation of Pi. The boot up code will be different.

Steve Todd's image should work.

It also not too difficult to create your own from a stock Pi OS image. There no "program" as such to do this. Install the software, enable the WiFi access point, setup the JMRI connection for NCE with WiThrottle. Set JMRI to run at startup. A little Linux knowledge (and good Google-fu) helps, of course.
 
1 - 4 of 4 Posts
Top