Це відео не доступне.
Перепрошуємо.

How To Run DCC++ & JMRI On A Raspberry Pi With Your Cell Phone

Поділитися
Вставка
  • Опубліковано 18 сер 2024
  • In this video I'm going to show you How To Run DCC++ & JMRI On A Raspberry Pi With Your Cell Phone. It may sound complicated but I'll walk you through all the steps required to get you up and running with a DCC++ system very cheaply.
    There have been numerous videos on using JMRI with DCC and the Sprog Pi which will still run you nearly $200. The method in this video can cost as little as $75 total for all the components. Cheaper if you purchase generic versions of the components.
    There are two different methods described on the Raspberry Pi Web Site to install the operating system. I show you the easiest way to install the operating system on the Raspberry Pi B+. At the end of the video I reveal which version I think is the easiest and quickest to install.
    I'll have another shorter video showing you the alternate method of installing the operating system on a Raspberry Pi soon.
    Links Discussed In This Video:
    www.raspberryp...
    www.sdcard.org...
    www.7-zip.org/...
    www.balena.io/...
    S U P P O R T THIS C H A N N E L
    LOCALS: trainofthought...
    Rumble: rumble.com/c/T...
    Amazon Link:www.amazon.com...
    PayPal : paypal.me/toms...
    Membership:
    / @tomstrainsandthings
    Music on all videos from Epidemic Sound. Get One Month Free when you subscribe through this link. Here is a short playlist
    share.epidemic...
    CONTACT INFORMATION:
    workbenchwednesday@gmail.com
    tomstrainsandthings@gmail.com
    tomstrainofthou...
    #tomstrainofthought
    #structurekits
    #floridatrainshows
    Disclaimers: all opinions are my own, sponsors are acknowledge.
    Intended for viewers over the age of 14

