DR5000 And Linux/Raspberry Pi

Massey Jan 31, 2021

  1. Massey

    Massey TrainBoard Member

    2,023
    6,559
    58
    OK Here goes.

    I need help here My DR5000 is not happy on Linux or Windows. I tried to set it up just like IPH shows in their tutorials and no joy. My Win10 PC will talk to the DR5000 but it doesnt like me entering the WiFI settings, I cannot set the WiFi up so I can use my phone as a throttle. But that is the least concern of my problems. I tried to set it up to program a new loco on the Raspberry Pi using JMRI and it would not read the decoder on the main or program track, and no joy trying to set the engine number. I tried again on the Win10 PC and it would read the decoder but when I tried to program the road number in it just set some random number. I tried a couple of times, no joy.

    My Zephyr programmed the lcoo with no issue on the Win10 with JMRI

    So I wanted to know if it was my Pi causing the Linux issues, so I removed the RPi 3B+ from my setup and installed the RPi 4 into it, and the same exact issues as before.

    So I tried on my laptop which is running Linux Mint, latest version, and same exact issues as with the RPi

    Right now I am writing this on my RPi 4, and it is running JMRI hooked to my Zephyr through a Locobuffer-USB with no issues at all. I can program and read decoders just fine with JMRI on my Pi like this.

    Does anyone know what needs to be done to get my DR5000 to play nice with Windows and Linux? Oh I only have one Windows PC to play with, everything else is Linux or Mac.
     
    okane likes this.
  2. acptulsa

    acptulsa TrainBoard Member

    3,370
    5,987
    75
    I don't like raspberry pie either.
     
    okane likes this.
  3. Massey

    Massey TrainBoard Member

    2,023
    6,559
    58
    I like the Raspberry Pi, but I have never had raspberry pie. Now Raspberry jam is my favorite!

    I also forgot to mention that when trying to connect my phone to the DR5000 is says DR5000-SERIAL and does not give the serial number of my unit like it's supposed to. I am supposed to see DR5000-00011079.
     
    okane likes this.
  4. Sumner

    Sumner TrainBoard Member

    2,845
    5,996
    63
    Sounds like the problem is on the DR5000 side.

    In Pi's defense I run JMRI on a Pi with DCC++ Classic and DCC++EX with no problems programing or otherwise. Hopefully you will get this sorted out.

    Have you had a chance to talk with Digikeijs about it?

    Have you tried Steve's image file just for the heck of it?

    Might this help?

    https://model-railroad-hobbyist.com/node/34822?page=2

    Sumner
     
  5. Massey

    Massey TrainBoard Member

    2,023
    6,559
    58
    I have not talked to Digikeijs yet. I think you are right on the unit may be at fault. I tried the wireless loconet setup both on PC and RPi and it would connect, and the WiFi lights showed it received a signal but no joy on the commands working. I did a factory reset and reload of the firmware and that then allowed it to read a decoder end to end when on WIN10 through USB. But still nothing on the RPi wired to not. My Zephyr worked flawlessly on the RPi and I have no reason to think the DCS210 I have wont work either. I have enough room in my little box for the DCS210 and power supply with some minor changes, so I am going to make them and roll with that. I liked the idea of the DR5000 having Railcom, Loconet and being able to use pretty much any throttle I wanted, but I think I’m just going to keep swimming in the lake I know best. Today has been frustrating to say the least.
     
    Sumner likes this.
  6. BigJake

    BigJake TrainBoard Member

    3,310
    6,382
    70
    Unless you are in a hurry, I would see what Digikeijs says. Give them a chance to make good on it. If they can't, then get your money back, and fall back to your Digitrax option.

    In the process we'll all learn something about Digikeijs' products and their support...

    I'll pop some popcorn...
     
  7. BigJake

    BigJake TrainBoard Member

    3,310
    6,382
    70
    Oh, and while I had a few issues getting my Raspberry Pi and Pi-SPROG 3 running DP smoothly, SPROG worked with me to get it all sorted out (and I learned a lot in the process, all good). I am very happy with the setup now.

    So, yes, I like Raspberry Pi, and a little of the jam now and again, to spice things up.
     
    okane likes this.
  8. Massey

    Massey TrainBoard Member

    2,023
    6,559
    58
    So I have already converted the box to digitrax. It’s not as slick as I need a UR92 for the wireless that was built into the DR5000, but it works perfectly. I was running trains for a while and was adjusting all the settings of my TCS decoder. I like the features on this decoder and I think it will work for my HB-E300 loco with the correct lighting too!

    I’m gonna keep the DR5000 around for now and see what can be seen. If it is a faulty unit and I get a new one, it’s simply a matter of building a new top deck for the box and I will be golden again. Hell, I have leftover parts I may just buy another box and make another unit all together. I want to build something out of my dual monitor RPi 4... do we really need dual monitors for our trains... ok I need to derail those thoughts or I will end up figuring out a way to make that happen.
     
    okane and BigJake like this.
  9. Massey

    Massey TrainBoard Member

    2,023
    6,559
    58
    After talking with Iron Planet Hobbies, I was able to get the DR5000 to play nice with Windows 10, but still no joy with the Linux machines in my house. I mainly want this to operate on a Raspberry Pi as you all know, and while I got the settings all good so the Pi sees the DR5000 as a com port, nothing seems to happen when I try to use JMRI to talk to it.

    I am thinking this may be a driver issue, and the Pi is not formatting the data in a way the DR5000 can understand. I see activity from the USB lights on the DR5000 when I send a command through the JMRI, but there is no response from the DR5000. Any ideas on this from anyone out there?
     
  10. Sumner

    Sumner TrainBoard Member

    2,845
    5,996
    63
    Just going on memory (not good) in JRMI's settings and preference area you have to tell it which command station you are talking to. Have you done that? If I remember right two entries have to be made in that area,

    Sumner
     
  11. Massey

    Massey TrainBoard Member

    2,023
    6,559
    58

    Yup and on the windows computer it likes locobuffer-USB and DCS100

    I have tried every Digitrax command station on Linux and Locobuffer USB, Locobuffer II, PR3, PR4, and no joy from any. But each setting will still give me a blink on the USB light when I try a command.
     
  12. BigJake

    BigJake TrainBoard Member

    3,310
    6,382
    70
    I found this on the interweb using a google search "linux jmri dr5000"

    https://sites.google.com/site/sidloweb/jmri/dr5000

    The native site is in Czech, so it uses google translate.

    Note that images of the JMRI dialogs have labels in Czech and are not translated. But there is a table that seems to show the necessary information translated into English.

    Your system's device name may be different, but it is a pulldown list pick.
     
  13. Sumner

    Sumner TrainBoard Member

    2,845
    5,996
    63
    Have you also gone to the following screen...

    [​IMG]

    So even though it isn't a Digitrax product you fill ....

    [​IMG]

    ... the boxes in as if it is? Is the DR5000 the same as the DCS100 (Chief)?

    Isn't that the reason the correct command station needs to be identified,

    Sumner
     
    Last edited: Feb 5, 2021
  14. BigJake

    BigJake TrainBoard Member

    3,310
    6,382
    70
    The DR5000 can run Loconet, and is able to emulate the USB interface of a Loco Buffer & DCS100.
     
  15. Massey

    Massey TrainBoard Member

    2,023
    6,559
    58
    OK so I think I found the root of my issues with the DR5000. After talking to Iron Planet Hobbies, I was able to do everything I tried before but I had no idea why things were working... At least on Windows. Well this last time I was using a USB cable that I had laying around instead of the one that was shipped with the unit. Just last night I needed to use a portable DVD drive, and I needed the same type of USB cable. The easiest one to grab this time was the one that came with the DR5000. The DVD drive would not work. It was flipping out trying to access the disk in the drive. This DVD drive has always been spot on. So I tried a different USB port, same deal... I eventually got a different cable and the drive worked perfectly, just as it always has. It appears that my issues all along was a faulty USB cable. That cable has now been filed away in the never use again bin.

    It still doesn't like talking to Linux, which is fine, I am using the Digitrax in the briefcase, and the DR5000 will run my home layout once I build it again.
     
    Sumner likes this.

Share This Page