I have a Raspberry Pi (model 4b) with the Pi-SPROG 3, and like it A LOT. I bought the whole system, all assembled and pre-configured, from SPROG USA.
You can either hook up a USB keyboard & mouse, plus a monitor to the Pi, or you can use a VNC app on your Windows/Mac/Linux computer, with its keyboard/mouse/monitor, over WiFi.
I use my laptop to VNC into it when I need to, but you only need that when you want to program decoders, or major layout control stuff.
But just for running trains, I use only my android phone with engine-driver app for a throttle, connected over WiFi to the Pi.
-- Andy - Arlington TX
A Raspberry Pi is just a computer. A small one, but a a computer just like a typical Windows or Mac machine. So just like any normal PC, you need an interface device to your DCC system of choice when using JMRI.
The design of the Pi is closer to a phone ot tablet than a full blown desktop PC though, which means it is a whole lot smaller, uses a whole lot less power, and there is less to go wrong. Unless you installt he Pi in an enclised case with a fan, there are no moving parts. No hard drives, etc. It's all solid state. They typically run some form of Linux, but witht he JMRI setup there are ways to 99.9% insulate yourself from that - you can get an image to load on an SD card for the Pi that has the Linux already installed, along with JMRI, and it automatically detects which interface you are using and configures JMRI for you, and even starts up the WiThrottle server component of JMRI with a known name being broadcast that you can connect your phone to.
You can even go one step further and get a complete DCC system with the Pi-SPROG. That comes complete with an interface device capable of putting out a DCC sisngal at around 3 amps, so it acts like a command station and booster and can directly run trains connected to the track terminals of the device. That also sommunicates to throttles via the Pi's WiFi interface, or if you need more throttles, you can connect a wireless access point to the Pi's Ethernet port to support more simultaneous throttles.
Most of the interface devices fall into two or three broad categories, depending on which DCC system you have. The are ones that are straight USB, or USB to serial, such as the NCE PowerPro, there are USB to proprietary network like for Digitrax, using the PR4 or the Locobuffer USB, or the NCE USB interface used for the PowerCab, and there are systems that have an Ethernet port on the command station (mostly European systems) so they just connect to the network.
--Randy
Modeling the Reading Railroad in the 1950's
Visit my web site at www.readingeastpenn.com for construction updates, DCC Info, and more.
kilofortyWhat does the controller do and why can't the Raspberry Pi "talk" to the decoder in the locomotive with JMRI?
JMRI "talks to" a command station which provides power to the track as well as commands to the decoder.
kilofortyTrying to do DCC on a budget and already have a Raspberry Pi.
do you need a command-station/booster?
greg - Philadelphia & Reading / Reading
Sprog will work as well. That's what I did, added a Sprog to a pi that I already had. I love it. Sold my PowerCab. I use an old Moto X phone with Engine Driver which is a superb app. I found that a pi3 didn't work so well due to lack of memory. I upgraded to a pi4 and it works mo betta.
George
Hi Kilo,
Here is a link to Youtube video that explains the process of using a Raspberry Pi to do DCC ++ and JMRI.
https://www.youtube.com/watch?v=rtaZ1_L91Bg
The key to looking it up in Google is to use DCC ++. There are additional videos that may help also.
Scott Sonntag
Can someone simply explain how to setup DCC with a Raspberry Pi. I've scoured the internet and can't find a simple explanation. Trying to understand how it works. The chain as I understand it: iPhone with WiThrottle>Raspberry Pi>Controller?>Train. What does the controller do and why can't the Raspberry Pi "talk" to the decoder in the locomotive with JMRI? Wondering if I'm better off just finding a good deal on an NCE DCC Starter Set. Trying to do DCC on a budget and already have a Raspberry Pi.