Тёмный

Building a DCC-EX Command Station for My Model Railroad 

White River Line
Подписаться 4,6 тыс.
Просмотров 12 тыс.
50% 1

I’m adding DCC to my layout using DCC-EX and JMRI running on a Raspberry Pi. In my last video, I installed a SoundTraxx decoder in my locomotive and now it’s time to get the layout upgraded so I can actually run the locomotive.
You can follow me on Instagram and Facebook @WhiteRiverLine for more photos and announcements
/ whiteriverline
/ whiteriverline
My Amazon Wishlist
www.amazon.com/registries/cus...
My Merch
white-river-line.myspreadshop...
- Vendors -----------------------------------------------------------------
Arduino - www.arduino.cc/
Raspberry Pi - www.raspberrypi.org/
- Products -----------------------------------------------------------------
Arduino Mega - amzn.to/42NIvXr
Arduino Motor Shield - amzn.to/44WsekP
Raspberry Pi 4B - www.microcenter.com/product/6...
Barrel Connector - amzn.to/3LRxq0K
Motor Shield Power Supply -amzn.to/42vafjT
Arduino Power Supply - amzn.to/44WsRLd
*Note that the Arduino does not need a separate power supply when connected via USB to a computer running JMRI if it only running DCC-EX and does not control other electronics.
- Resources -----------------------------------------------------------------
DCC-EX Install Guide - dcc-ex.com/ex-commandstation/...
JMRI on a Raspberry Pi - www.jmri.org/install/Raspbian...
------------------------------------------------------------------
Shot on Canon EOS 5D Mark - III www.usa.canon.com/
Edited with Davinci Resolve - www.blackmagicdesign.com/prod...

Хобби

Опубликовано:

 

