Has Anyone Built a Computer Controlled Model Railroad
-
@scottalanmiller said in Has Anyone Built a Computer Controlled Model Railroad:
@gjacobse said in Has Anyone Built a Computer Controlled Model Railroad:
Actually it could be done,.. but you would need special tracks and trucks (wheels). The trucks would have dual sets of wheels,.. upper and lower...
T\rying to find an image, ... but haven't yet.
Of course and then it wouldn't be like a train, that's the problem. Roller coasters don't look like trains.
The goal I would think would be to just use the trucks... not the 'cars'. Cars can be whatever you want them to be.
-
@scottalanmiller said in Has Anyone Built a Computer Controlled Model Railroad:
@travisdh1 said in Has Anyone Built a Computer Controlled Model Railroad:
@TAHIN said in Has Anyone Built a Computer Controlled Model Railroad:
Funny you mention this, I was just thinking about it the other day. When I was a kid my dad built a train set on a table (about 8' x 6'). N-scale I believe. All electric that went back to levers and buttons to control switches, train speed, etc.... The legs detached so it could be easily rested up on it's side and stored.
You could rig up something like that to a raspberry pi?
I'd want an Arduino to actually run everything. A Raspberry Pi could run a human interface for it. The big difference in this case is what happens when a power loss or unexpected reboot happens? The Arduino (ATmega328) is going to be back up and running in a second or two, whereas the Pi is going to take a minute or more to boot. Guess which one is going save the set more reliably after that dreaded unexpected reboot
The relays needed to control everything should be industry standard items, so should be very doable.
What makes an RP take so long to boot? Sounds more like a storage problem than a boot problem. An RP should be able to boot in seconds as well.
It's the storage media's horrible throughput. Should they boot in seconds, yes. Do they boot in seconds, no. At least not compared to an Arduino. Remember, and Arduino doesn't "boot", as soon as power comes up it's running.
-
@gjacobse said in Has Anyone Built a Computer Controlled Model Railroad:
@scottalanmiller said in Has Anyone Built a Computer Controlled Model Railroad:
@gjacobse said in Has Anyone Built a Computer Controlled Model Railroad:
Actually it could be done,.. but you would need special tracks and trucks (wheels). The trucks would have dual sets of wheels,.. upper and lower...
T\rying to find an image, ... but haven't yet.
Of course and then it wouldn't be like a train, that's the problem. Roller coasters don't look like trains.
The goal I would think would be to just use the trucks... not the 'cars'. Cars can be whatever you want them to be.
I understand, but those won't grip railroad tracks.
-
@travisdh1 said in Has Anyone Built a Computer Controlled Model Railroad:
@scottalanmiller said in Has Anyone Built a Computer Controlled Model Railroad:
@travisdh1 said in Has Anyone Built a Computer Controlled Model Railroad:
@TAHIN said in Has Anyone Built a Computer Controlled Model Railroad:
Funny you mention this, I was just thinking about it the other day. When I was a kid my dad built a train set on a table (about 8' x 6'). N-scale I believe. All electric that went back to levers and buttons to control switches, train speed, etc.... The legs detached so it could be easily rested up on it's side and stored.
You could rig up something like that to a raspberry pi?
I'd want an Arduino to actually run everything. A Raspberry Pi could run a human interface for it. The big difference in this case is what happens when a power loss or unexpected reboot happens? The Arduino (ATmega328) is going to be back up and running in a second or two, whereas the Pi is going to take a minute or more to boot. Guess which one is going save the set more reliably after that dreaded unexpected reboot
The relays needed to control everything should be industry standard items, so should be very doable.
What makes an RP take so long to boot? Sounds more like a storage problem than a boot problem. An RP should be able to boot in seconds as well.
It's the storage media's horrible throughput. Should they boot in seconds, yes. Do they boot in seconds, no. At least not compared to an Arduino. Remember, and Arduino doesn't "boot", as soon as power comes up it's running.
Doesn't the RP have the same capability? What lets the Arduino do that and not the RP?
-
@scottalanmiller said in Has Anyone Built a Computer Controlled Model Railroad:
@travisdh1 said in Has Anyone Built a Computer Controlled Model Railroad:
@scottalanmiller said in Has Anyone Built a Computer Controlled Model Railroad:
@travisdh1 said in Has Anyone Built a Computer Controlled Model Railroad:
@TAHIN said in Has Anyone Built a Computer Controlled Model Railroad:
Funny you mention this, I was just thinking about it the other day. When I was a kid my dad built a train set on a table (about 8' x 6'). N-scale I believe. All electric that went back to levers and buttons to control switches, train speed, etc.... The legs detached so it could be easily rested up on it's side and stored.
You could rig up something like that to a raspberry pi?
I'd want an Arduino to actually run everything. A Raspberry Pi could run a human interface for it. The big difference in this case is what happens when a power loss or unexpected reboot happens? The Arduino (ATmega328) is going to be back up and running in a second or two, whereas the Pi is going to take a minute or more to boot. Guess which one is going save the set more reliably after that dreaded unexpected reboot
The relays needed to control everything should be industry standard items, so should be very doable.
What makes an RP take so long to boot? Sounds more like a storage problem than a boot problem. An RP should be able to boot in seconds as well.
It's the storage media's horrible throughput. Should they boot in seconds, yes. Do they boot in seconds, no. At least not compared to an Arduino. Remember, and Arduino doesn't "boot", as soon as power comes up it's running.
Doesn't the RP have the same capability? What lets the Arduino do that and not the RP?
The Arduinos are really just an ATmega328 chip. All the memory and storage (what little they have) are on that ATmega328. Everything, on that one chip. You write the C program on a computer, and the precompiled code gets loaded into the firmware on the chip. The RP will always have something to load other than firmware.
-
@travisdh1 No way to write to firmware on the RP?
-
@scottalanmiller said in Has Anyone Built a Computer Controlled Model Railroad:
@travisdh1 No way to write to firmware on the RP?
Not quickly and easily that I know of, while the Arduinos are built on the principle. It's like comparing a PIC to an x86.
-
@travisdh1 said in Has Anyone Built a Computer Controlled Model Railroad:
@scottalanmiller said in Has Anyone Built a Computer Controlled Model Railroad:
@travisdh1 No way to write to firmware on the RP?
Not quickly and easily that I know of, while the Arduinos are built on the principle. It's like comparing a PIC to an x86.
Yeah, but you can make an x86 boot in seconds
-
@scottalanmiller said in Has Anyone Built a Computer Controlled Model Railroad:
@travisdh1 said in Has Anyone Built a Computer Controlled Model Railroad:
@scottalanmiller said in Has Anyone Built a Computer Controlled Model Railroad:
@travisdh1 No way to write to firmware on the RP?
Not quickly and easily that I know of, while the Arduinos are built on the principle. It's like comparing a PIC to an x86.
Yeah, but you can make an x86 boot in seconds
How?
-
@Dashrender said in Has Anyone Built a Computer Controlled Model Railroad:
@scottalanmiller said in Has Anyone Built a Computer Controlled Model Railroad:
@travisdh1 said in Has Anyone Built a Computer Controlled Model Railroad:
@scottalanmiller said in Has Anyone Built a Computer Controlled Model Railroad:
@travisdh1 No way to write to firmware on the RP?
Not quickly and easily that I know of, while the Arduinos are built on the principle. It's like comparing a PIC to an x86.
Yeah, but you can make an x86 boot in seconds
How?
Even Windows can get to just a few seconds to boot. But booting is much faster if you are not booting a full environment like a GUI. Look at a VM boot time, for example, that's the OS going from zero to fully booted. If you boot a memory image and keep it small, it can boot in a second or two easily.
-
PCs only seem to boot slowly because they tend to boot enormous GUIs, from slow disks and don't use a memory image.
-
I agree with using Arduino + RP for machine application. Arduino is a great single-threaded "doer" while RP is a multitasking "thinker". I'm planning to start a program to manage my Christmas lights for next year. Nice simple project for a beginner.
-
@scottalanmiller said in Has Anyone Built a Computer Controlled Model Railroad:
PCs only seem to boot slowly because they tend to boot enormous GUIs, from slow disks and don't use a memory image.
Still, you're comparing two platforms meant for two different tasks. One is always nearly instantly up and running while the other could possibly be made somewhat close through a LOT of effort.
-
@travisdh1 said in Has Anyone Built a Computer Controlled Model Railroad:
@scottalanmiller said in Has Anyone Built a Computer Controlled Model Railroad:
PCs only seem to boot slowly because they tend to boot enormous GUIs, from slow disks and don't use a memory image.
Still, you're comparing two platforms meant for two different tasks. One is always nearly instantly up and running while the other could possibly be made somewhat close through a LOT of effort.
Not a lot of effort. Just seems that way because people assume other setups.
Now for RP I've never looked so not sure much much it would take.
-
@scottalanmiller said in Has Anyone Built a Computer Controlled Model Railroad:
@travisdh1 said in Has Anyone Built a Computer Controlled Model Railroad:
@scottalanmiller said in Has Anyone Built a Computer Controlled Model Railroad:
PCs only seem to boot slowly because they tend to boot enormous GUIs, from slow disks and don't use a memory image.
Still, you're comparing two platforms meant for two different tasks. One is always nearly instantly up and running while the other could possibly be made somewhat close through a LOT of effort.
Not a lot of effort. Just seems that way because people assume other setups.
Now for RP I've never looked so not sure much much it would take.
sighWell, if someone around here figures it out let me know. My collection of RP2 and 3 will thank you.
-
In my old house I was working on putting in H0 scale all along the walls in the basement, going through the walls as tunnels, etc, even through the bathroom. I wanted to add in a bunch of stuff to control with a computer, but I never got around to it, simply not enough time. I did manage to have nearly 250 meters of HO scale track
I only like H0 scale, I hate anything bigger. I especially hate that S scale garbage Lionel puts (used to put, mostly) out, it's huge, overpriced, and essentially is best for some boring circular setup. 00 scale is OK too.
I really like H0 scale because you can order it from America for cheaper than similar sizes from Germany, and with far, far more selection. This used to be more true, less true now. I remember going to Toys R Us on 6th Ave in NYC and getting each new/different H0 scale starter kit, because they always had strange box cars and so forth you couldn't really find in hobby shops, and they were cheap as hell by comparison.
The most expensive car I ever bought was the Hershey's one, which did indeed smell like chocolate, it was awesome.
I mostly sold all of my stuff on eBay after 9/11, but I had 67 different HO scale cars, I have pictures some place I'll look for.
Some kits I got multiple of because they were on sale and I wanted the parts and it was cheaper than hobby shops, those were typically:
This one back when it had pin rails instead of this snap together garbage:
From time to time they'd come out though with different cars, but be in the same box, and in fact I think the latter one I saw more than any other, but with varying cars.
In some cases in order to get more realism, if you cannot find the cars independently, you gotta buy like 4 or 5 of the same kit. This is especially true with passenger trains:
I do remember when I first got into this after arriving in America, Toys R Us had individual cars for sale, but that seemed to disappear by 2000 for some reason.
-
@travisdh1 said in Has Anyone Built a Computer Controlled Model Railroad:
@scottalanmiller said in Has Anyone Built a Computer Controlled Model Railroad:
@travisdh1 said in Has Anyone Built a Computer Controlled Model Railroad:
@scottalanmiller said in Has Anyone Built a Computer Controlled Model Railroad:
PCs only seem to boot slowly because they tend to boot enormous GUIs, from slow disks and don't use a memory image.
Still, you're comparing two platforms meant for two different tasks. One is always nearly instantly up and running while the other could possibly be made somewhat close through a LOT of effort.
Not a lot of effort. Just seems that way because people assume other setups.
Now for RP I've never looked so not sure much much it would take.
sighWell, if someone around here figures it out let me know. My collection of RP2 and 3 will thank you.
Mostly I haven't looked because I don't even have one to play with.
-
I have kits from the 30's and 60's. I haven't touched them in years. I plan on giving them to the grandchildren..... or maybe a car -- hehe.
-
My dad still has American Flyers, somewhere.
-
My dads dad (and his dad lol) and all his bothers and sisters have all been working for the 'Deutsche Bahn'. ( my generation stopped that none of us is working there lol) so they are all model train obsessed.
I have no idea what brands are there in the US for that stuff but in Germany Fleischmann and Mรคrklin are the 2 main brands.
My dad has (spend wayyyy too much money on that stuff) a ton of different sizes, as kids we use to have mainly LGB (which is 1:22.5 , so rather big) then my dad added HO and O stuff.He has a ton os special, and rare engines (such as the https://en.wikipedia.org/wiki/Crocodile_(locomotive))
He also upgraded his stream engines to actually steam and make noises and such lol
He even had like train ports with a 'drehschleife' (like that thing the engine drives on and it has a peice of track just long enough for the engine and it can turn it around? no clue what that is called in english lol) but in LGB size those things weight a ton and were no cheap lol We usually build it up for christmas. laster when me moved from a condo into a house he build a huge mini landscape in the basement.I did not care too much about it though lol but my neighbor, who is my age was really into it and had a ton of native stuff from Mรคrklin that could control and program multiple trains (I think it was called Mรคrklin Digital). And I know there are several museums dedicated to that, having models trans and landscapes and cars and all that automated. http://www.modellbahn-im-museum.de/ but the last time i looked into that , that was years ago, I am sure nowadays woth the Pi and arduino it should be easier and cheaper to get stuff like that automated, though it is still pretty technical as for the cars, you either have to have electric cars and program the route in them, or have like a magnetic track under them they can follow. Many options.... if you are into that stuff, you can dump a LOT of money and time. lol