КОМЕНТАРІ • 99

  • @mstevetodd
    @mstevetodd 5 років тому +10

    Excellent video, Tom. I appreciate that you edit out the wait time from the lengthy processes. As mentioned, I do have a preconfigured image with JMRI preloaded, and with logic to autoidentify various hardware (including DCC++). It also sets up the RPi as an access point. More info here: mstevetodd.com/rpi

    • @TomsTrainsandThings
      @TomsTrainsandThings  5 років тому +2

      Thanks for the link Steve. I appreciate your input on this subject.This will help other modelers interested in cost effective ways to run their trains. Yes, there was a lot of wait time here. I just stopped recording and came back later. One time I was lucky enough to come back at about 97% to catch the tail end of the process. The magic of editing. I may be asking you for some help in the future.

  • @jlwii2000
    @jlwii2000 5 років тому +2

    Good job Tom. I haven't messed with Raspberry Pi yet so this gave me a grasp of everything.

  • @ninogoyos
    @ninogoyos 5 років тому +3

    Thanks Tom to share your knowledge. I’ve set up all you explain here, and runs perfectly. It’s a beauty. Please keep going with more projects.

  • @tedansley
    @tedansley 2 роки тому

    The raspberry PI IS A COMPTER! A full-fledged computer really. I have an 8GB Overclocked Raspberry PI 4 running Ubuntu Mate and it is a great desktop computer, and as fast as an older Intel I5. It's just a mini computer, sort of how a modern cell phone is a mini computer.

    • @TomsTrainsandThings
      @TomsTrainsandThings  2 роки тому +1

      Although it's a mini computer, it doesn't have the programs I need. Just using it with JMRI. Since this video I upgraded to the RasPi 4

    • @tedansley
      @tedansley 2 роки тому

      @@TomsTrainsandThings It depends, pretty much everything I need, with the exception of a few hobby type programs is on my Raspberry PI4 desktop. It's an 8gb model, boots from M.2 SSD in one of the USB 3 ports, has 4k video. I put it in a mini-tower case with a big CPU fan and 2nd case fan. Overclocked to about 2 3 Ghz and keeps super cool. Benchmarks as fast as an older I5, I can run most anything on it very fast. Most major desktop software runs on it. I also run Ubuntu Mate as 64 bit OS. The total cost was about $190 with the SSD.

    • @Devillin
      @Devillin 4 місяці тому

      @@TomsTrainsandThings I know this is an old video, but which Raspi 4 would you recommend? 2GB, 4GB, or 8GB?

  • @tomcarr1050
    @tomcarr1050 5 років тому +1

    Nice Tom...This is the best explanation of how to use raspberry pi and JMRI that I have seen...Thank You for the how to Tom

  • @brucewoods9377
    @brucewoods9377 3 роки тому

    Bloody great video. Just what I was looking for, short, clear and straight forward, easy to understand . I have set up my DCC++ now to link it with my Raspberry Pi. Keep up the great work Tom 👍👍👍🇦🇺

    • @TomsTrainsandThings
      @TomsTrainsandThings  3 роки тому +1

      Thanks for the kind words Bruce. You'll enjoy the portability of the RasPi.

    • @brucewoods9377
      @brucewoods9377 3 роки тому

      @@TomsTrainsandThings Done it! My Ras Pi and DCC++ is now fully functioning and using my iPad to control the throttle thanks to this video of yours. Extremely great instructions, all went together soooo simply

  • @JoeG-firehousewhiskey
    @JoeG-firehousewhiskey 5 років тому

    wow, this is AWESOME! Im going to try this, once i figure out some of the other issues that came up when I was trying to download the sketch into my DCC++ system. Thanks for your help again!

  • @stewartdavis8618
    @stewartdavis8618 5 років тому +1

    Great video Tom, I am just doing the same and it was great to just confirm what I had done.
    If you go to Steve Todds site he has an image that which combines Rasbian and jmri so it boots up straight away with images

  • @BillyTT120
    @BillyTT120 3 роки тому +1

    This is amazing Tom, do you have a video on how to wire the DC++ into a larger layout and how the power is managed? Thanks for the in depth walk through, I think you’ve saved me about £300 Sterling!

    • @TomsTrainsandThings
      @TomsTrainsandThings  3 роки тому +1

      Thanks Richard. DCC++ can be wired the same as DCC. The only issue is the max amperage is limited in the DCC++. You can use basically the same components and go with DCC-EX which is an updated version of the original which has never been upgraded since it's creation about 7 years ago. DCC-EX is constantly being improved by a team of dedicated model railroaders that feed off of users suggestions.
      dcc-ex.com/
      You may find some useful informationon wiring and other subjects related to DCC here:
      ua-cam.com/play/PLjjhnrIKSTShk5Wu8uIgxfBYxhSbxHSrD.html

    • @BillyTT120
      @BillyTT120 3 роки тому +1

      @@TomsTrainsandThings hey 👋 thanks for the detailed reply, I’ll look into it. Great content by the way.

  • @tedansley
    @tedansley 2 роки тому

    You should have bought a $5 case for the PI, and some heatsinks that are dirt cheap. A kit is good, becasue it can include a case, power supply, heat sinks, and an SD card with Noobs installed. They are very inexpensive. I recommend this for newbies.

  • @johnprater9522
    @johnprater9522 2 роки тому

    great video...works well... just a quick question.....if you have a larger layout...how do you add more power supplies for smooth track operation

    • @TomsTrainsandThings
      @TomsTrainsandThings  2 роки тому

      You can use a motor shield wid with a higher amperage such as a Pololu. Adding more feeders from your bus line will help. You can run your bus approximatelyy 20 ft out in each direction as long as the bus is of sufficient size.
      The newer DCC++EX has more motor shields available with higher amperage than the original DCC++

  • @gapadad2
    @gapadad2 5 років тому

    At 8:10 you say you don't need the Ethernet cable. But you do or you need wifi working and thats a large file for wireless. Great Video though. I have an NCE but I want to control other things via DCC++ like turn outs and light and animation.

    • @TomsTrainsandThings
      @TomsTrainsandThings  5 років тому

      Luke, all the files were already on the SD card, the wait time during the video was the files being uncompressed and installed in the RPI. My first RPI didn't have Wifi so it was just out of habit that I connected the Ethernet cable. You can see me reference this at 1:59. The RPI is much slower than a conventional computer so the process of uncompressing or any other task takes longer. To run everything you state from DCC++ you'd be better off using a Mega instead of the Uno that I used in this video. The Mega has more Inputs & outputs and more memory to work with.

  • @arthurhouston3
    @arthurhouston3 5 років тому

    Going to put this video in with mine on playlist on arthurhouston3 Wifi Channel playlist.

    • @TomsTrainsandThings
      @TomsTrainsandThings  5 років тому

      Thank you for adding the video to your playlist, you have some good videos in there. Thank you for subscribing also.

  • @matthewtouma2781
    @matthewtouma2781 2 роки тому

    Great video Tom. What Loco were you using for the demo?

    • @TomsTrainsandThings
      @TomsTrainsandThings  2 роки тому

      It's a Bachman Switcher. You can see it at 2:22

    • @matthewtouma2781
      @matthewtouma2781 2 роки тому

      @@TomsTrainsandThings I knew it sounded familiar! I have the same one 👍

  • @xbleriot
    @xbleriot 4 роки тому

    Very nice and clear.....super tutorial, thanks
    What voltage do you set up your power supply? Is it n scale?

    • @TomsTrainsandThings
      @TomsTrainsandThings  4 роки тому +1

      Thank you. My power supply is set to 18 VDC which gives an approximate DCC signal of about 15V.
      My layout is HO Scale.

    • @xbleriot
      @xbleriot 4 роки тому +1

      @@TomsTrainsandThings so I guess I should set it to 15V for N scale then.....

    • @TomsTrainsandThings
      @TomsTrainsandThings  4 роки тому

      Check you decoder documentation to see if there is a maximum voltage allowed. Some decoders have that figure listed.

  • @farmerdave7965
    @farmerdave7965 4 роки тому

    I have a raspberry pi with a sprog attached to it to generate rail sync.

  • @stevencilento9819
    @stevencilento9819 2 роки тому

    This is great Tom, but I have one question, you had your command (power) station, powering the track, and the Raspberry Pi controlling the train on the track at the same time, is there any connect between command station and the Pi.?

    • @TomsTrainsandThings
      @TomsTrainsandThings  2 роки тому

      The RasPi is connected to the Arduino through a USB cable. All it is is a mini computer wiith JMRI installed. Engine driver has been updated since then and DCC++ has an updated version which is much better that Model railroaders have completely rebuilt the original. It's DCC++EX, which have much more features and allows built in Wifi.
      Web site with download and instructions:
      dcc-ex.com/
      Discord Server where you can talk with the developers or other users, if you have questions or suggestions: discord.gg/5vUrtDZP

  • @jeffjohnston731
    @jeffjohnston731 3 роки тому

    Great Video. Where do I buy a DCC++ Station for a Raspberry PI or is there some way to hook up an Arduino motor shield to a Pi?

    • @TomsTrainsandThings
      @TomsTrainsandThings  3 роки тому +2

      You can find more information in my other videos on DCC++. Since then, there is a better version DCC++EX which is more powerful, more motor shields, & more wifi options. On their web site, you can find out more. There is also fully automatic installation package for Engine Driver by M. Steve Todd which makes installing everything on the PI completely configured for JMRI, Engine Driver and now the wifi enabled.
      dcc-ex.com/

  • @trentglass1972
    @trentglass1972 5 років тому +1

    The JMRI will work using a regular Desktop and the DCC++ basestation right? I only ask because I don't want to buy more parts and the JMRI found my app name and probably works the same way

    • @TomsTrainsandThings
      @TomsTrainsandThings  5 років тому

      JMRI will work on any computer, even a Raspi. Windows, Apple,and Linux. You can read about it on the JMRI web site.

  • @stairguy-ey9bk
    @stairguy-ey9bk 13 днів тому

    Hi Tom. what are you using for your command station here with the Raspberry Pi?

  • @NorthStarRailfan
    @NorthStarRailfan 8 місяців тому

    Do you need the DCC++ base station or can you use just the Raspberry Pi?

    • @TomsTrainsandThings
      @TomsTrainsandThings  8 місяців тому

      Raspi is just a mini computer. DCC++ is outdated with limited options. You should look into DCC-EX which has many additional features not found in the original version. dcc-ex.com/#

  • @troysimpson9550
    @troysimpson9550 5 років тому

    Thanks Tom for showing us this system, I got a question however, with the Rasp Pi and a sprong set up there is a way to not have a keyboard and monitor hooked up and be able to Boot directly into JRMI with the WiFi up, so the you can put this system onto the layout. (nice for portable layouts you take to shows or clubs), Can this also be done with this set up?? If so perhaps show us in other Video. (perhaps on of your Q&A videos) Appreciate all the work and info you put into your channel. THANKS!!

    • @TomsTrainsandThings
      @TomsTrainsandThings  5 років тому

      Troy, have never worked with the sprog but watched a few videos on it. Are you able to program your locos or do anything else besides run your locomotives? Have only seen the use of a wireless throttle. With the Pi & DCC++ through VNC you can use a tablet or any other device to operate anything on the Raspberry Pi.

    • @troysimpson9550
      @troysimpson9550 5 років тому

      i Believe just run trains or what ever the wifi throttle will let u do. SO they idea is is that from a cold boot it starts Jrmi and Wifi Thottle and u run trains, if u what to do more plug in the screen and a keyboard and do your programming.

    • @mstevetodd
      @mstevetodd 5 років тому +2

      Troy, we have exactly that for our modular club. An RPi mounted in our electronics box that starts up with main power, serving as a wifi access point. Club members can simply connect their phones and run trains within a minute or so.
      For decoder programming, one of us usually brings a laptop, which we connect to the RPi to run JMRI remotely through the RPi with all the bells and whistles.

    • @TomsTrainsandThings
      @TomsTrainsandThings  5 років тому

      @@troysimpson9550 Thanks, I'll have to look into the Sprog a little more.

    • @TomsTrainsandThings
      @TomsTrainsandThings  5 років тому

      @@mstevetodd Thanks for chiming in Steve. Good to hear this method is being used at clubs.

  • @Wizzard033
    @Wizzard033 Рік тому

    i have three raspberry Pis but i have no idea where to get a station that's compatible and not $200

  • @Trains-With-Shane
    @Trains-With-Shane 2 роки тому

    Pretty cool setup, Tom. Do you prefer this type of setup or using DCC++EX with a WiFi shield directly on the Arduino? Trading features for simplicity? I've got a few spare motor shields and Arduinos and was considering trying this Raspberry Pi install as i'm waiting on some WiFi shields to ship from Robot Shop.

    • @TomsTrainsandThings
      @TomsTrainsandThings  2 роки тому

      When I made this video DCC++EX was not yet ready for prime time. I als did a video on DCC++EX with the WiFi Shield when the first introduced it. Waiting on more improvements before I build it for my layout

    • @Trains-With-Shane
      @Trains-With-Shane 2 роки тому

      @@TomsTrainsandThings So currently you're running with the standard DCC++ and controlling it with JMRI? Think i'll try it anyway. I've got a spare Pi2 and I think a Pi3 kicking around somewhere.

    • @tedansley
      @tedansley 2 роки тому

      @@Trains-With-Shane FYI DCC++ version 4.0 is out and it is full featured now, from what I'v gathered it's very good. I'm actually building mine now, waiting for a few parts. I've used JMRI in the past with my NCE Powercan and USB adapter board and it worked well. I will use it this time with a Raspberry PI 4 (hard to get right now) which is much better than a Raspberry PI 3. I already own two so that's easy for me. I bought a stackable case that will hold the Arduino, motor shield, and PI all together for a very compact setup. I this setup is a winner, can't wait to really use it extensively.

  • @loco82
    @loco82 4 роки тому

    Great videos
    Just went to order my bits for making my own dcc++ but notice there is a audrino board with WiFi built it. Is this a new that you use to control your trains wirelessly with an android phone or is there more to it and you have to use the raspberry pi?
    Kind regards Dan

    • @TomsTrainsandThings
      @TomsTrainsandThings  4 роки тому +1

      DCC++ was developed before the Uno Wifi came out. There have been no updates from the original version. The use of a cell phone is accomplished through the use of JMRI with either a computer or Raspberry Pi.
      In the Trainboard forum, other modelers are making improvements to the original code. You may want to look into that.

    • @loco82
      @loco82 4 роки тому

      @@TomsTrainsandThings Hi there
      OK I will have a look on their, thank you for your reply.
      Kind regards Dan

  • @xbleriot
    @xbleriot 3 роки тому

    Great video Tom....
    I just re-installed the latest Pi OS on my Raspberry pi3+ and then followed your instruction to install JMRI (4.2)...
    However, when I click on PanelPro or DecoderPro (click on "Execute")...nothing happens !!!
    Would you know why ? (by the way, I'm trying for now without the DCC++ basestation attached to the Raspberry)

  • @nesr8786
    @nesr8786 5 років тому

    Hi Tom Great presentation ,when did you become a mind reader buddy ? i ordered a rasp pi and a hdmi monitor earlier today ,as i am going to do the very thing your have just disgust. the 7" touchscreen is only about $35 from Ebay and ras pi 2 about $40 ,hope this helps ,take care all , John

    • @TomsTrainsandThings
      @TomsTrainsandThings  5 років тому

      Thanks John. I've been wanting to do this video for about a couple of months now but just didn't have enough time to put it together. It took about a week of filming between other projects but I finally got it out. I've been thinking about the touch screen but 7 inches may be a little too small for me. I struggle with a 17" screen now. lol

    • @nesr8786
      @nesr8786 5 років тому

      i thought the screen would be a bit small too ,but i have a portable dvd system with same size screen and works out perfect ,just need a prescription lens for the screen now lol, i like where you are going with the hobby ,keep em coming ,Take care ,John

    • @TomsTrainsandThings
      @TomsTrainsandThings  5 років тому

      My tablet is 10" and that seems to be the smallest I can see comfortably. I have to figure out how to use my tablet as a monitor.

    • @nesr8786
      @nesr8786 5 років тому

      just connect your tablet to the ras pi via wireless ,

  • @MMRails
    @MMRails 5 років тому +1

    Interesting. You did know I was going to make a Raspberry Pie joke right? For example, how sticky were your fingers after using the RP? -Mark

    • @TomsTrainsandThings
      @TomsTrainsandThings  5 років тому +3

      I was counting on it. What took you so long? My sweet tooth got the best of me and I ate the project. Had to buy a second one to finish the video.

  • @abdullahabu1252
    @abdullahabu1252 5 років тому

    Good day, Toms,
    I would like to ask you how I can cancel or remove the address code from the Digitrax s51

    • @TomsTrainsandThings
      @TomsTrainsandThings  5 років тому

      You can see how to use the DCS 51 on this video:
      ua-cam.com/video/34FbDTlh-s0/v-deo.html

  • @funcraft3605
    @funcraft3605 4 роки тому

    Now how can I add the pca9685 to this?

    • @TomsTrainsandThings
      @TomsTrainsandThings  4 роки тому

      You would be better off using a second Arduino for this. These micro controllers are capable of operating only one task at a time. There would be some delays if you group too many tasks together on one device.

  • @PyroRob69
    @PyroRob69 Рік тому

    I know this video is 4+ years old, but have you done any videos on using linux for most all of the control, etc? You still seem to use a lot of Windows. I have no Winduhs anything any more. Got tired of the viruses, exploits, etc.

    • @TomsTrainsandThings
      @TomsTrainsandThings  Рік тому +1

      Do not have any videos on Linux. It shouldn't be too hard since both the Pi and JMRI have Linux versions, You may find someone to help you out on the DCC-EX Discord
      discord.gg/zUB4JF9A

    • @PyroRob69
      @PyroRob69 Рік тому

      @@TomsTrainsandThings Yep, I know all about the Pi's. I have a dozen of them around. It's just that my desktop and laptop are both linux. I used to keep a Windows 7 VM around for times when I needed Windows but I think I finally deleted it because I didn't use it very much.
      Thanks for your videos!

  • @robertschworm6036
    @robertschworm6036 5 років тому

    Hi, I found that Etcher is 64 bit while my pc is vista with 32 bit. So I had to use win32 imager.
    bob

    • @TomsTrainsandThings
      @TomsTrainsandThings  5 років тому

      That should work as well. Didn't realize vista was still being used. My XP computer just bit the dust last year.

    • @Xenthera
      @Xenthera 5 років тому

      You should really update. Support for Vista ended long ago. Windows 7 is about to eat the dust too

  • @rajeshdesai3801
    @rajeshdesai3801 4 роки тому

    I am beginners i need help still i need uno and raspberry both or only raspberry can run my locomotives

    • @TomsTrainsandThings
      @TomsTrainsandThings  4 роки тому +1

      You need the Uno and a motor shield to create the DCC signal. RasPi or Computer will do to run JMRI

    • @rajeshdesai3801
      @rajeshdesai3801 4 роки тому

      @@TomsTrainsandThings , Thank u so much

  • @brucewoods9377
    @brucewoods9377 3 роки тому

    There is no train driver for an iPhone 😢

    • @TomsTrainsandThings
      @TomsTrainsandThings  3 роки тому +1

      Not according to JMRI!
      www.jmri.org/help/en/package/jmri/jmrit/withrottle/UserInterface.shtml

    • @brucewoods9377
      @brucewoods9377 3 роки тому +1

      @@TomsTrainsandThings found it Thank you very much

  • @mattlestat2703
    @mattlestat2703 4 роки тому

    What is the point of the Raspberry pi just use jrmi on computer with phone .

    • @TomsTrainsandThings
      @TomsTrainsandThings  4 роки тому +2

      For those that don't have a computer in the train room.
      Don't want to put a computer in the train room.
      Those that can't afford a second computer
      Portability, compactness.
      Take a module to a train show
      Takes up less space