11 май 2023

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 58   
@jamessinger1086
@jamessinger1086 6 месяцев назад
Saw your video using servos and one suggestion. I don't use servos with fixed (programmed) positions. I use pots to control the position of the servo for straight and one for divergent. You use the map command: position = analogRead (potS); position = map(position, 0, 1023, 0, 90);. also I use a small relay to control the frog. Ditch the UNO and check into the ATTINY chips. You can use the 85 chip or if more pins are needed use the 24. $1.50 each.
@lucgagnon5241
@lucgagnon5241 Год назад
Hi Drew, thanks to share this video with us. You're a smart guy doing this that easily. Like the way you tracks turned out with all the different shades of colors. Keep on your good work. I can wait to see that wood caboose project ending too.
@WhiteRiverLine
@WhiteRiverLine Год назад
Thanks Luc. The variation in the shades of the ties are a really nice benefit of hand laying track.
@lucgagnon5241
@lucgagnon5241 Год назад
@@WhiteRiverLine I mostly like the way you're doing things. Laying handlaid tracks is something I would like to do one day. It's not because I can't but because I doubt the "resistance et la durabilité" of those tracks. I trust flextracks more because it can move easily, dilate or retract without breaking or desaligned. If I go for it (I already have a 28 x 60 inches module), I will be working with code 55 tracks. And the fact that you're modeling steam era is to my eyes very interesting. That's also why I'm modeling the 70' and 80's. Modern engines and rolling stock is not interesting for me. Too big and lack of details ! Keep on your good work Drew !
@donaldkormos5529
@donaldkormos5529 Год назад
Been using the original DCC++ ... and the latest DCC-EX ... successfully for many years. Works very well with JMRI and Engine Driver. Using a hand-held R1 Bluetooth game controller with Engine Driver, you can have a simple but useful wireless throttle for less than $10.
@WhiteRiverLine
@WhiteRiverLine Год назад
I'll probably look into using some sort of dedicated throttle at some point, but the iPhone app seems to work pretty well.
@AlwaysCensored-xp1be
@AlwaysCensored-xp1be 5 месяцев назад
Thanks for the tip, looks like a great controller.
@rinjk3a
@rinjk3a Год назад
With DCCEX you don't need a toggle switch for the program track anymore, in the DCC++ command line in JMRI. It will use the mainline power to run into the program track then send a program to the program track and it will send the command like it is a separate program track, then use your throttle and drive away.
@WhiteRiverLine
@WhiteRiverLine Год назад
Yes, I saw that in the DCC-EX documentation and considered that as method for a dual purpose portion of track. It also states "Any other power command turns it off" which I take to mean that when I turn off track power and then turn it back on the programming track will no longer be joined to the main. So, I would need some method to rejoin programming to main. I suppose this could be scripted or otherwise automated. For me, I think have a physical switch will be the better way to go. However I am certainly open to other ideas.
@docnielsen
@docnielsen 9 месяцев назад
@@WhiteRiverLine - Turn power to all tracks on. RETURNS: - Turn power to all tracks off. RETURNS: - Turns on power just to the MAIN track. RETURNS: - Turns off power just to the PROG track. RETURNS: - Joins both tracks together to be both MAIN (ops) tracks. Any other power command turns it off. RETURNS: So we just send to use as normal track, and send to use as prog track.
@williambutler9609
@williambutler9609 11 месяцев назад
i like your idea of using one of the engine service tracks for a programing track and will be doing that on my layout also.
@manshedrailroad
@manshedrailroad Год назад
Great job Drew!
@WhiteRiverLine
@WhiteRiverLine Год назад
Thanks, Aaron
@alainfrenois33480
@alainfrenois33480 Год назад
Hello from France superb tutorial what a magnificent achievement you have made with this Arduino for the realization of a DCC central I thank you for this wonderful transfer of knowledge I wish you a very good day
@WhiteRiverLine
@WhiteRiverLine Год назад
Thank you very much, Alain. Glad you found it helpful.
@johnbanicki7232
@johnbanicki7232 Год назад
Great video. Thanks for sharing.
@WhiteRiverLine
@WhiteRiverLine Год назад
As always, thanks, John.
@FunWithHOScaleStuff
@FunWithHOScaleStuff Год назад
Very interesting presentation. Thanks.
@WhiteRiverLine
@WhiteRiverLine Год назад
Thanks for watching!
@paulc1964
@paulc1964 Год назад
Great episode you did well I use JMRI for programming decoders and find it pretty good although difficult function mapping loksound decoders
@WhiteRiverLine
@WhiteRiverLine Год назад
Thanks, Paul. I'm just getting started with it and haven't really done much customization yet.
@derailroad
@derailroad Год назад
great video Drew
@WhiteRiverLine
@WhiteRiverLine Год назад
Thank you
@NathanielKempson
@NathanielKempson Год назад
Been using the same control system myself. Its great! A little fussy sometimes (i think im overloading the system a little bit but it still works fine so im not too worried yet XD ) Being able to drive from literally anywhere in my apartment is so cool
@WhiteRiverLine
@WhiteRiverLine Год назад
I've already noticed a little fussiness, but nothing too bad. I suppose that is the nature of DIY systems like this though.
@KenN.OXN.805
@KenN.OXN.805 Год назад
⁠@@WhiteRiverLine and @NathanielKempson can you two describe what “fussiness you’ve encountered with dcc++ex?
@NathanielKempson
@NathanielKempson Год назад
@@KenN.OXN.805 For me it seems VERY sensitive to short circuits, so much that when I run my illuminated pullman set it sometimes trips the system, but not enough to shut it all down.....like a micro short circuit. Its really weird. And also, im cranking too much power through it and asking it to do too much really! The whole layout and some 20 odd points/turnouts aswell. So it gets a little hot, so i stuck a small heat sink on it and a USB powered fan to keep it happy. Occasionally when powering the layout up, the turnout decoders draw so much power all at once it trips out and I have to turn it off and on again untill its stable and not shouting at me about overloads. then it runs fine. I will be clear, this is MY FAULT, im sending too much power through it and asking it to crank ALL those point decoders and power them up all at once, thats my bad. Before I ran the point decoders it didnt do any of these things at all.
@McCavity2
@McCavity2 6 месяцев назад
4:41 Actually, getting the DCC-EX automated installer to run on MacOS isn’t that difficult - it‘s just a bit awkward that they made it an application to run in the Terminal and not one you can simply double-click. To run it after downloading (assuming that „Downloads“ in your home directory is your download folder; if not, you‘ll have to modify the path for the „cd“ command in the following example), just open the „Terminal“ application (or an equivalent; I prefer iTerm) and then at the command line type or copy-paste from here (without the quotes!): „cd Downloads; chmod +x EX-Installer-macOS; ./EX-Installer-macOS“ and the installer window should pop up.
@stoobieman
@stoobieman 11 месяцев назад
NO idea whats going on, enjoyed it nonetheless! Beautifully weathered loco btw.
@WhiteRiverLine
@WhiteRiverLine 11 месяцев назад
LOL, glad you enjoyed it. And thanks for the complements on my loco.
@chadportenga7858
@chadportenga7858 5 месяцев назад
I'm confused - why are you using both an Arduino AND a Raspberry Pi? Can't everything be run thru one or the other?
@mikeseba7817
@mikeseba7817 Год назад
👍👍👍
@WhiteRiverLine
@WhiteRiverLine Год назад
Thanks, Mike.
@deeprunrailroad_Mike
@deeprunrailroad_Mike Год назад
Great timing for me on this video. I saw an IOTT clip that was using DCCEX to support his Engine speed matching kit. I needed to know if you still needed to clip the power trace on the motor shield. Thanks. I noticed something I wanted to ask about with your crimps on the programing track terminal connections. The lugs I got off AZ only have a barrel to crimp to that is very close to the terminal. If I was to crimp on the back of the barrel like yours it would catch the insulation but not the wire. Just wanted to point that out incase it helps. I ran DCC++ a few years ago to get started and it worked great.
@WhiteRiverLine
@WhiteRiverLine Год назад
Glad the video was helpful. Regarding the crimps, I suspect I've got the same thing going on, that the crimp is only on the insulation, but it can be hard to tell for sure. I've considered adding a tiny bit of solder to them for some insurance. They are working for now, though, and if it start to be a problem they are easy enough to pull off and repair.
@deeprunrailroad_Mike
@deeprunrailroad_Mike Год назад
@@WhiteRiverLine Sounds good. I'm enjoying your efforts. Thanks.
@carlsonrobb
@carlsonrobb Год назад
You gotta be the smartest guy in the world.
@WhiteRiverLine
@WhiteRiverLine Год назад
LOL, I do alright.
@jhoodfysh
@jhoodfysh Год назад
Gratz on getting things setup Drew. What is your level of electronics experience?
@WhiteRiverLine
@WhiteRiverLine Год назад
I don't have much experience with electronics, but I'm pretty technically minded. So, I have some good confidence in my ability to learn what I don't know, mostly.
@petercane6376
@petercane6376 9 месяцев назад
I like the concept and want to have a go. What does the Rasberry Pi unit do? Cheers
@WhiteRiverLine
@WhiteRiverLine 9 месяцев назад
It runs JMRI, which programs the locos and acts as a throttle.
@glnorrisjr
@glnorrisjr 3 месяца назад
Curious about your screwdriver setup. Who is the manufacturer
@joechan8231
@joechan8231 9 месяцев назад
Do I need to install the decoder into my locomotive if I use your dcc-ex train system?
@danielbardiaux8343
@danielbardiaux8343 7 месяцев назад
What is the version of your raspberry PI
@centeroftheearthmining4095
@centeroftheearthmining4095 Год назад
What made you go this route over a conventional dcc set up?
@WhiteRiverLine
@WhiteRiverLine Год назад
Cost was a big factor. The hardware cost me about $100. I also really like DIY projects. It's more fun to me to build my own stuff than just buy stuff off the shelf.
@sevenellis410
@sevenellis410 Год назад
What gauge wires are you using from the motor shield to the connector for the 12v power supply?
@WhiteRiverLine
@WhiteRiverLine Год назад
It is 16 which is the largest the terminals on the motor shield will accommodate. Even then it is a tight fit.
@sevenellis410
@sevenellis410 Год назад
@@WhiteRiverLine I used some 14. It was the exact size of the terminals but when I power my motor shield with the 12v power, it disconnects the Arduino from the computer and the Mac states “unplug the device using too much power to reconnect usb device” something of that nature. Without that power I don’t get enough juice to power the DCC signal so the loco just sits with the light on making a humming sound and no controls works. Have you ran into this issue?
@WhiteRiverLine
@WhiteRiverLine Год назад
@@sevenellis410, I haven't run into that issue. You definitely need the 12v power supply. USB from most computers is 5v at .05 amps. Not enough to power DCC. The Arduino is also 5v, the amperage would depend on the power supply used. This is why the motor shield is necessary, it can supply adequate power to your layout. I am not a DCC-EX expert, this is the first time using it or DCC of any type, so take my advice for what it is worth. First, I recommend verifying that the Vin Connect trace on the motor shield is cut using a multimeter. Second, you might want to check your tracks for a short. Hope this is helpful. DCC-EX provides some other resources for getting help on their website and you are likely to get help from someone there that knows more about DCC-EX, dcc-ex.com/support/index.html.
@garycooper9574
@garycooper9574 Год назад
Hey Drew What do you think it costed pre foot to hand lay your track
@WhiteRiverLine
@WhiteRiverLine Год назад
It's about $1.80 to $2 a foot depending on the spacing of the ties. Which is probably about what you'd pay for Atlas and little bit less than Micro Engineering.
@garycooper9574
@garycooper9574 Год назад
Thanks. Hope to see you at one of our club meetings
@WhiteRiverLine
@WhiteRiverLine Год назад
@@garycooper9574 yes, I plan on coming as soon as my schedule calms down.
@southern207hobbies
@southern207hobbies Год назад
You should have kept the wifi for smartphone throttle capabilities
@WhiteRiverLine
@WhiteRiverLine Год назад
I went back and forth on the wifi stuff. There isn't wifi onboard the Arduino Mega and I was always planning on adding JMRI which adds the capability. So, buying a wifi board for the Arduino seemed like a waste.
@jonruehle9186
@jonruehle9186 8 месяцев назад
Lose the music, it is distracting and unnecessary. Otherwise a good video
Далее
НАШЛА У СЕСТРЫ СЕКРЕТИК
00:36
Просмотров 248 тыс.
My Progress So Far On My Model Railroad
23:30
Просмотров 21 тыс.
Hacking a weird TV censoring device
20:59
Просмотров 3 млн
Building a Craftsman Caboose for My Model Railroad
19:58
#4.e - Adding an LCD Display to DCC-EX
27:53
Просмотров 8 тыс.
Платье для богинь на свадьбу
1:00